-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
136 lines (121 loc) · 2.72 KB
/
style.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
html {
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
height: 100%;
}
body {
color: #444;
text-align: center;
font-family: sans-serif;
font-size: 16px;
line-height: 1.5em;
}
a:link {text-decoration: none; color: #222; font-style: italic;}
a:visited {text-decoration: none; color: #444;}
a:hover {text-decoration: none; color: #ccc;}
#main {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
max-height: 300px;
}
#title {
line-height: 1.1em;
}
#readme {
line-height: 1.1em;
margin-top: 1.5em;
}
/*========== Special select styling ==========*/
.form-select {
-moz-user-select: -moz-none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
background: #ffffff;
overflow: hidden;
border: 1px solid #cbcbcb;
border-radius: 3px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.07);
-moz-transition: box-shadow 0.2s;
-o-transition: box-shadow 0.2s;
-webkit-transition: box-shadow 0.2s;
transition: box-shadow 0.2s;
}
.form-select:focus, .form-select:hover {
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.form-select:after {
content: '▾';
position: absolute;
top: 0;
right: 12px;
z-index: 1;
color: #bbbbbb;
line-height: 40px;
font-size: 14px;
}
.ie .form-select:after {
display: none;
}
select {
text-align: center;
position: relative;
background: transparent;
background-image: none;
display: block;
width: 100%;
outline: none;
color: #888888;
cursor: pointer;
z-index: 2;
border: none;
padding: 10px 10px 10px 5px;
text-overflow: '';
-moz-appearance: none;
-webkit-appearance: none;
}
select[multiple=multiple] {
height: auto;
border: 1px solid #cbcbcb;
border-radius: 3px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.07);
-moz-transition: box-shadow 0.2s;
-o-transition: box-shadow 0.2s;
-webkit-transition: box-shadow 0.2s;
transition: box-shadow 0.2s;
}
select[multiple=multiple]:hover {
border-color: #cccccc;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
select option[disabled] {
color: #eeeeee;
text-shadow: none;
border: none;
}
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #888888;
}
select::-ms-expand {
display: none;
}
/*========== Generic styling ==========*/
.select {
position: relative;
margin-top: 1.5em;
max-width: 250px;
left: 50%;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
overflow:hidden;
}