-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.css
96 lines (78 loc) · 1.31 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
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700');
html{
background-color: #eaf0f2;
}
body{
font:14px/1.5 Arial, Helvetica, sans-serif;
padding:0;
margin:0;
}
.menu{
text-align: center;
padding-top: 25px;
margin-bottom:200px;
}
.menu img{
opacity: 0.4;
margin: 20px auto;
}
.menu h1{
margin-top:0;
font: normal 32px/1.5 'Open Sans', sans-serif;
color: #3F71AE;
padding-bottom: 16px;
}
.menu h2{
color: #F05283;
}
.menu 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;
}
.menu h2 a:hover{
background-color:#F05283;
transition:0.2s;
color:#fff;
}
.menu ul {
max-width: 600px;
margin: 60px auto 0;
}
.menu 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;
}
.menu ul li a.active{
background-color: #66B650;
pointer-events: none;
}
.menu ul li a:hover {
opacity: 1;
}
.menu ul{
list-style: none;
padding: 0;
}
.menu ul li{
display: inline-block;
}
@media (max-height:800px){
.menu { padding-top:40px; }
}