1
Fork 0
bauke-xyz/source/scss/common.scss

112 lines
1.6 KiB
SCSS
Raw Normal View History

@import 'variables';
2020-07-31 10:45:37 +00:00
html {
font-size: 62.5%;
}
body {
background-color: var(--background-1);
color: var(--foreground-1);
2020-07-31 10:45:37 +00:00
font-size: 1.75rem;
padding: 16px;
}
main {
display: flex;
gap: 16px;
flex-direction: column;
margin: 0 auto;
margin-bottom: 16px;
max-width: 500px;
padding: 16px;
}
2020-07-31 17:46:30 +00:00
h1,
h2 {
background-color: var(--background-2);
2020-07-31 10:45:37 +00:00
padding: 16px;
width: 100%;
}
2020-07-31 17:46:30 +00:00
h1,
h2,
2020-07-31 10:45:37 +00:00
p {
margin: 0;
}
a {
border: 1px dashed transparent;
color: var(--page-accent-1, --primary-accent-7);
2020-07-31 10:45:37 +00:00
display: inline-block;
font-weight: bold;
padding: 4px 8px;
text-decoration: none;
&:hover {
background-color: var(--page-accent-2, var(--primary-accent-3));
color: var(--background-1);
}
2020-07-31 10:45:37 +00:00
&:active,
&:focus {
border: 1px dashed var(--foreground-1);
outline: none;
}
2020-07-31 10:45:37 +00:00
}
2020-07-31 17:46:30 +00:00
img {
display: inline-block;
}
2020-07-31 10:45:37 +00:00
ul {
align-items: center;
background-color: var(--background-2);
2020-07-31 10:45:37 +00:00
list-style: none;
margin: 0;
overflow: auto;
padding: 16px;
width: 100%;
}
li {
margin-bottom: 8px;
&:last-of-type {
margin-bottom: 0;
}
2020-07-31 10:45:37 +00:00
}
footer {
font-weight: bold;
margin: 0 auto;
max-width: 500px;
padding: 16px;
a {
padding: 0;
}
}
.bordered {
border: var(--border-size, 1px) solid var(--border-accent, var(--primary-accent-5));
}
.button {
background-color: var(--page-accent-1);
color: var(--background-1);
&:hover {
background-color: var(--page-accent-2);
}
}
.divider {
border-top: var(--border-size, 1px) solid var(--border-accent, var(--primary-accent-5));
width: 100%;
2020-07-31 10:45:37 +00:00
}
.remove-padding,
.remove-a-padding a {
2020-07-31 10:45:37 +00:00
padding: 0;
}