-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (105 loc) · 1.67 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}
body{
background-color: #222831;
color:#eeeeee;
}
h1{
margin:10px;
}
ol{
margin-left: 20px;
}
li{
width: 100%;
padding:5px;
border:1px solid #6a727e;
}
.main{
max-width: 700px;
margin:2em auto;
border:1px solid #ffd369;
padding:5px;
display:flex;
overflow: hidden;
}
.game-section{
width:50%;
}
.score-section{
width:50%;
}
h2{
width:100%;
margin:10px;
text-align: center;
}
table{
border: none;
margin:10px;
border-collapse: collapse;
}
.btns{
margin:10px;
}
td {
width:100px;
height:100px;
border:1px solid #6a727e;
font-size: 80px;
text-align: center;
padding:5px;
cursor:pointer;
display: inline-block;
color:#eeeeee;
}
input{
padding:5px;
font-size: 20px;
background:none;
cursor:pointer;
border:none;
}
.st-btn{
background:rgb(81, 230, 81);
color:white;
}
.rst-btn{
background:rgb(114, 211, 250);
color:white;
}
@media screen and (max-width:630px){
body{
padding:5px;
}
.main{
flex-direction: column;
justify-content: center;
align-items: center;
}
.game-section{
width:100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.score-section{
width:100%;
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
ol{
width:100%;
}
li{
width:100%;
font-size: 20px;
margin-left:5px;
}
}