summaryrefslogtreecommitdiff
path: root/webcards/styles/client/desktop.css
blob: 46dc83d7001304fd7cc46a48218306b32f239751 (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
123
124
125
126
127
128
129
130
131
132
133
134
@media (min-width: 600px) and (min-height: 501px) {
    body {
        display: flex;
    
        align-items: center;
        justify-content: center;
    }

    /*
        TopBar rules
    */

    button.top-button {
        transition-duration: 0.2s;
    }

    button.top-button:hover {
        background-color: #ddd;
    }

    button#newgame:before{
        content: "Create Game";
    }

    button#settings {
        display: none;
    }

    button#reset:before{
        content: "Reset Connection";
    }

    /*
        Lobby rules
    */
    div.lobby {
        min-width: 70vw;
        min-height: 70vh;
    
        display: flex;
        text-align: center;
        flex-direction: column;
    
        align-items: center;
    }

    div.server {
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    span.status {
        box-sizing: border-box;
        font-size: larger;

        margin-right: 10px;
        padding: 10px;
        border-radius: 10px;
        flex-basis: content;
    }

    span.addr {
        font-size: larger;
        padding: 10px;
        border-radius: 10px;

        background-color: #ddd;

        flex: 1;
    }

    div.content {
        min-width: 70vw;
        min-height: 70vh;
    
        display: flex;
        flex-direction: row;

        box-sizing: border-box;
    }

    div.info {
        display: flex;
        text-align: center;
        flex-direction: column;

        flex: 1;

        margin-left: 10px;

        box-sizing: border-box;
    }

    div.games {
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 10px;
        border-radius: 10px;
        background-color: #ddd;
        flex: 4;

        border: 5px solid #ddd;
    }

    div.stats, div.settings {
        border-radius: 10px;
        background-color: #ddd;

        box-sizing: border-box;

        flex: 1;

        height: auto;
        width: 100%;

        text-align: left;
    }

    div.settings {
        margin-top: 10px;
    }

    div.game {
        height: 20%;
    }

    /*
        Table rules
    */
}