buttons.css (1459B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
.button-container {
display: table;
margin-left: auto;
margin-right: auto;
}
button,
.button,
a.button {
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
text-align: center;
color: var(--weak-accent);
font: inherit;
appearance: none;
cursor: pointer;
outline: none;
& :hover {
color: var(--accent);
}
/* variants */
&.outline {
background: transparent;
box-shadow: none;
padding: 8px 18px;
:hover {
transform: none;
box-shadow: none;
}
}
& .link {
background: none;
}
/* sizes */
& .small {
font-size: .8rem;
}
& .wide {
min-width: 200px;
padding: 14px 24px;
}
& :focus {
border-color: var(--color);
outline: 2px solid var(--color);
}
}
a.read-more,
a.read-more:hover,
a.read-more:active {
display: block;
border: none;
color: var(--accent);
background: none;
box-shadow: none;
padding: 0;
max-width: 100%;
text-align: left;
}
.code-toolbar {
margin-bottom: 20px;
& .toolbar-item a {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 8px;
margin-bottom: 5px;
text-decoration: none;
text-align: center;
font-size: 13px;
font-weight: 500;
border-radius: 8px;
border: 1px solid transparent;
appearance: none;
cursor: pointer;
outline: none;
}
}
|