File tree Expand file tree Collapse file tree 6 files changed +35
-14
lines changed
Expand file tree Collapse file tree 6 files changed +35
-14
lines changed Original file line number Diff line number Diff line change 11+++
22transparent = true
3- title = " Creating a Kernel in Rust #2: Shell"
3+ title = " Operating Systems in Rust #2: Shell"
44description = " Creating a simple shell for our kernel to run commands and help us debug"
55date = 2023-07-08
66
Original file line number Diff line number Diff line change 11@import " variables" ;
22
33.footer {
4- margin-left : 45px ;
54 position : absolute ;
65 display : flex ;
76 bottom : 0 ;
8- padding : 40 px 0 ;
7+ padding : 2 rem 2 rem ;
98 flex-grow : 0 ;
9+ width : 100% ;
10+
11+ @media (max-width : $phone-max-width ) {
12+ justify-content : center ;
13+ }
1014
1115 & __inner {
1216 display : flex ;
Original file line number Diff line number Diff line change 1414
1515.header {
1616 height : 6rem ;
17- margin-left : 45 px ;
17+ margin : 0 3 rem ;
1818
1919 ul {
20+ display : flex ;
21+
22+ @media (max-width : $phone-max-width ) {
23+ justify-content : space-evenly ;
24+ }
25+
26+
2027 padding : 40px 0 ;
2128 margin : 0 ;
2229 list-style : none ;
Original file line number Diff line number Diff line change @@ -311,10 +311,6 @@ ol {
311311 li {
312312 position : relative ;
313313 }
314-
315- @media (max-width : $phone-max-width ) {
316- margin-left : 20px ;
317- }
318314}
319315
320316ol ol {
@@ -329,12 +325,11 @@ ol ol {
329325 padding : .5rem 5rem ;
330326 padding-bottom : 5rem ;
331327 max-width : 60rem ;
332- min-height : calc (100vh - 7 rem );
328+ min-height : calc (100vh - 6 rem );
333329 margin : 0 auto ;
334330
335331 @media (max-width : $phone-max-width ) {
336- padding : 20px ;
337- margin-top : -5rem ;
332+ padding : 2rem ;
338333 }
339334}
340335
Original file line number Diff line number Diff line change 5757 max-width : 80% ;
5858 }
5959
60- + .button {
60+ +.button {
6161 margin-left : 10px ;
6262 }
6363
7474 white-space : nowrap ;
7575 overflow : hidden ;
7676 }
77- }
77+ }
Original file line number Diff line number Diff line change 22
33li >div .year-pad {
44 height : 4rem ;
5+
6+ @media (max-width : $phone-max-width ) {
7+ height : 4.5rem ;
8+ }
59}
610
711li >div .year {
812 position : absolute ;
913 z-index : -1 ;
1014 user-select : none ;
11- top : .4 rem ;
15+ top : 0.9 rem ;
1216 left : -2rem ;
1317
1418 h2 {
19+ line-height : 1 ;
1520 font-size : 6rem ;
1621 margin : 0 ;
1722 color : var (--background );
1823 opacity : 0.3 ;
1924 -webkit-text-stroke : 1px var (--color );
2025 }
26+
27+
28+ @media (max-width : $phone-max-width ) {
29+ top : 0rem ;
30+ left : 0rem ;
31+
32+ h2 {
33+ font-size : 4rem ;
34+ }
35+ }
2136}
2237
2338.posts {
You can’t perform that action at this time.
0 commit comments