feat: scss

This commit is contained in:
MoreStrive
2024-06-28 15:44:12 +07:00
parent 36e39fa0d5
commit 1f60621995
+107 -9
View File
@@ -1,13 +1,111 @@
// .style_layout { @import url("https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400..700;1,400..700&display=swap");
// > .section-container { @import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
// > .layout_define {
// > .section_layout {
// @apply gap-x-10 #{!important};
// }
// }
// }
// }
// Variables
$font-gelasio: "Gelasio", serif;
$font-raleway: "Raleway", sans-serif;
$color-primary: #ED1C24;
$color-brown: #9E1E0F;
$color-text: #151411;
$color-paragraph: #AFADB5;
$color-placeholder: #F9F9F9;
$color-line: #EDEDED;
// Mixins
// extends
%headings {
color: $color-text;
font-family: $font-gelasio;
line-height: 130%;
font-weight: 700;
}
%label {
color: $color-text;
font-family: $font-raleway;
line-height: 130%;
font-weight: 700;
}
%paragraph {
color: $color-paragraph;
font-family: $font-raleway;
line-height: 180%;
font-weight: 500;
}
h1 a {
@extend %headings;
font-size: 64px;
}
h2 a{
@extend %headings;
font-size: 44px;
}
h3 a{
@extend %headings;
font-size: 24px;
}
h4 a{
@extend %headings;
font-size: 20px;
}
h5 a{
@extend %headings;
font-size: 18px;
}
h6 a{
@extend %headings;
font-size: 16px;
}
h6.h6-plus a {
@extend %headings;
font-size: 14px;
font-weight: 500;
}
label {
&.label-l1 {
@extend %label;
font-size: 18px;
}
&.label-l2 {
@extend %label;
font-size: 16px;
}
&.label-l3 {
@extend %label;
font-size: 14px;
}
}
p {
&.paragraph-p1 {
font-size: 18px;
}
&.paragraph-p2 {
font-size: 16px;
}
&.paragraph-p2 {
font-size: 14px;
}
}
figure { figure {
margin: auto !important; margin: auto !important;