Skip to content

Commit 77280e7

Browse files
committed
Copied the global styling to globals.scss
1 parent 4dcdafd commit 77280e7

1 file changed

Lines changed: 82 additions & 0 deletions

File tree

styles/globals.scss

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
@use './variables' as *;
2+
@use './mixins' as *;
3+
14
:root {
25
--bg-contact-card: #ffffff;
36
--bg-color: #eaeaea;
@@ -17,7 +20,86 @@
1720
--shadow-bottom: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
1821
}
1922

23+
* {
24+
box-sizing: border-box;
25+
}
26+
27+
html,
28+
body {
29+
font-family: $font-family-primary;
30+
color: var(--color-primary-content);
31+
padding: 0;
32+
margin: 0;
33+
}
34+
35+
h1,
36+
h2,
37+
h3,
38+
h4,
39+
h5,
40+
h6 {
41+
font-family: $font-family-primary;
42+
}
43+
44+
h1 {
45+
font-size: 3rem;
46+
line-height: 3.5rem;
47+
48+
@include desktop {
49+
font-size: 4.5rem;
50+
line-height: 5rem;
51+
}
52+
}
53+
2054
h2 {
55+
font-size: 3rem;
56+
line-height: 3.5rem;
2157
overflow-wrap: break-word;
2258
hyphens: auto;
59+
60+
@include desktop {
61+
font-size: 3.5rem;
62+
line-height: 5rem;
63+
}
64+
}
65+
66+
h3 {
67+
font-size: 1.5rem;
68+
line-height: 1.938rem;
69+
}
70+
71+
p,
72+
li {
73+
font-size: 1.25rem;
74+
line-height: 1.938rem;
75+
76+
@include desktop {
77+
font-size: 1.5rem;
78+
}
79+
}
80+
81+
ul {
82+
list-style: none;
83+
}
84+
85+
a {
86+
color: inherit;
87+
text-decoration: none;
88+
@include transition(all 0.3s ease);
89+
90+
&:hover {
91+
text-decoration: underline;
92+
text-underline-offset: 2px;
93+
}
94+
}
95+
96+
.not-found,
97+
.contact-us,
98+
.post {
99+
display: flex;
100+
flex-direction: column;
101+
justify-content: center;
102+
justify-items: center;
103+
margin: 10% auto;
104+
align-items: center;
23105
}

0 commit comments

Comments
 (0)