Skip to content

Commit 61454da

Browse files
committed
wip
1 parent 2359aa1 commit 61454da

File tree

4 files changed

+210
-150
lines changed

4 files changed

+210
-150
lines changed

css/sceleton.less

+37-12
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222

2323
position: relative;
2424

25-
font-size: 14px;
25+
font-size: 12px;
2626
font-family: sans-serif;
2727
/*font-family: Comic Sans MS, Comic Sans MS5, cursive; /* you can delete this =) */
2828
}
@@ -101,18 +101,28 @@ input[type=checkbox]:checked + label{
101101

102102
#mainContainer{
103103
margin: 0 auto;
104-
max-width: 800px;
104+
//max-width: 50rem;
105+
}
106+
#menu{
107+
font-size: 115%;
108+
}
109+
#tavern{
110+
display: flex;
111+
justify-content: space-around;
112+
flex-wrap: wrap;
105113
}
106-
107114
.table{
108115
float: none;
109116
clear: both;
110117
overflow: auto;
111-
max-width: 70em;
118+
flex-grow: 1;
119+
flex-shrink: 1;
120+
max-width: 40rem;
121+
padding: .5rem;
112122
//max-width: 750px;
113123
min-width: 300px;
114124

115-
@bt_wh: 2em;
125+
@bt_wh: 2rem;
116126
button{
117127
font-size: 85%;
118128
width: @bt_wh;
@@ -207,18 +217,21 @@ select{
207217
body{
208218
font-size: 16px;
209219
}
220+
#mainContainer{
221+
//max-width: 100rem;
222+
}
210223
}
211224
@media only screen and (max-width: 600px) {
212225
.table{
213226
.line{
214227
.header{
215-
width: 60%;
228+
width: 80%;
216229
}
217230
.value{
218231
width: 100%;
219232
}
220233
.bt_place{
221-
width: 20%;
234+
width: 10%;
222235
}
223236
}
224237
}
@@ -230,20 +243,32 @@ select{
230243
.clear();
231244
}
232245
button, .bt{
233-
min-height: 2em;
234-
width: 48%;
246+
min-height: 2rem;
247+
width: 2rem;
235248
float: left;
236249
}
237250
}
238251
}
239252

240253
@media only screen and (max-width: 435px) {
241-
254+
.table{
255+
.line{
256+
.header{
257+
width: 60%;
258+
}
259+
.value{
260+
width: 100%;
261+
}
262+
.bt_place{
263+
width: 20%;
264+
}
265+
}
266+
}
242267
#tavern{
243268
button, .bt{
244-
min-height: 1em;
269+
min-height: 1rem;
245270
display: block;
246-
width: auto;
271+
width: 2rem;
247272
float: none;
248273
font-size: 120%;
249274
}

css/tavern.css

+32-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)