aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home/index.css
blob: 0376513d5d9e41a3b87b2c29b1895ffecbbf7aff (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
109
110
111
112
113
.discord-banner {
    border-radius: 0.5rem;
}

.hero-image {
    width: 20rem;
    margin: auto;
}

.hero-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.section-sp img {
    height: 5rem;
    margin-right: 2rem;
}

.video-container iframe,
.video-container object,
.video-container embed {
    width: 100%;
    height: calc(92vw * 0.5625);
    margin: 8px auto auto auto;
}

div.card.github-card {
    box-shadow: none;
    border: #d1d5da 1px solid;
    border-radius: 3px;
}

div.repo-headline {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

span.repo-language-dot {
    border-radius: 50%;
    height: 12px;
    width: 12px;
    top: 1px;
    display: inline-block;
    position: relative;
}

span.repo-language-dot.python {
    background-color: #3572A5;
}

span.repo-language-dot.html {
    background-color: #e34c26;
}

span.repo-language-dot.css {
    background-color: #563d7c;
}

span.repo-language-dot.javascript {
    background-color: #f1e05a;
}

#repo-footer-item {
    margin-left: 1.2rem;
}

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

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

#sponsors-hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media screen and (min-width: 1088px) {
    .column.is-half, .column.is-half-tablet {
        flex: none;
        width: 50%;
    }

    .columns:not(.is-desktop) {
        display: flex;
    }

    .video-container iframe {
        height: calc(42vw * 0.5625);
        max-height: 371px;
        max-width: 660px;
    }
}

@media screen and (max-width: 1087px) {
    .column.is-half, .column.is-half-tablet {
        flex: none;
        width: 100%;
    }

    .columns:not(.is-desktop) {
        display: block;
    }

    .video-container iframe {
        height: calc(92vw * 0.5625);
        max-height: none;
        max-width: none;
    }
}