~linuxgoose/bocpress

ref: 6ed45057c9f060d7715c485f1840a2dd2aad494c bocpress/export_base_hugo/style.css -rw-r--r-- 2.1 KiB
6ed45057Jordan Robinson release 1.3.6 8 days ago
                                                                                
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
/* general */
:root {
    --dark-grey-color: #a8a8a8;
    --light-grey-color: #eff1f5;
    --green-color: #26bd60;
    --red-color: #ff0000;
}

html,
body {
    margin: 0;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    max-width: 500px;
}

img {
    width: 100%;
}

h2,
h3 {
    font-weight: 500;
}

main {
    max-width: 500px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 500px) {
    main {
        padding-left: 8px;
        padding-right: 8px;
    }
}

aside {
    max-width: 500px;
    padding: 2px 6px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
@media (max-width: 500px) {
    aside {
        margin-left: 8px;
        margin-right: 8px;
    }
}

nav {
    max-width: 500px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 500px) {
    nav {
        padding-left: 8px;
        padding-right: 8px;
    }
}

blockquote {
    max-width: 500px;
}

/* index */
.byline {
    color: var(--dark-grey-color);
    margin-top: 24px;
    margin-bottom: 24px;
}

.byline::before {
    content: "» ";
}

.posts {
    list-style: none;
    padding-left: 0;
}

.posts li {
    font-size: 16px;
    margin-bottom: 24px;
}

.posts small {
    white-space: nowrap;
    color: var(--dark-grey-color);
}

.posts time {
    white-space: nowrap;
}

/* post detail */
.posts-item-title {
    margin-bottom: 8px;
}

.posts-item-byline {
    color: var(--dark-grey-color);
    margin-bottom: 8px;
}

.posts-item-brand {
    display: block;
    margin-top: 16px;
    margin-bottom: 16px;
    color: var(--dark-grey-color);
}

.posts-item-brand:hover {
    text-decoration: none;
}

.posts-item-brand::before {
    content: "« ";
}

/* footer */
footer {
    margin-left: auto;
    margin-right: auto;
    margin-top: 64px;
    margin-bottom: 16px;
    max-width: 500px;
}
@media (max-width: 500px) {
    footer {
        padding-left: 8px;
        padding-right: 8px;
    }
}