mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
83 lines
1.3 KiB
SCSS
83 lines
1.3 KiB
SCSS
@use 'colors';
|
|
@use 'layout';
|
|
@use 'typography';
|
|
|
|
body {
|
|
margin: 0;
|
|
color: colors.$main-text;
|
|
}
|
|
|
|
%title {
|
|
@extend %content;
|
|
margin-top: layout.$huge-gap;
|
|
margin-bottom: layout.$large-gap;
|
|
font-size: typography.$title-size;
|
|
line-height: typography.$heading-line-height;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
@extend %title;
|
|
}
|
|
|
|
%heading {
|
|
@extend %content;
|
|
margin-top: layout.$large-gap;
|
|
margin-bottom: layout.$large-gap;
|
|
font-size: typography.$heading-size;
|
|
line-height: typography.$heading-line-height;
|
|
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
width: 8rem;
|
|
height: 0.3rem;
|
|
margin-top: 0.2rem;
|
|
border-radius: 0.5rem;
|
|
background-color: colors.$blue-800;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
@extend %heading;
|
|
}
|
|
|
|
%subheading {
|
|
@extend %content-gutter;
|
|
font-size: typography.$subheading-size;
|
|
line-height: typography.$heading-line-height;
|
|
}
|
|
|
|
h3 {
|
|
@extend %subheading;
|
|
}
|
|
|
|
p {
|
|
@extend %content-gutter;
|
|
}
|
|
|
|
ul, ol, dl {
|
|
@extend %content-gutter;
|
|
}
|
|
|
|
li {
|
|
margin: layout.$small-gap 0;
|
|
}
|
|
|
|
dt {
|
|
margin: layout.$normal-gap 0;
|
|
font-weight: typography.$emphasized-weight;
|
|
color: colors.$blue-800;
|
|
}
|
|
|
|
dd {
|
|
margin: layout.$normal-gap 0 layout.$normal-gap layout.$large-gap;
|
|
}
|
|
|
|
a {
|
|
color: colors.$main-text;
|
|
|
|
&:hover {
|
|
color: colors.$blue-800;
|
|
}
|
|
}
|