summaryrefslogtreecommitdiffstats
path: root/nfsw/static/root.css
blob: aac50a5e337bc9e9ec03c0deb32289e4a3bf3368 (plain) (blame)
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
/**
 * SPDX-License-Identifier: ISC
 *
 * Copyright (C) 2019 rsiddharth <s@ricketyspace.net>
 *
 * This file is part of nfsw.
 */

@font-face {
    font-family: roboto-black;
    src: url('/static/fonts/roboto-black.ttf');
}

@font-face {
    font-family: roboto-medium;
    src: url('/static/fonts/roboto-medium.ttf');
}

header h1 {
    font-family: roboto-black;
    text-align: center;
    font-size: 50px;
}

.nfsw-grid {
    display: grid;
    grid-template-rows: 29vh 225px 29vh;
    grid-template-columns: auto 640px auto;
}

.nfsw-grid-item {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    align-items: center;
}

.button {
    font-family: roboto-medium;
    font-size: 25px;
    flex-basis: auto;
    border: 1px solid rgb(10, 10,10);
    background-color: rgb(10,10,10);
    color: rgb(240,240,240);
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    padding: 20px;
    width: 120px;
}

@media (min-width: 100px) and (max-width: 650px) {
    .nfsw-grid {
        grid-template-columns: auto 95vw auto;
    }

    header h1 {
        font-size: 30px;
    }

    .buttons {
        flex-direction: column;
        height: 170px;
    }

    .button {
        width: 75vw;
        font-size: 20px;
    }
}