summaryrefslogtreecommitdiff
path: root/webcards/styles/client/base.css
blob: cae61f6c64ff5d8d54899594d0c37aa1f9c90766 (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
* {
    font-family: 'Montserrat', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;

    min-width: 100vw;
    min-height: 100vh;

    display: block;

}

.topbar {
    position: fixed;

    background-color: white;

    top: 0;
    left: 0;

    display: flex;

    flex-direction: column;

    width: 100vw;
    z-index: 1;
}

.top-buttons {
    display: flex;
}

button, input[type="button"] {
    display: inline-block;
    border: none;
    background-color: dodgerblue;
    padding: 10px;
    font-size: medium;
    border-radius: 5px;
    box-sizing: border-box;
}

button.top-button {
    border-radius: 0;
    background-color: white;
    flex: 1;

    border-left: 1px solid black;
    border-right: 1px solid black;
}

.top-buttons > button:first-child {
    border-left: none;
}

.top-buttons > button:last-child {
    border-right: none;
}

div.new-game {
    flex: 1;
    flex-grow: 1;
    border-top: 2px solid black;
}

div.mobile-settings {
    flex: 1;
    flex-grow: 1;
    border-top: 2px solid black;
}

div.topbar > div.status {
    height: 5px;
    flex-basis: auto;
}

div.stats {
    padding: 5px;
    display: flex;
    flex-direction: column;
}

div.stats > div {
    flex: 1;
    display: flex;
}

div.stats > div > span {
    flex-basis: content;
    display: inline-block;
}

div.stats > div > span:last-child {
    text-align: right;
    flex: 1;
    display: inline-block;
}

div.game {
    background-color: white;
    border-radius: 5px;
    box-shadow: lightgray 3px 3px 2px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

div.game:last-child {
    margin-bottom: none;
}