Files
minesweeper/styles.css
2023-08-07 16:39:08 +02:00

107 lines
1.9 KiB
CSS

:root {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color: #0f0f0f98;
background-color: #2f2f2f;
height: 100%;
display: flex;
justify-content: center;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
.container {
display: block;
justify-content: center;
margin: 0;
padding: 10vh;
}
button {
cursor: pointer;
vertical-align: middle;
text-align: center;
border-radius: 8px;
border: 1px solid transparent;
}
.upper-menu{
display: flex;
justify-content: left;
}
.game{
display: flex;
justify-content: center;
}
.button-reset {
height: 50px;
width: 100px;
margin: 2px;
font-size: 25px;
background-color: #0f0f0f98;
color: #ffffff;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.button-reset:hover {
background-color: #262626;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.button-hidden {
font-size: 25px;
color: rgba(15, 15, 15, 0.0);
background-color: #0f0f0f98;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
height: 50px;
width: 50px;
margin: 2px;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.button-shown {
font-size: 25px;
font-weight: 700;
color: #0f0f0f98;
background-color: #2f2f2f;
height: 50px;
width: 50px;
margin: 2px;
}
.button-hidden:hover {
background-color: #262626;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.button-hidden:active {
background-color: #2f2f2f;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.button-shown:active {
background-color: #2f2f2f;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
input,
button {
outline: none;
}