-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.css
109 lines (89 loc) · 1.45 KB
/
global.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
html {
position: relative;
min-height: 100%;
}
body {
background: url("bg-stars.gif");
color: #FFA500;
font-family: 'Times New Roman', serif;
margin: 3em 2em;
}
body::before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.4);
z-index: -1;
}
h1,
h2 {
color: #E65C00;
}
a {
color: #39FF14;
}
header {
display: flex;
flex-direction: column;
}
header #logo {
width: 12.5em;
border-radius: 50%;
align-self: center;
}
header h1 {
text-align: center;
color: #FFFF00;
margin: 0;
}
header marquee {
width: 16em;
align-self: center;
color: #707070;
margin-bottom: 1em;
}
header nav ul {
display: flex;
gap: 2em;
justify-content: space-evenly;
align-items: center;
border-top: 0.1875em solid orangered;
border-bottom: 0.1875em solid orangered;
list-style-type: none;
margin: 0;
padding: 1em 0;
text-align: center;
}
header nav ul li>a {
text-decoration: none;
color: inherit;
font-weight: bold;
}
header nav ul li>a.active-nav {
color: aquamarine;
}
header nav ul li:hover {
color: aquamarine;
cursor: pointer;
text-decoration: underline;
}
main section {
margin-top: 3em;
}
main section:nth-child(even) h2 {
text-align: center;
}
footer {
margin-top: 3em;
border-top: 0.1875em solid orangered;
color: #FF69B4;
text-align: center;
}
@media screen and (max-width: 500px) {
main section h2 {
text-align: center;
}
}