generated from github/welcome-to-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
122 lines (101 loc) · 1.6 KB
/
styles.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
/* CSS Style Sheet */
* {
margin: 10px;
}
a {
margin: 0;
}
em {
margin: 0 !important;
}
strong {
margin: 0;
}
sup {
margin: 0;
}
body {
font-family: 'Open Sans', sans-serif;
color: #333333;
background-color: #f2f2f2;
font-size: 1rem;
line-height: 1.5;
}
h1 {
font-size: 2.25rem;
/* equals 36px */
font-weight: bold;
text-align: left;
margin-top: 2.5rem;
/* equals 40px */
margin-bottom: 1.5rem;
/* equals 24px */
}
h2 {
font-size: 2rem;
font-weight: bold;
text-align: left;
margin-top: 2.5rem;
/* equals 40px */
margin-bottom: 1.5rem;
/* equals 24px */
}
p {
font-family: 'Open Sans', sans-serif;
color: #333333;
background-color: #f2f2f2;
font-size: 1rem;
/* equals 16px */
line-height: 1.5;
margin-bottom: 1rem;
}
footer {
color: gray;
font-size: 0.9rem;
text-align: center;
margin-top: 50px;
padding: 20px 0;
border-top: 1px solid #ccc;
}
@media screen and (max-width: 767px) {
body {
font-size: 0.875rem;
/* equals 14px */
}
h1 {
font-size: 1.875rem;
/* equals 30px */
margin-top: 2rem;
margin-bottom: 1rem;
}
p {
font-size: 0.875rem;
/* equals 14px */
margin-bottom: 0.5rem;
}
}
.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
}
}