File tree Expand file tree Collapse file tree 2 files changed +36
-28
lines changed Expand file tree Collapse file tree 2 files changed +36
-28
lines changed Original file line number Diff line number Diff line change 88 < title > Render Raw Gist</ title >
99 < link rel ="stylesheet " href ="style.css " />
1010</ head >
11- < body >
1211
12+ < body >
1313 < main >
14- < h1 > Render Raw Gist</ h1 >
15-
16- < div >
17- < input id ="urlHtml " placeholder ="HTML raw gist file url " />
14+ < div class ="container ">
15+ < h1 > Render Raw Gist</ h1 >
1816
19- < input id =" urlCss " placeholder =" CSS raw gist file url " / >
20- </ div >
17+ < div >
18+ < input id =" urlHtml " placeholder =" HTML raw gist file url " / >
2119
22- < button onclick ="renderContent() "> Render</ button >
20+ < input id ="urlCss " placeholder ="CSS raw gist file url " />
21+ </ div >
2322
23+ < button onclick ="renderContent() "> Render</ button >
24+ </ div >
2425 </ main >
2526
2627 < script src ="app.js "> </ script >
27-
2828</ body >
2929
3030</ html >
Original file line number Diff line number Diff line change 88}
99
1010body {
11- background : linear-gradient (0deg , # 0288d1 0% , # 53cde2 100% );
11+ background : linear-gradient (0deg , # 0288d1 0% , # 53cde2 100% );
1212}
1313
1414main {
15- display : flex ;
16- flex-flow : column ;
17- align-items : center ;
15+ display : grid ;
16+ width : 100 vw ;
17+ height : 100 vh ;
1818 justify-content : center;
19+ align-content : center;
1920}
2021
2122h1 {
23+ text-align : center;
2224 font-size : 54px ;
2325 font-weight : 800 ;
2426 text-transform : uppercase;
2527 color : # edf9fc ;
26- }
28+ }
2729
2830input {
2931 margin : 8px ;
@@ -35,16 +37,24 @@ input {
3537 line-height : 1.5em ;
3638 background-color : transparent;
3739 color : white;
38-
3940}
4041
41- ::placeholder { color : # 53cde2 }
42- : -ms-input-placeholder { color : # 53cde2 }
43- ::-ms-input-placeholder { color : # 53cde2 }
42+ ::placeholder {
43+ color : # 53cde2
44+ }
45+
46+ : -ms-input-placeholder {
47+ color : # 53cde2
48+ }
49+
50+ ::-ms-input-placeholder {
51+ color : # 53cde2
52+ }
4453
4554button {
46- margin : 23px ;
47- padding : 12px 34px 12px 34px ;
55+ width : 10vw ;
56+ margin : 23px ;
57+ padding : 12px 34px 12px 34px ;
4858 border : 1px solid white;
4959 border-radius : 160px ;
5060 background : transparent;
@@ -70,13 +80,11 @@ button {
7080button : hover {
7181 background-color : # edf9fc ;
7282 border : 1px solid # edf9fc ;
73- color : # 0289d1ce ;
83+ color : # 0289d1ce ;
7484}
7585
76- @media (max-height : 950px ) { main { height : 860px ; } }
77- @media (max-height : 850px ) { main { height : 760px ; } }
78- @media (max-height : 750px ) { main { height : 660px ; } }
79- @media (max-height : 650px ) { main { height : 560px ; } }
80- @media (max-height : 550px ) { main { height : 460px ; } }
81- @media (max-height : 350px ) { main { height : 320px ; } }
82- @media (min-height : 950px ) { main { height : 1000px ; } }
86+ .container {
87+ display : flex;
88+ flex-flow : column;
89+ align-items : center;
90+ }
You can’t perform that action at this time.
0 commit comments