summaryrefslogtreecommitdiff
path: root/sass/theme.scss
blob: a9fe6930c40cccf21e8f4bbed956ab3543453839 (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
135
136
@import "_colors.scss";
@import "_reset.scss";
@import "_typography.scss";

* {
    box-sizing: border-box;
}

body {
    font-family: "PT Serif", serif;
    background-color: var(--color-background);

    width: 800px;
    margin: auto;
}

hr {
    border: none;
    border-top: 1px solid var(--color-outline-variant);
}

.article-header {
    margin-top: 16px;
    margin-bottom: 32px;

    h1 {
        color: var(--color-on-background);
        font-size: 32px;
        font-family: "PT Serif Caption", serif;

        a {
            color: inherit;
            text-decoration: none;
        }
    }

    .info {
        margin-top: 12px;
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: center;

        .date {
            color: var(--color-secondary);
        }

        .tags {
            display: flex;
            flex-direction: row;
            gap: 8px;

            a {
                display: block;
                background-color: var(--color-primary-container);
                color: var(--color-on-primary-container);
                padding: 4px 12px;
                border-radius: 999px;
                text-decoration: none;

                &:hover {
                    opacity: 80%;
                }
            }
        }
    }
}

.pagination {
    display: flex;
    flex-direction: row;
    gap: 16px;
    font-size: 18px;
    font-family: "PT Serif Caption", serif;
    margin: 32px 0px;

    a {
        display: block;
        color: var(--color-primary);
        text-decoration: none;

        &:hover {
            opacity: 80%;
        }
    }
}

#footer {
    border-top: 1px solid var(--color-outline-variant);
    padding: 16px 0px;
    margin-top: 24px;
}

#header {
    margin-bottom: 24px;
    padding: 20px 0px;
    border-bottom: 1px solid var(--color-outline-variant);
    display: flex;
    flex-direction: row;
    align-items: center;

    .title_desc {
        display: flex;
        flex-direction: column;
        gap: 8px;

        .title a {
            text-decoration: none;
            color: var(--color-on-background);
            font-size: 28px;
        }

        .description {
            color: var(--color-on-surface-variant);
            font-size: 16px;
        }
    }

    .navigation {
        display: flex;
        flex-direction: row;

        a {
            display: block;
            text-decoration: none;
            color: var(--color-on-background);
            padding: 8px 16px;
            border-radius: 9999px;

            &:hover {
                background-color: var(--color-primary-container);
                color: var(--color-on-primary-container);
            }
        }
    }
}