-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
125 lines (121 loc) · 2.54 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
/* Reset */
* {
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
}
html,body {
height:100%;
}
html {
font:14px/1.3 "Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif;
}
@media (min-width:34em) {
html {
font-size:18px;
}
}
body {
background-color:#fff;
color:#555;
font-size:1rem;
padding:1.5rem;
text-align:center;
}
h1,h2 {
line-height:1;
margin-bottom:.5rem;
margin-top:0;
text-rendering:optimizeLegibility;
}
p {
margin-bottom:.5rem;
margin-top:0;
}
a {
color:#08c;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
/* Repo button */
.btn {
background-color:#3072b3; /* Old browsers */
background-image:linear-gradient(top,#599bdc 0%,#3072b3 100%); /* W3C */
background-image:-moz-linear-gradient(top,#599bdc 0%,#3072b3 100%); /* FF3.6+ */
background-image:-o-linear-gradient(top,#599bdc 0%,#3072b3 100%); /* Opera 11.10+ */
background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#599bdc),color-stop(100%,#3072b3)); /* Chrome,Safari4+ */
background-image:-webkit-linear-gradient(top,#599bdc 0%,#3072b3 100%); /* Chrome 10+,Safari 5.1+ */
background-image:-ms-linear-gradient(top,#599bdc 0%,#3072b3 100%); /* IE10+ */
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#599bdc',endColorstr='#3072b3',GradientType=0 ); /* IE6-9 */
background-repeat:repeat-x; /* Repeat the gradient */
border:1px solid #2967a4;
border-radius:6px;
box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 2px rgba(0,0,0,.2);
color:#fff;
font-size:1.2rem;
padding:.75rem 1.5rem;
text-decoration:none;
text-shadow:0 -1px 0 rgba(0,0,0,.5);
transition:none;
-moz-transition:none;
-webkit-transition:none;
}
.btn:hover {
background-position:0 -15px;
text-decoration:none;
}
.btn:active {
background-color:#3072b3; /* Old browsers */
background-image:none;
box-shadow:inset 0 5px 10px rgba(0,0,0,.125),0 1px 2px rgba(0,0,0,.2);
}
/* Masthead */
.masthead {
margin-bottom:2rem;
}
.masthead h1 {
font-size:4rem;
}
.masthead .introducing {
color:#999;
margin-bottom:1rem;
}
.masthead .tagline {
font-size:1.25rem;
margin-bottom:2rem;
}
/* Grid and columns */
.col {
margin-bottom:3.5rem;
text-align:center;
}
.container {
margin-left:auto;
margin-right:auto;
max-width:820px;
}
@media (min-width:40em) {
.grid {
display:table;
table-layout:fixed;
width:100%;
}
.col {
display:table-cell;
margin-bottom:0;
}
}
/* Misc */
hr {
background-color:#eee;
border:0;
display:block;
height:1px;
margin-bottom:1.5rem;
width:7rem;
}
.footer img {
border-radius:4px;
}