-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
116 lines (97 loc) · 1.7 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
/* styles.css */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #264653;
padding: 20px 0;
position: fixed;
width: 100%;
z-index: 1000;
}
.logo h1 {
color: #fff;
margin: 0;
}
.nav-links {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
.nav-links li {
display: inline;
margin-right: 20px;
}
.nav-links li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
.burger {
display: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
}
.live-stock-banner {
background-color: #2a9d8f;
color: white;
padding: 10px 0;
overflow: hidden;
}
#stock-ticker {
font-size: 1.2rem;
white-space: nowrap;
animation: marquee 20s linear infinite;
}
.finance {
max-width: 800px;
margin: auto;
padding: 50px 20px;
text-align: center;
}
.social-media {
background-color: #2a9d8f;
padding: 50px 0;
text-align: center;
}
.social-icons a {
color: #fff;
font-size: 1.5rem;
margin: 0 10px;
}
footer {
background-color: #264653;
color: white;
text-align: center;
padding: 20px 0;
}
@media screen and (max-width: 768px) {
.nav-links {
display: none;
}
.burger {
display: block;
float: right;
margin-right: 20px;
margin-top: -25px;
}
.nav-active {
display: block;
}
.nav-links {
text-align: center;
}
.nav-links li {
display: block;
margin-bottom: 20px;
}
}
/* Marquee Animation */
@keyframes marquee {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}