blob: 05e63b9b8a4061250c0368c264ecc3c7ca4e5ebc (
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
|
// bulma base
@import "../sass/utilities/_all";
@import "../sass/base/_all";
@import "../sass/elements/container";
@import "../sass/elements/content";
@import "../sass/elements/title";
@import "../sass/elements/tag";
@import "../sass/elements/box";
@import "../sass/form/shared";
@import "../sass/form/tools";
@import "../sass/components/breadcrumb";
@import "../sass/components/navbar";
@import "../sass/components/pagination";
@import "../sass/components/message";
@import "../sass/components/card";
@import "../sass/components/media";
@import "../sass/grid/_all";
@import "../sass/helpers/_all";
@import "../sass/layout/_all";
// my css
/* overwrite bulma */
.section, .hero-body {
padding: 3rem 3rem;
}
.tag a {
color: currentColor;
}
.pagination-link.is-current {
background-color: $primary;
border-color: $primary;
color: $white;
}
/* fixed footer */
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#main {
flex: 1;
}
.footer {
/* border-top: 2px solid #f5f5f5; */
background: #fafafa;
box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.1);
position: relative;
z-index: 1;
}
a {
color: $primary;
}
/* link */
// u
*:hover > .anchorjs-link {
transition: color .25s linear;
}
/* article content wrapper*/
.sidebar {
height: 100%;
}
#toc {
padding-left: 2rem;
}
.fake-text {
color: transparent !important;
}
.shadow-hero {
box-shadow: 0 0 1.2rem 0 rgba(0, 0, 0, 0.25);
position: relative;
// z-index: 1;
}
/*syntax highlight label*/
.highlight {
position: relative;
}
.chroma code:before {
content: attr(data-lang);
position: absolute;
right: 0.5rem;
top: 0rem;
opacity: 0.5;
font-weight: 700;
}
/*category and tags*/
.post-tag {
margin-right: 0.5em;
}
.post-tag a {
color: currentColor;
}
.post-tag a:hover {
text-decoration: underline;
}
.post-meta {
opacity: 0.9;
}
/* posts */
.post-box {
position: relative;
}
.post-box-tags {
position: absolute;
right: 0rem;
bottom: 0rem;
}
.post-box-tag {
color: $primary;
font-size: 0.9em;
}
.post-box-meta {
padding-bottom: 0.1rem;
opacity: 0.8;
font-size: 0.9rem;
}
#back-to-top {
background: $primary;
}
|