aboutsummaryrefslogtreecommitdiff
path: root/utils/minesweeper/style.css
blob: 066650c62e16bda0e360f260cc8645caec2d364f (plain)
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
@font-face {
    font-family: "Digital-7";
    src: url("digital-7.ttf");
}

h1 {
    text-align: center;
}

td {
    padding: 0px;
}

table {
    margin: auto;
    margin-top: 0;
    margin-bottom: 5%;
    border-collapse: collapse;
    border-spacing: 0px;
}

table td {
    width: 2.5em;
    height: 2.5em;
}

table button {
    display: block;
    background: lightgrey;
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.6em;
    border-width: 6px;
    border-style: outset;
    border-radius: 0px;
    border-color: grey;
}

table button.visited {
    background: lightgrey;
    border-style: solid;
    border-width: 1px;
}

table button.flagged {
    background: url("flag.svg");
}

button {
    font-weight: bold;
}

label {
    width: 15%;
    text-align: right;
}

input {
    width: 45%;
    margin-left: 10px;
}

#minesweeper-settings div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

#minesweeper-game-info div {
    display: flex;
    justify-content: space-around;
    margin: 0 30%;
}

#minesweeper-stop,
#minesweeper-timer {
    font-size: 2em;
    text-transform: uppercase;
}

#minesweeper-timer {
    min-width: 100px;
    font-family: "Digital-7";
    font-size: 3em;
    display: block;
    font-weight: bolder;
    text-align: center;
    background: black;
    border: 2px;
    border-color: white;
    border-radius: 3px;
    padding: 5px 10px;
    margin: 0 !important;
}

#flash-message {
    padding: 10px;
    border: solid;
    border-width: 2px;
    border-radius: 7px;
    margin: auto;
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
}

#flash-message.flash-won {
    background: #2e7d32;
    border-color: #1b5e20;
}

#flash-message.flash-lost {
    background: #c62828;
    border-color: #b71c1c;
}

.info-bar {
    height: 120px;
}