2022-06-21 13:50:51 +00:00
|
|
|
.button-container {
|
|
|
|
display: table;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
.button,
|
|
|
|
a.button {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 8px 18px;
|
2023-06-09 22:27:17 +00:00
|
|
|
margin: 5px 0;
|
2022-06-21 13:50:51 +00:00
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
2022-11-13 21:45:10 +00:00
|
|
|
border-radius: 8;
|
2024-07-30 15:39:09 +00:00
|
|
|
border: 1px solid var(--accent);
|
|
|
|
background: var(--accent);
|
2024-07-31 11:08:24 +00:00
|
|
|
color: var(--accent-contrast-color);
|
2022-06-21 13:50:51 +00:00
|
|
|
font: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
appearance: none;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:hover {
|
2024-07-31 13:53:44 +00:00
|
|
|
background: color-mix(in srgb, var(--accent), transparent 10%);
|
2022-06-21 13:50:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* variants */
|
|
|
|
|
|
|
|
&.outline {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 8px 18px;
|
|
|
|
|
|
|
|
:hover {
|
|
|
|
transform: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.link {
|
|
|
|
background: none;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* sizes */
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.wide {
|
|
|
|
min-width: 200px;
|
|
|
|
padding: 14px 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.read-more,
|
|
|
|
a.read-more:hover,
|
|
|
|
a.read-more:active {
|
|
|
|
display: inline-flex;
|
|
|
|
border: none;
|
2024-07-30 15:39:09 +00:00
|
|
|
color: var(--accent);
|
2022-06-21 13:50:51 +00:00
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 20px 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|