File tree Expand file tree Collapse file tree 1 file changed +46
-10
lines changed
Expand file tree Collapse file tree 1 file changed +46
-10
lines changed Original file line number Diff line number Diff line change 11body {
22 display : flex;
3+ flex-direction : column;
4+ align-items : center;
35 justify-content : center;
4- margin-top : 5rem ;
6+ min-height : 100vh ;
7+ margin-top : 2rem ;
58 overflow : hidden;
9+ padding : 0 1rem ;
10+ box-sizing : border-box;
611}
712h1 {
813 font-size : 2.5rem ;
2328 display : block;
2429 margin : 0 auto;
2530 text-align : center;
26- font-size : 20px ;
27- height : 2rem ;
31+ font-size : 1.25rem ;
32+ height : 2.5rem ;
33+ width : 80% ;
34+ max-width : 400px ;
2835}
29- # submit {
36+ # submit {
3037 display : block;
31- margin : 0 auto;
32- height : 2 rem ;
33- width : 7 rem ;
38+ margin : 1 rem auto;
39+ height : 2.5 rem ;
40+ width : 8 rem ;
3441 border-radius : 10px ;
3542 text-align : center;
36- font-size : 20 px ;
43+ font-size : 1.25 rem ;
3744 font-weight : bold;
3845 background-color : rgb (216 , 131 , 20 );
46+ cursor : pointer;
3947}
40-
4148# result_box {
4249 margin-top : 2rem ;
4350 text-align : center;
44- align-items : center;
4551 font-size : 1.5rem ;
4652}
4753# hint {
4854 font-size : 2rem ;
4955 font-weight : 500 ;
5056}
57+
58+ @media (max-width : 768px ) {
59+ body {
60+ margin-top : 2rem ;
61+ }
62+ h1 {
63+ font-size : 1.8rem ;
64+ }
65+ # guide {
66+ font-size : 1.2rem ;
67+ }
68+ # guess {
69+ font-size : 1.5rem ;
70+ margin-top : 1rem ;
71+ }
72+ # guessInput {
73+ font-size : 1rem ;
74+ height : 2.5rem ;
75+ width : 90% ;
76+ }
77+ # submit {
78+ height : 3rem ;
79+ width : 90% ;
80+ max-width : 300px ;
81+ }
82+ # result_box , # hint {
83+ font-size : 1.2rem ;
84+ }
85+ }
86+
You can’t perform that action at this time.
0 commit comments