summary refs log tree commit diff
path: root/static/style.css
blob: 1868c63bdb707acdb7ea9a1f9504dbd39982b689 (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
main {
    font-family: monospace, monospace;
    max-width: 38rem;
    padding: 2rem;
    margin: auto;
}

header {
    max-width: 50rem;
    padding: 2rem;
    margin: auto;
    background-color: #040529;
    color: #9978fc;
}

@media only screen and (max-device-width: 736px) {
    main {
        padding: 0rem;
    }

    header {
        padding: 0rem;
    }
}

::selection {
    background: #d3869b;
}

body {
    background: #282828;
    color: #ebdbb2;
}

pre {
    background-color: #3c3836;
    padding: 1em;
    border: 0;
}

a,
a:active,
a:visited {
    color: #b16286;
    background-color: #1d2021;
}

h1,
h2,
h3,
h4,
h5 {
    margin-bottom: .1rem;
}

blockquote {
    border-left: 1px solid #bdae93;
    margin: 0.5em 10px;
    padding: 0.5em 10px;
}

footer {
    text-align: center;
}

@media (prefers-color-scheme: light) {
    body {
        background: #fbf1c7;
        color: #3c3836;
    }

    pre {
        background-color: #ebdbb2;
        padding: 1em;
        border: 0;
    }

    a,
    a:active,
    a:visited {
        color: #b16286;
        background-color: #f9f5d7;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
        margin-bottom: .1rem;
    }

    blockquote {
        border-left: 1px solid #655c54;
        margin: 0.5em 10px;
        padding: 0.5em 10px;
    }
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
    background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex
}

.userbox {
    /* Optional: control width */
    width: 200px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    padding: 10px;
}

.post-content {
    /* Optional: make this div fill remaining space */
    margin-left: 20px;
    padding-right: 15%;
    flex: 1;
}