File tree Expand file tree Collapse file tree 3 files changed +39
-29
lines changed Expand file tree Collapse file tree 3 files changed +39
-29
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ body {
11
11
}
12
12
13
13
main {
14
- margin : 0 .5 rem ;
15
- font-size : 1.2 rem ;
14
+ margin : 0 .5 em ;
15
+ font-size : 1.2 em ;
16
16
}
17
17
18
18
h1 {
19
19
font-style : italic;
20
20
text-align : center;
21
- font-size : 3 rem ;
21
+ font-size : 3 em ;
22
22
margin-bottom : 0 ;
23
23
}
24
24
25
25
h2 {
26
26
font-style : italic;
27
27
text-align : center;
28
- font-size : 1.5 rem ;
28
+ font-size : 1.5 em ;
29
29
margin-left : 5% ;
30
30
margin-right : 5% ;
31
31
}
42
42
}
43
43
44
44
.code {
45
- margin-left : 1.5rem ;
46
45
display : block;
47
46
}
48
47
@@ -51,36 +50,47 @@ pre {
51
50
}
52
51
53
52
code {
54
- font-family : monospace;
55
- font-size : 1rem ;
53
+ font-family : "Ubuntu Mono" , monospace;
56
54
background-color : # eeeeee ;
57
55
}
58
56
59
57
pre code {
60
- font-size : 1.25rem ;
61
58
color : # 333333 ;
62
59
background-color : # ffffff ;
63
60
margin-bottom : 0 ;
64
61
}
65
62
66
63
@media (min-width : 850px ) {
67
- main {
68
- max-width : 70% ;
69
- margin : auto;
70
- }
71
- h1 {
72
- font-size : 5rem ;
73
- }
74
- h2 {
75
- font-size : 2rem ;
76
- }
77
- code {
78
- font-size : 1.2rem ;
79
- }
80
- pre code {
81
- font-size : 1.6rem ;
82
- }
83
- .code {
84
- margin-left : 5rem ;
85
- }
64
+ main {
65
+ max-width : 850px ;
66
+ margin : auto;
67
+ }
68
+ h1 {
69
+ font-size : 5em ;
70
+ }
71
+ h2 {
72
+ font-size : 2em ;
73
+ }
74
+ code {
75
+ font-size : 1.2em ;
76
+ }
77
+ pre code {
78
+ font-size : 1.2em ;
79
+ }
80
+ .code {
81
+ margin-left : 5em ;
82
+ }
83
+ }
84
+
85
+ @media (max-width : 850px ) {
86
+ h1 {
87
+ font-size : 3em ;
88
+ }
89
+ h2 {
90
+ font-size : 1.2em ;
91
+ }
92
+ .code {
93
+ font-size : 3.5vw ;
94
+ margin-left : 1.5em ;
95
+ }
86
96
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ <h2 id="readable-and-concise-concatenative-programming">Readable and concise con
23
23
< span style ='color: #a71d5d '> If</ span > < span style ='color: #795da3 '> Multiple</ span > < span style ='color: #333333 '> of</ span > < span style ='color: #0086b3 '> 15</ span > < span style ='color: #333333 '> then</ span > < span style ='color: #183691 '> "fizzbuzz"</ span >
24
24
< span style ='color: #a71d5d '> If</ span > < span style ='color: #795da3 '> Multiple</ span > < span style ='color: #333333 '> of</ span > < span style ='color: #0086b3 '> 3</ span > < span style ='color: #333333 '> then</ span > < span style ='color: #183691 '> "fizz"</ span >
25
25
< span style ='color: #a71d5d '> If</ span > < span style ='color: #795da3 '> Multiple</ span > < span style ='color: #333333 '> of</ span > < span style ='color: #0086b3 '> 5</ span > < span style ='color: #333333 '> then</ span > < span style ='color: #183691 '> "buzz"</ span >
26
- < span style ='color: #333333 '> else</ span > < span style ='color: #795da3 '> N</ span >
26
+ < span style ='color: #333333 '> else</ span > < span style ='color: #795da3 '> N</ span >
27
27
< span style ='color: #4e4e4e '> )</ span > ;
28
28
29
29
< span style ='color: #a71d5d '> For</ span > < span style ='color: #333333 '> each</ span > < span style ='color: #333333 '> in</ span > < span style ='color: #183691 '> Range</ span > < span style ='color: #0086b3 '> 1</ span > < span style ='color: #333333 '> to</ span > < span style ='color: #0086b3 '> 100</ span > < span style ='color: #4e4e4e '> (</ span > < span style ='color: #183691 '> Print</ span > < span style ='color: #795da3 '> Fizzbuzz</ span > < span style ='color: #4e4e4e '> )</ span >
You can’t perform that action at this time.
0 commit comments