-
Notifications
You must be signed in to change notification settings - Fork 517
Expand file tree
/
Copy pathCSS.css
More file actions
180 lines (130 loc) · 3.3 KB
/
CSS.css
File metadata and controls
180 lines (130 loc) · 3.3 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
body{
background : url('images/retrowave-3-dimensional-artwork-neon-oceanchrome-eb-1920x1080.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
ul{
list-style-type: none;
overflow:hidden;
}
li{
float:right;
color:white;
text-align:center;
width:12%;
height:25px;
padding: 10px;
transition: background-color 0.5s ease;
background-color: rgb(75, 75, 75);
font-family: 'Courier New', Courier, monospace;
}
a {
text-decoration:none;
}
a:link {color:White; background-color:transparent; text-decoration:none}
a:visited {color:White; background-color:transparent; text-decoration:none}
a:hover {color:White; background-color:transparent; text-decoration:none}
a:active {color:White; background-color:transparent; text-decoration:none}
li:hover{
background-color:#111111
}
h1{
margin-bottom:0px;
font-size:100px;
margin-left:75px;
font-family:Arial, Helvetica, sans-serif;
}
h2{
padding-left: 2%;
font-size:50px;
}
article{
color:white;
margin-top:50px;
width:40%;
height:300px;
background-color: rgba(17, 16, 16, 0.9);
border:2px solid black;
font-size: 25px;
}
nav{
height:50px;
width:100%;
margin-bottom:20px;
}
header{
padding-top:10px;
background-color: rgb(0,72,124);
width:100%;
height:75px;
border-bottom:1px solid black;
}
p{
padding-left: 3%;
padding-right: 3%;
text-indent: 50px; font-size:21px
}
div#wrapper{
min-width:1000px;
margin-left:20%;
margin-right:20%;
height:910px;
margin-bottom:20px;
margin-top: 15px;
}
footer{
padding:5px;
text-align:center;
}
/*Wanted a fade in effect, already existed so I copy pasted the css*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade-in {
opacity:0; /* make things invisible upon start */
-webkit-animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
-moz-animation:fadeIn ease-in 1;
animation:fadeIn ease-in 1;
-webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
-moz-animation-fill-mode:forwards;
animation-fill-mode:forwards;
-webkit-animation-duration:1s;
-moz-animation-duration:1s;
animation-duration:1s;
}
/*Different varients on the fade in, controls the fade in speed*/
.fade-in.one {
-webkit-animation-delay: 0.7s;
-moz-animation-delay: 0.7s;
animation-delay: 0.7s;
}
.fade-in.two {
-webkit-animation-delay: 1.2s;
-moz-animation-delay:1.2s;
animation-delay: 1.2s;
}
.fade-in.three {
-webkit-animation-delay: 1.6s;
-moz-animation-delay: 1.6s;
animation-delay: 1.6s;
}
.fade-in.four {
-webkit-animation-delay: 1.8s;
-moz-animation-delay: 1.8s;
animation-delay: 1.8s;
}
p#article_p{
font-size: 26px;
margin:7px;
padding:2px;
border-bottom: 1px solid black;
}
h3{
color: rgb(255, 255, 255);
padding:0;
margin:0;
margin-left:10px;
font-family: Georgia, 'Times New Roman', Times, serif
}