Skip to content

Commit a208197

Browse files
💄 Add global.css to static
1 parent 9ed1641 commit a208197

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

static/global.css

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
body {
2+
font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
3+
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
4+
font-size: 14px;
5+
line-height: 1.5;
6+
color: #333;
7+
max-width: 56em;
8+
padding: 2em;
9+
margin: 0 auto;
10+
}
11+
12+
h1,
13+
h2,
14+
h3,
15+
h4,
16+
h5,
17+
h6 {
18+
margin: 0 0 0.5em 0;
19+
font-weight: 400;
20+
line-height: 1.2;
21+
}
22+
23+
h1 {
24+
font-size: 2em;
25+
}
26+
27+
a {
28+
color: inherit;
29+
}
30+
31+
code {
32+
font-family: menlo, inconsolata, monospace;
33+
font-size: calc(1em - 2px);
34+
color: #555;
35+
background-color: #f0f0f0;
36+
padding: 0.2em 0.4em;
37+
border-radius: 2px;
38+
}
39+
40+
@media (min-width: 400px) {
41+
body {
42+
font-size: 16px;
43+
}
44+
}
45+
46+
.error {
47+
background-color: #ffcccc;
48+
padding: 1rem;
49+
border-radius: 0.2rem;
50+
}
51+
52+
.big-links {
53+
display: flex;
54+
flex-wrap: wrap;
55+
margin: 0 -1rem;
56+
justify-content: space-between;
57+
}
58+
.big-links a {
59+
border: 0.2rem solid #c7ecee;
60+
background-color: #ebfeff;
61+
width: 17rem;
62+
height: 5rem;
63+
margin: 1rem;
64+
box-sizing: border-box;
65+
border-radius: 0.2rem;
66+
display: flex;
67+
justify-content: center;
68+
align-items: center;
69+
text-decoration: none;
70+
}
71+
.big-links a:hover {
72+
background-color: #dff9fb;
73+
}
74+
.big-links span {
75+
text-transform: capitalize;
76+
}
77+
78+
pre {
79+
margin: 0;
80+
background-color: #ebfeff;
81+
border: 0.2rem solid #c7ecee;
82+
padding: 1rem;
83+
box-sizing: border-box;
84+
border-radius: 0.2rem;
85+
overflow-x: auto;
86+
}
87+
88+
img {
89+
max-width: 100%;
90+
}
91+
92+
.options {
93+
display: flex;
94+
flex-wrap: wrap;
95+
margin-bottom: 2rem;
96+
}
97+
.options > * {
98+
margin: 0.1rem 0.5rem;
99+
}
100+
.options strong {
101+
text-transform: uppercase;
102+
}
103+
.options a {
104+
text-decoration: none;
105+
}
106+
.options a.active {
107+
font-weight: bold;
108+
background-color: #7efff5;
109+
vertical-align: middle;
110+
padding: 0 0.2rem;
111+
border-radius: 0.2rem;
112+
}

0 commit comments

Comments
 (0)