-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (99 loc) · 1.62 KB
/
Copy pathstyle.css
File metadata and controls
99 lines (99 loc) · 1.62 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@400;700&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
color: white;
background: rgb(24, 24, 24);
font-family: "Oxygen", sans-serif;
font-size: 1rem;
display: flex;
flex-direction: column;
}
nav {
height: 5rem;
width: 100%;
color: rgb(24, 24, 24);
background: rgb(250, 250, 250);
box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.301);
padding: 0 5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
nav h1 {
width: 100%;
font-size: 1.5rem;
text-transform: uppercase;
}
nav ul {
width: 100%;
display: flex;
list-style-type: none;
justify-content: center;
gap: 2rem;
}
nav ul li a {
color: black;
font-size: 1.3rem;
text-decoration: none;
}
nav ul li a:hover {
text-decoration: underline;
}
main {
display: flex;
align-items: center;
justify-content: center;
flex-grow: 1;
}
main .box {
background: black;
padding: 2rem;
border-radius: 0.5rem;
display: flex;
align-items: center;
flex-direction: column;
gap: 1rem;
}
main button {
padding: 1rem 3rem;
border: none;
outline: none;
cursor: pointer;
border-radius: 1.5rem;
font-size: 1rem;
font-weight: 700;
}
@media (max-width: 760px) {
body {
font-size: 0.8rem;
}
nav {
padding: 0 1rem;
}
nav ul {
justify-content: right;
gap: 1.5rem;
}
nav ul li a {
font-size: 1rem;
}
}
@media (max-width: 416px) {
body {
font-size: 0.7rem;
}
nav h1 {
font-size: 1.2rem;
}
nav ul {
gap: 1rem;
}
nav ul li a {
font-size: 0.9rem;
}
}