-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
48 lines (40 loc) · 960 Bytes
/
App.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* FONTS */
/* body {
font-family: 'Oswald', sans-serif;
font-family: 'Fira Code', monospace;
font-family: 'Roboto', sans-serif;
} */
body {
--purple: #ff8d00;
--dark-gray: #22262b;
--light-gray: #5b5b5b;
}
html,
body {
overflow-x: hidden;
}
h2 {
color: var(--purple);
font-family: "Oswald", sans-serif;
font-size: 60px;
}
h2 span{
display: inline-block; /* Makes the container as wide as the content */
position: relative; /* Establishes a positioning context for pseudo-elements */
}
/* h2 span:last-child{
display: flex;
width: 80vw;
justify-content: center;
} */
h2 span::after {
content: '';
display: block;
width: 80%; /* Adjusts the width of the underline */
height: 1px; /* Thickness of the underline */
background: rgb(193, 119, 0);
position: absolute;
bottom: 3px; /* Adjusts the space between the text and the underline */
left: 50%;
transform: translateX(-50%); /* Centers the underline */
}