summaryrefslogtreecommitdiff
path: root/mines.css
diff options
context:
space:
mode:
Diffstat (limited to 'mines.css')
-rw-r--r--mines.css34
1 files changed, 14 insertions, 20 deletions
diff --git a/mines.css b/mines.css
index c45a746..810e74e 100644
--- a/mines.css
+++ b/mines.css
@@ -19,7 +19,7 @@ div.game{
margin: 50px;
}
-input, select{
+input, select, label[for], button{
padding: 5px;
margin: 5px;
background-color: #ddd;
@@ -30,38 +30,32 @@ input, select{
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
+ font-size: medium;
}
-input:hover, select:hover{
+input:hover, select:hover, label[for]:hover, button:hover{
background-color: #bbb;
}
-input:focus, select:focus{
+input:focus, select:focus, label[for]:focus, button:focus{
background-color: #bdf;
border: none;
}
-input:active, select:active{
+input:active, select:active, label[for]:active, button:active{
background-color: #bdf;
border: none;
}
-button{
- padding: 5px;
- margin: 5px;
- background-color: #ddd;
- border: none;
- border-radius: 5px;
- transition-duration: 0.2s;
-}
-
-button:hover{
- background-color: #bbb;
-}
-
-button:active{
- background-color: #bdf;
- border: none;
+input[type="file"]{
+ width: 0;
+ height: 0;
+
+ padding: 0;
+ margin: 0;
+
+ border-radius: 0;
+ opacity: 0;
}
h1{