summaryrefslogtreecommitdiff
path: root/MainLayout.razor.css
blob: 87b8aae530b03335a2883bcee3adf8f68916fd43 (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
div#navbar {
    background: var(--col-navbar-bg);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 10px;
    display:    flex;
}

div#navbar > a {
    color:   white;
    display: inline-block;
    padding: 20px 20px 20px 20px;
}

div#navbar > a:hover {
    background: rgba(255, 255, 255, 0.4);
    filter:     none;
}

div#navbar > a:active {
    background: #fff;
    color:      var(--col-navbar-bg);
}

p#nsfw-label {
    align-self:  center;
    font-size:   9pt;
    margin-left: auto;
}

div#nsfw-switch {
    align-self:  center;
    margin-left: 10px;
}

div#navbar form {
    display:   flex;
    margin:    0 20px 0 20px;
    min-width: 30%;
}

div#navbar input[type="text"] {
    align-self:    center;
    background:    var(--col-bg);
    border-radius: 0;
    color:         white;
    font-size:     12pt;
    height:        40px !important;
    margin:        0;
    width:         100%;
}

#content {
    flex:       1 1 calc(100vh - 119px);
    overflow-x: hidden;
    overflow-y: auto;
    padding:    30px;
}