This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
130 lines (115 loc) · 2.25 KB
/
styles.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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap");
body {
font-family: "Fira Sans", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: antiquewhite;
font-family: "Outfit", sans-serif;
}
/** Navigation **/
nav {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
text-align: center;
width: 100%;
}
.rainbow {
margin: 0 auto;
width: 20%;
height: 20%;
}
.rainbow:hover {
width: 25%;
height: 25%;
transition: all 0.5s;
}
h1 {
font-size: 2rem;
color: white;
letter-spacing: 3px;
margin: 0;
text-shadow: 2px 2px 2px black;
}
.nav-links {
display: inline-flex;
list-style: none;
margin-left: 40%;
cursor: pointer;
font-size: 1.5rem;
}
.nav-links li {
padding: 10px;
}
.nav-links li a {
text-decoration: none;
color: white;
text-shadow: 2px 2px 2px black;
}
/** Main Container **/
.main-container {
display: flex;
flex-direction: column;
margin: 0 auto;
margin-top: 5%;
width: 50%;
gap: 20px;
justify-content: center;
text-transform: uppercase;
color: white;
letter-spacing: 2px;
text-align: center;
text-shadow: 1px 1px 1px black;
}
.btn {
margin: 0 auto;
font-size: 1.2rem;
letter-spacing: 2px;
width: 50%;
justify-content: center;
background-color: transparent;
padding: 20px;
border-radius: 25px;
border: 1px solid;
text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
color: white;
}
.btn:hover {
box-shadow: -2px 5px 14px -3px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: -2px 5px 14px -3px rgba(0, 0, 0, 0.75);
-moz-box-shadow: -2px 5px 14px -3px rgba(0, 0, 0, 0.75);
font-size: 1.3rem;
transition: all 0.5s;
}
.btn:hover {
cursor: pointer;
}
/** Media Queries **/
@media (max-width: 480px) {
.rainbow {
margin: 0 auto;
width: 30%;
height: 30%;
}
.rainbow:hover {
width: 30%;
height: 30%;
}
h1 {
font-size: 1.5rem;
letter-spacing: 2px;
}
.nav-links {
margin: 0 auto;
margin-top: 20px;
font-size: 1.2rem;
}
.main-container {
width: 90%;
}
.main-container h2 {
font-size: 1.3rem;
}
}