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

112 lines
1.6 KiB
SCSS

@import 'variables';
html {
font-size: 62.5%;
}
body {
background-color: var(--background-1);
color: var(--foreground-1);
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;
}
h1,
h2 {
background-color: var(--background-2);
padding: 16px;
width: 100%;
}
h1,
h2,
p {
margin: 0;
}
a {
border: 1px dashed transparent;
color: var(--page-accent-1, --primary-accent-7);
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);
}
&:active,
&:focus {
border: 1px dashed var(--foreground-1);
outline: none;
}
}
img {
display: inline-block;
}
ul {
align-items: center;
background-color: var(--background-2);
list-style: none;
margin: 0;
overflow: auto;
padding: 16px;
width: 100%;
}
li {
margin-bottom: 8px;
&:last-of-type {
margin-bottom: 0;
}
}
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%;
}
.remove-padding,
.remove-a-padding a {
padding: 0;
}