Skip to content

Commit 86fe86f

Browse files
committed
Update style.css
1 parent a9befe5 commit 86fe86f

1 file changed

Lines changed: 24 additions & 21 deletions

File tree

style.css

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ h1 {
66
color: #000000;
77
text-align: center;
88
font-family: courier;
9-
margin-top: 6vh;
10-
margin-bottom: 3vh;
9+
margin-top: 4.5rem;
10+
margin-bottom: 1.5rem;
1111
margin-right: 80px;
1212
margin-left: 80px;
1313
font-weight: bold;
@@ -17,11 +17,11 @@ h1 {
1717
animation-iteration-count: infinite;
1818
}
1919
@keyframes heading-animation {
20-
0% {background-color:#C5FFFD; margin-left: 10.4%; margin-right: 10.4%; margin-top: 6vh;}
21-
25% {background-color:#E0F2E9; margin-left: 5.2%; margin-right: 10.4%; margin-top: 6vh;}
22-
50% {background-color:#E0F2E9; margin-left: 10.4%; margin-right: 5.2%; margin-top: 6vh;}
23-
75% {background-color:#E0F2E9; margin-left: 4.2%; margin-right: 4.2%; margin-top: 6vh;}
24-
100% {background-color:#C5FFFD; margin-left: 0%; margin-right: 0%; margin-top: 6vh;}
20+
0% {background-color:#C5FFFD; margin-left: 10.4%; margin-right: 10.4%;}
21+
25% {background-color:#E0F2E9; margin-left: 5.2%; margin-right: 10.4%;}
22+
50% {background-color:#E0F2E9; margin-left: 10.4%; margin-right: 5.2%;}
23+
75% {background-color:#E0F2E9; margin-left: 4.2%; margin-right: 4.2%;}
24+
100% {background-color:#C5FFFD; margin-left: 0%; margin-right: 0%;}
2525
}
2626
h2 {
2727
color: #000000;
@@ -71,12 +71,13 @@ ul.nav {
7171
list-style-type: none;
7272
margin: 0px;
7373
left: 0px;
74+
top: 0;
75+
margin-bottom: 0px;
7476
padding: 0px;
7577
overflow: hidden;
7678
background-color: #a3d5d3;
7779
position: fixed;
7880
width: 100%;
79-
top: 0;
8081
}
8182
li.nav {
8283
float: left;
@@ -98,13 +99,13 @@ div.index {
9899
place-items: center;
99100
}
100101
img.index-imgs {
101-
margin-top: auto;
102102
width: 96vw;
103103
height: auto;
104104
border-radius: 8px;
105105
}
106106
div.prt-gd-imgs, div.prt-gp-imgs, div.prt-nature-imgs {
107-
text-align: center;
107+
display: block;
108+
text-align: center;
108109
}
109110
img.gd-imgs, img.gp-imgs, img.nature-imgs {
110111
width: 35vw;
@@ -119,12 +120,13 @@ img.cis-collage, img.toc-logo {
119120
margin-right: auto;
120121
}
121122
div.yt-video {
122-
text-align: center;
123+
display: grid;
124+
place-items: center;
123125
margin-top: 20px;
124126
}
125127
@media only screen and (max-width: 1080px) {
126128
h1, h2, [class*="nav"], li a {
127-
font-size: 90%;
129+
font-size: 80%;
128130
}
129131
li a {
130132
padding: 16px 18px;
@@ -155,13 +157,14 @@ div.yt-video {
155157
}
156158
}
157159
button {
158-
background-color: #E0F2E9;
159-
border: none;
160-
font-family: courier;
161-
color: #000000;
162-
padding: 12px 26px;
163-
text-align: center;
164-
text-decoration: none;
165-
display: inline-block;
166-
font-size: 16px;
160+
background-color: #E0F2E9;
161+
border: none;
162+
border-radius: 8px;
163+
font-family: courier;
164+
color: #000000;
165+
padding: 12px 26px;
166+
text-align: center;
167+
text-decoration: none;
168+
display: inline-block;
169+
font-size: 16px;
167170
}

0 commit comments

Comments
 (0)