aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/base/base.css
blob: 75702d47025f5f36e23db72d2870aaa08635dd90 (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
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
html {
    overflow: auto;
}

body.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main.site-content {
    flex: 1;
}

div.card.has-equal-height {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar-item.is-fullsize {
    padding: 0;
}

.navbar-item.is-fullsize img {
    max-height: 4.75rem;
}

.navbar-item.has-no-highlight:hover {
    background-color: transparent;
}

.navbar-item.has-left-margin-1 {
    margin-left: 1rem;
}

.navbar-item.has-left-margin-2 {
    margin-left: 2rem;
}

.navbar-item.has-left-margin-3 {
    margin-left: 3rem;
}

#navbar-banner {
    background-color: transparent;
}

#navbar-banner img {
    max-height: 3rem;
}

#django-logo {
    padding-bottom: 2px;
    background: url(https://static.djangoproject.com/img/logos/django-logo-negative.png) no-repeat center;
    filter: grayscale(1) invert(0.02);
    background-size: 52px 25.5px;
    background-position: -1px -2px;
    color: #00000000;
}

#bulma-logo {
    padding-left: 18px;
    height: 20px;
    background: url(https://bulma.io/images/bulma-logo-white.png) no-repeat center;
    background-size: 60px;
    color: #00000000;
}

#pydis-text {
    font-weight: bold;
}


/* Navbar "more" menu should be on top of messages. I could not figure
 * out a better way to fix this one without just applying a high z-index
 * to everything - anyone have any better ideas? Does it matter since the
 * navbar should be above everything anyway?
 */

.navbar, .navbar * {
    z-index: 1001;
}

/* Fix for logout form submit button in navbar */

button.is-size-navbar-menu, a.is-size-navbar-menu {
    font-size: 14px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media screen and (min-width: 1088px) {
    button.is-size-navbar-menu, a.is-size-navbar-menu {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Fix for modals being behind the navbar */

.modal * {
    z-index: 1020;
}

.modal-background {
    z-index: 1010;
}