1
0
mirror of https://github.com/ArcticFoxes-net/arcticfoxes.net synced 2024-11-18 09:21:32 -05:00
arcticfoxes.net/assets/sass/components/_section.scss

59 lines
982 B
SCSS
Raw Normal View History

2022-09-02 06:33:32 -04:00
///
/// Eventually by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Section/Article */
section, article {
&.special {
text-align: center;
}
}
header {
p {
color: _palette(fg-light);
position: relative;
margin: 0 0 (_size(element-margin) * 0.75) 0;
}
h2 + p {
font-size: 1.25em;
margin-top: (_size(element-margin) * -0.5);
line-height: 1.5em;
}
h3 + p {
font-size: 1.1em;
margin-top: (_size(element-margin) * -0.4);
line-height: 1.5em;
}
h4 + p,
h5 + p,
h6 + p {
font-size: 0.9em;
margin-top: (_size(element-margin) * -0.3);
line-height: 1.5em;
}
@include breakpoint('<=medium') {
br {
display: none;
}
}
@include breakpoint('<=small') {
br {
display: inline;
}
}
@include breakpoint('<=xsmall') {
br {
display: none;
}
}
}