Skip to content

Commit 2de8c99

Browse files
committed
feat(components.scss): Add global styles for components
1 parent 0b73772 commit 2de8c99

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

assets/scss/components.scss

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,43 @@
1-
// ... (other styles in the file)
1+
main {
2+
min-height: 70vh;
3+
@apply mb-8;
4+
}
5+
6+
// section style
7+
.section {
8+
@apply py-24 xl:py-28;
9+
&-sm {
10+
@apply py-16 xl:py-20;
11+
}
12+
}
13+
14+
// container
15+
.container {
16+
@apply mx-auto px-4 2xl:max-w-[1320px];
17+
}
18+
19+
// form style
20+
.form-input {
21+
@apply bg-theme-light text-dark placeholder:text-light focus:border-primary dark:border-darkmode-border dark:bg-darkmode-theme-light dark:text-darkmode-light w-full rounded border-transparent px-6 py-4 focus:ring-transparent;
22+
}
23+
24+
.form-label {
25+
@apply font-secondary text-dark dark:text-darkmode-light mb-4 block text-xl font-normal;
26+
}
27+
28+
// social icons
29+
.social-icons {
30+
@apply space-x-4;
31+
li {
32+
@apply inline-block;
33+
a {
34+
@apply bg-primary dark:bg-darkmode-primary dark:text-dark flex h-9 w-9 items-center justify-center rounded text-center leading-9 text-white;
35+
svg {
36+
@apply h-5 w-5;
37+
}
38+
}
39+
}
40+
}
241

342
// content style
443
.content {
@@ -109,4 +148,4 @@
109148
.btn {
110149
@apply dark:hover:text-dark no-underline hover:text-white #{!important};
111150
}
112-
}
151+
}

0 commit comments

Comments
 (0)