-
Notifications
You must be signed in to change notification settings - Fork 3
/
project2.css
117 lines (101 loc) · 2.05 KB
/
project2.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
117
.header {
color: white;
background: teal;
padding: 20px;
text-align: center;
font-family:'PT Sans Narrow', sans-serif;
}
.navbar {
overlow: hidden;
background: grey;
padding:10px 0px;
font-family:'PT Sans Narrow', sans-serif;
}
.navbar a{
color: white;
text-decoration: none;
padding: 10px 15px
}
.navbar a:hover{
background: white;
color:teal;
}
.main_content {
word-wrap: break-word;
color: black;
padding: 5px;
padding-left: 50px;
max-width: calc(100%-100px);
font-family:'PT Sans Narrow', sans-serif;
-webkit-animation: fadein 5s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 5s; /* Firefox < 16 */
-ms-animation: fadein 5s; /* Internet Explorer */
-o-animation: fadein 5s; /* Opera < 12.1 */
animation: fadein 5s;
}
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
}
}
.img{
padding: 11px;
}
{
box-sizing: border-box;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color:grey;
min-width: 90px;
box-shadow: 0px 8px 16px 0px rgba(0,2,1,0.55);
z-index: 1;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: white; color:teal}
.dropdown:hover .dropdown-content {display: block; }
.dropdown:hover .dropbtn {background-color: white; color:teal;}
body {
background-color: white;
}
.footer {
font-family:'PT Sans Narrow', sans-serif;
background-color: teal;
height: 80px;
text-align: center;
padding: 10px;
bottom: 0;
width: 100%;
}