Repository navigation
Expand file tree
/
Copy pathstyles3.css
More file actions
181 lines (160 loc) · 3.29 KB
/
Copy pathstyles3.css
File metadata and controls
181 lines (160 loc) · 3.29 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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
body {
background: url("/images/about.png") no-repeat center center fixed;
background-size: cover;
padding-bottom: 100px;
}
.navigation {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
gap: 450px;
font-family: Helvetica;
font-weight: bold;
}
.navigation li a {
display: block;
color: white;
text-align: center;
text-decoration: none;
padding: 20px;
transition: all 0.5s ease-in-out;
animation-duration: 0.9s;
}
.navigation li a:hover {
color: #ff0000;
animation-name: pulse79;
animation-iteration-count: infinite;
}
h2 {
color: white;
font-family: Helvetica;
font-size: 75px;
text-align: left;
margin-left:100px;
}
h3 {
color: white;
font-family: Helvetica;
font-size: 75px;
text-align: left;
margin-left:100px;
}
body.about-page {
background: url("images/about.png") no-repeat center center fixed;
background-size: cover;
}
.navigation {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
gap: 450px;
font-family: Helvetica;
font-weight: bold;
}
.navigation li a {
display: block;
color: white;
text-align: center;
text-decoration: none;
padding: 20px;
transition: all 0.5s ease-in-out;
animation-duration: 0.9s;
}
.navigation li a:hover {
color: #ff0000;
animation-name: pulse79;
animation-iteration-count: infinite;
}
h2 {
color: white;
font-family: Helvetica;
font-size: 75px;
text-align: left;
margin-left:100px;
}
h3 {
margin-left: auto;
margin-right: 100px; /* space from right edge */
text-align: right; /* makes the text align nicely */
color: white;
font-family: Helvetica;
font-size: 75px;
}
.summary {
font-family: Helvetica;
font-weight: bold;
color: white;
margin-left: 100px;
max-width: 455px;
font-size: 29px;
}
.thanks {
font-family: Helvetica;
font-weight: bold;
margin-left: 100px;
max-width: 700px;
text-align: right;
margin-left: auto;
margin-right: 100px;
margin-bottom: 200px;
font-size: 20px;
color: white; /* 0.8 = 80% opacity */
}
button {
background-color: rgb(255, 255, 255);
border: none;
display: block;
margin: 0px auto 0; /* top, left/right, bottom */
font-size: 15px;
font-family: Helvetica;
font-weight: bold;
border-radius: 50px;
width: 350px;
height: 60px;
cursor: pointer;
margin-top: 20px;
transition: all 0.3s ease-in-out;
color:rgb(0, 0, 0);
}
button:hover {
animation: pulse79 0.8s ease-in-out infinite;
}
a {
text-decoration: none;
transition: all 0.3s ease-in-out;
}
a:hover {
animation: pulse79 0.8s ease-in-out infinite;
}
@keyframes pulse79 {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
@media screen and (max-width:600px){
.navigation{
flex-direction: row;
align-items:center;
gap:10px;
padding:10px 0;
}
.navigation li a{
padding: 12px 20px;
font-size:18px;
}
h3{
width: 90%; /* take up most of screen */
font-size: 40px; /* smaller font on mobile */
text-align: flex-end; /* optional: center instead of right */
margin-left: auto;
margin-right: auto;
word-wrap: break-word; /* wrap long text */
}
.thanks{
text-align:flex-start;
}
}