-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.css
138 lines (113 loc) · 2.11 KB
/
common.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
body {
color: #222;
}
body, button, input {
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1 {
font-size: 2em;
margin: 1em 0 0;
}
h1, .intro {
text-align: center;
}
a {
text-decoration: none;
}
a:not(.button-link) {
border-bottom: 1px solid coral;
color: cornflowerblue;
}
a:not(.button-link):hover {
color: coral;
border-bottom: 1px solid cornflowerblue;
}
p, blockquote {
line-height: 1.5em;
}
blockquote {
border-left: 4px solid coral;
padding: 0.5em 0 0.5em 2em;
}
header {
margin: 2em 2em 0;
}
ol, ul, blockquote {
margin: 0;
}
ol, ul {
padding-inline-start: 0;
list-style: none;
}
/** Counter styles from https://www.w3.org/Style/Examples/007/color-bullets.en.html */
ol {
counter-reset: li;
}
.numbered-list-item {
counter-increment: li;
}
.numbered-list-item::before {
content: counter(li);
color: cornflowerblue;
font-weight: 700;
display: inline-block;
width: 1em;
margin-left: -1.5em;
margin-right: 0.5em;
text-align: right;
direction: rtl;
}
button, .button-link {
background: cornflowerblue;
border: 0;
border-radius: 4px;
color: #fff;
cursor: pointer;
font-size: 1em;
padding: 0.3em 0.8em;
-webkit-appearance: none;
}
button:not(:disabled):hover, .button-link:hover {
opacity: 0.8;
}
button:focus {
outline: none;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* GitHub corner from http://tholman.com/github-corners/ */
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
.github-corner-svg {
border: 0;
color:#fff;
fill: cornflowerblue;
position: absolute;
right: 0;
top: 0;
}