forked from mdo/github-buttons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.css
153 lines (136 loc) · 2.87 KB
/
page.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
* Reset
*/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body { height: 100%; }
html {
font: 14px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 34em) {
html {
font-size: 18px;
}
}
body {
padding: 1.5rem;
font-size: 1rem;
color: #555;
text-align: center;
background-color: #fff;
}
h1, h2 {
margin-top: 0;
margin-bottom: .5rem;
line-height: 1;
text-rendering: optimizeLegibility;
}
p {
margin-top: 0;
margin-bottom: .5rem;
}
a {
color: #08c;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/*
* Download button
*/
.btn {
padding: .75rem 1.5rem;
font-size: 1.2rem;
color: #fff;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0,0,0,.5);
background-color: #3072b3; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #599bdc 0%, #3072b3 100%); /* FF3.6+ */
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+ */
background-image: -o-linear-gradient(top, #599bdc 0%,#3072b3 100%); /* Opera 11.10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#599bdc', endColorstr='#3072b3',GradientType=0 ); /* IE6-9 */
background-image: linear-gradient(top, #599bdc 0%,#3072b3 100%); /* W3C */
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);
-webkit-transition: none;
-moz-transition: none;
transition: none;
}
.btn:hover {
text-decoration: none;
background-position: 0 -15px;
}
.btn:active {
background-image: none;
background-color: #3072b3; /* Old browsers */
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 .tweet-button {
margin: 0 auto 1rem;
}
.masthead .introducing {
margin-bottom: 1rem;
color: #999;
}
.masthead h1 {
font-size: 4rem;
}
.masthead .tagline {
margin-bottom: 2rem;
font-size: 1.25rem;
}
/*
* Grid and columns
*/
.container {
max-width: 820px;
margin-left: auto;
margin-right: auto;
}
.col {
margin-bottom: 1rem;
text-align: center;
}
.col iframe + iframe {
margin-top: .5rem;
}
@media (min-width: 40em) {
.grid {
display: table;
table-layout: fixed;
width: 100%;
}
.col {
display: table-cell;
margin-bottom: 0;
}
}
/*
* Misc
*/
hr {
display: block;
width: 7rem;
height: 1px;
margin: 2.5rem auto;
background-color: #eee;
border: 0;
}
/* Space buttons in footer */
iframe + iframe {
margin-left: 10px;
}