Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
2.0 KiB

4 years ago
.button-container {
display: table;
margin-left: auto;
margin-right: auto;
4 years ago
}
button,
.button,
a.button {
position: relative;
display: flex;
align-items: center;
justify-content: center;
4 years ago
padding: 8px 18px;
margin-bottom: 5px;
background: $light-background-secondary;
text-decoration: none;
text-align: center;
font-weight: 500;
border-radius: 8px;
border: 1px solid transparent;
appearance: none;
cursor: pointer;
outline: none;
4 years ago
.dark-theme & {
background: $dark-background-secondary;
color: inherit;
4 years ago
}
/* variants */
&.outline {
background: transparent;
border-color: $light-background-secondary;
box-shadow: none;
padding: 8px 18px;
.dark-theme & {
border-color: $dark-background-secondary;
color: inherit;
}
:hover {
transform: none;
box-shadow: none;
}
4 years ago
}
&.primary {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11),
0 1px 3px rgba(0, 0, 0, 0.08);
4 years ago
&:hover {
box-shadow: 0 2px 6px rgba(50, 50, 93, 0.21),
0 1px 3px rgba(0, 0, 0, 0.08);
}
4 years ago
}
&.link {
background: none;
font-size: 1rem;
}
4 years ago
&.small {
font-size: 0.8rem;
}
4 years ago
&.wide {
min-width: 200px;
padding: 14px 24px;
}
4 years ago
}
.code-toolbar {
margin-bottom: 20px;
4 years ago
.toolbar-item a {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 8px;
margin-bottom: 5px;
background: $light-background-secondary;
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;
4 years ago
.dark-theme & {
background: $dark-background-secondary;
color: inherit;
}
4 years ago
}
}