Skip to content

Commit dad15f1

Browse files
committed
Update styles
- support inline code elements - add bottom margin to page - remove unused styles
1 parent b8313e0 commit dad15f1

File tree

1 file changed

+7
-39
lines changed

1 file changed

+7
-39
lines changed

static/style.css

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,8 @@ body {
77
background: #FEFEFE;
88
color: #151515; }
99

10-
.github-corner {
11-
border: 0;
12-
fill: #FEFEFE;
13-
position: fixed;
14-
right: 0;
15-
top: 0;
16-
z-index: 99;
17-
padding: 0.5em; }
18-
@media only screen and (min-device-width: 1024px) and (min-device-height: 728px) {
19-
.github-corner {
20-
padding: 0.2em; } }
21-
22-
#tldr #search-bar {
23-
font-size: 1.5em;
24-
background-color: #151515;
25-
color: #FEFEFE;
26-
padding: 0.5em;
27-
position: fixed;
28-
top: 0;
29-
left: 0;
30-
width: 100%; }
31-
#tldr #search-bar * {
32-
font-family: "Source Code Pro", courier new, courier; }
33-
#tldr #search-bar input, #tldr #search-bar input:focus {
34-
border: none;
35-
outline: none;
36-
background-color: #151515;
37-
color: #FEFEFE; }
38-
@media only screen and (orientation: landscape) {
39-
#tldr #search-bar {
40-
font-size: 2em; } }
41-
@media only screen and (min-device-width: 1024px) and (min-device-height: 728px) {
42-
#tldr #search-bar {
43-
font-size: 1em; } }
4410
#tldr #page {
11+
margin-bottom: 4em;
4512
font-size: 1.25em;}
4613
#tldr #page p {
4714
margin: 0; }
@@ -54,9 +21,12 @@ body {
5421
font-family: "Source Code Pro", courier new, courier;
5522
background-color: #f2f2f2;
5623
color: #212121;
57-
display: block;
58-
padding: 0.55em 1.25em;
24+
display: inline-block;
25+
padding: 0.25em 0.5em;
5926
margin: 0; }
27+
#tldr #page > p code {
28+
display: block;
29+
padding: 0.55em 1.25em; }
6030
#tldr #page ul {
6131
list-style: none;
6232
padding: 0 !important;
@@ -67,10 +37,8 @@ body {
6737
@media only screen and (min-device-width: 1024px) {
6838
#tldr #page {
6939
font-size: 1em; }
70-
#tldr #page code {
40+
#tldr #page > p code {
7141
padding-left: 3em; }
7242
#tldr #page ul li:before {
7343
content: "*";
7444
padding: 0 12px; } }
75-
76-
/*# sourceMappingURL=index.css.map */

0 commit comments

Comments
 (0)