-
Notifications
You must be signed in to change notification settings - Fork 10
/
demo.css
100 lines (81 loc) · 1.4 KB
/
demo.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
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700');
*{
padding:0;
margin:0;
}
html{
background-color: #eaf0f2;
}
body{
font:14px/1.5 Arial, Helvetica, sans-serif;
}
header{
text-align: center;
padding-top: 100px;
margin-bottom:200px;
}
header h1{
font: normal 32px/1.5 'Open Sans', sans-serif;
color: #3F71AE;
padding-bottom: 16px;
}
header h2{
color: #F05283;
}
header h2 a{
color:inherit;
text-decoration: none;
display: inline-block;
border: 1px solid #F05283;
padding: 10px 15px;
border-radius: 3px;
font: bold 14px/1 'Open Sans', sans-serif;
text-transform: uppercase;
}
header h2 a:hover{
background-color:#F05283;
transition:0.2s;
color:#fff;
}
header ul {
max-width: 600px;
margin: 60px auto 0;
}
header ul a{
text-decoration: none;
color: #FFF;
text-align: left;
background-color: #B9C1CA;
padding: 10px 16px;
border-radius: 2px;
opacity: 0.8;
font-size: 16px;
display: inline-block;
margin: 4px;
line-height: 1;
outline: none;
transition: 0.2s ease;
}
header ul li a.active{
background-color: #66B650;
pointer-events: none;
}
header ul li a:hover {
opacity: 1;
}
header ul{
list-style: none;
padding: 0;
}
header ul li{
display: inline-block;
}
/* In our demo, the footers are fixed to the bottom of the page */
footer{
position: fixed;
bottom: 0;
}
@media (max-height:800px){
footer { position: static; }
header { padding-top:40px; }
}