124 lines
1.9 KiB
CSS
124 lines
1.9 KiB
CSS
.button-container {
|
|
display: table;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
button,
|
|
.button,
|
|
a.button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 18px;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
border-radius: 8;
|
|
font: inherit;
|
|
font-weight: bold;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
button.outline,
|
|
.button.outline,
|
|
a.button.outline {
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding: 8px 18px;
|
|
}
|
|
|
|
button.outline :hover,
|
|
.button.outline :hover,
|
|
a.button.outline :hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button.link,
|
|
.button.link,
|
|
a.button.link {
|
|
background: none;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
button.small,
|
|
.button.small,
|
|
a.button.small {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
button.wide,
|
|
.button.wide,
|
|
a.button.wide {
|
|
min-width: 200px;
|
|
padding: 14px 24px;
|
|
}
|
|
|
|
a.button.inline {
|
|
background: none;
|
|
color: var(--accent);
|
|
padding: initial;
|
|
margin: initial;
|
|
border: initial;
|
|
font-weight: initial;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.button.inline:active,
|
|
a.button.inline:hover {
|
|
background: none;
|
|
}
|
|
|
|
a.button.inline::before {
|
|
content: "["
|
|
}
|
|
|
|
a.button.inline::after {
|
|
content: "]"
|
|
}
|
|
|
|
a.button.inline.prev::before {
|
|
content: "← ["
|
|
}
|
|
|
|
a.button.inline.next::after {
|
|
content: "] →"
|
|
}
|
|
|
|
a.read-more,
|
|
a.read-more:hover,
|
|
a.read-more:active {
|
|
display: inline-flex;
|
|
border: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
max-width: 100%;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.code-toolbar {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.code-toolbar .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;
|
|
}
|