Format and fix scaling
This commit is contained in:
parent
f40d182e88
commit
92d0669304
1 changed files with 56 additions and 36 deletions
34
css/main.css
34
css/main.css
|
|
@ -1,43 +1,63 @@
|
||||||
html, body, canvas,#menuBox {
|
html,
|
||||||
|
body,
|
||||||
|
canvas,
|
||||||
|
#menuBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white;
|
||||||
font: 400 8vmin "Raleway", cursive;
|
|
||||||
}
|
}
|
||||||
canvas, button {
|
|
||||||
|
h1,
|
||||||
|
p,
|
||||||
|
button {
|
||||||
|
font: 400 5rem "Raleway", cursive;
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas,
|
||||||
|
button {
|
||||||
cursor: crosshair;
|
cursor: crosshair;
|
||||||
background-color: #a5402d;
|
background-color: #a5402d;
|
||||||
}
|
}
|
||||||
p, button {
|
|
||||||
font-size: 4vmin;
|
p,
|
||||||
margin-top: 4vmin;
|
button {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menuBox {
|
#menuBox {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.box, button {
|
|
||||||
|
.box,
|
||||||
|
button {
|
||||||
width: 33%;
|
width: 33%;
|
||||||
border-radius: 4vmin;
|
border-radius: 4vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
|
min-width: 400px;
|
||||||
padding: 4vmin;
|
padding: 4vmin;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
padding: 1vmin;
|
padding: 1vmin;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endText {
|
#endText {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue