jekyll-theme-morph 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +189 -0
- data/_includes/bread-bar.html +9 -0
- data/_includes/catalogue.html +26 -0
- data/_includes/footer.html +7 -0
- data/_includes/head.html +37 -0
- data/_includes/header.html +45 -0
- data/_includes/paginator.html +27 -0
- data/_includes/post-info.html +31 -0
- data/_includes/simple-post-info.html +14 -0
- data/_includes/trending-article-item.html +25 -0
- data/_layouts/classify.html +55 -0
- data/_layouts/default.html +16 -0
- data/_layouts/home.html +82 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +84 -0
- data/_layouts/search.html +36 -0
- data/_sass/classify.scss +58 -0
- data/_sass/home.scss +67 -0
- data/_sass/morph.scss +7 -0
- data/_sass/morph/_base.scss +62 -0
- data/_sass/morph/_colors.scss +42 -0
- data/_sass/morph/_functions.scss +57 -0
- data/_sass/morph/_utilities.scss +196 -0
- data/_sass/morph/_variables.scss +50 -0
- data/_sass/morph/components/_catalogue.scss +68 -0
- data/_sass/morph/components/_footer.sass +9 -0
- data/_sass/morph/components/_header.scss +80 -0
- data/_sass/morph/components/_highlight.scss +66 -0
- data/_sass/morph/components/_nano-compo.scss +23 -0
- data/_sass/morph/components/_paginator.scss +19 -0
- data/_sass/morph/components/_post-info.scss +30 -0
- data/_sass/morph/themes/obsidian.scss +86 -0
- data/_sass/morph/themes/silver.scss +79 -0
- data/_sass/post.scss +194 -0
- data/_sass/search.scss +68 -0
- data/assets/javascript/post.js +52 -0
- data/assets/javascript/search.js +51 -0
- data/assets/style/classify.scss +4 -0
- data/assets/style/home.scss +4 -0
- data/assets/style/main.scss +4 -0
- data/assets/style/post.scss +5 -0
- data/assets/style/search.scss +4 -0
- metadata +156 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
// code highlight
|
2
|
+
@import "../variables";
|
3
|
+
|
4
|
+
.highlight {
|
5
|
+
border-radius: 3px;
|
6
|
+
background: $color-primary;
|
7
|
+
::-webkit-scrollbar{
|
8
|
+
//width: 20px;
|
9
|
+
height: .5rem;
|
10
|
+
}
|
11
|
+
::-webkit-scrollbar-thumb{
|
12
|
+
border-radius: 1em;
|
13
|
+
background-color: $color-primary-light;
|
14
|
+
}
|
15
|
+
::-webkit-scrollbar-track{
|
16
|
+
border-radius: 1em;
|
17
|
+
background-color: $color-primary-dark;
|
18
|
+
}
|
19
|
+
|
20
|
+
.highlighter-rouge & {
|
21
|
+
background: $color-primary;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
pre, code {
|
26
|
+
font-family: $monospaced;
|
27
|
+
font-size: 0.9375em;
|
28
|
+
border: 1px solid $color-primary;
|
29
|
+
border-radius: 3px;
|
30
|
+
background-color: $color-primary;
|
31
|
+
}
|
32
|
+
code {
|
33
|
+
padding: 1px 5px;
|
34
|
+
}
|
35
|
+
pre {
|
36
|
+
padding: 8px 12px;
|
37
|
+
overflow-x: auto;
|
38
|
+
|
39
|
+
> code {
|
40
|
+
border: 0;
|
41
|
+
padding-right: 0;
|
42
|
+
padding-left: 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
.rouge-gutter, .gutter {
|
46
|
+
$color-gl: $color-secondary-light;
|
47
|
+
border-right: 1px solid $color-primary-dark;
|
48
|
+
.lineno {
|
49
|
+
padding-right: 1rem;
|
50
|
+
color: $color-secondary-light;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
.code {
|
54
|
+
padding: 0 1rem;
|
55
|
+
}
|
56
|
+
code.language-plaintext {
|
57
|
+
background-color: $color-primary;
|
58
|
+
color: $color-secondary-dark;
|
59
|
+
font-weight: bold;
|
60
|
+
padding: 2px 4px;
|
61
|
+
word-wrap:break-word;
|
62
|
+
}
|
63
|
+
|
64
|
+
.rouge-code pre {
|
65
|
+
margin-bottom: 0 !important;
|
66
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@import "../variables";
|
2
|
+
@import "../functions";
|
3
|
+
|
4
|
+
.full-mask {
|
5
|
+
display: none;
|
6
|
+
z-index: 10;
|
7
|
+
position: fixed;
|
8
|
+
top: 0; left: 0;
|
9
|
+
background-color: rgba(0,0,0,.5);
|
10
|
+
width: 100%;
|
11
|
+
height: 100%;
|
12
|
+
}
|
13
|
+
|
14
|
+
.component {
|
15
|
+
&.bread {
|
16
|
+
font-size: .9rem;
|
17
|
+
|
18
|
+
span {
|
19
|
+
padding: .3rem;
|
20
|
+
border-radius: 5px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@import "../variables";
|
2
|
+
|
3
|
+
.pagination {
|
4
|
+
padding: 2rem 0;
|
5
|
+
a, span, em {
|
6
|
+
display: inline-block;
|
7
|
+
color: $color-secondary-light;
|
8
|
+
padding: .4rem .8rem;
|
9
|
+
background-color: $color-primary;
|
10
|
+
text-align: center;
|
11
|
+
vertical-align: middle;
|
12
|
+
border-radius: 4px;
|
13
|
+
}
|
14
|
+
|
15
|
+
em {
|
16
|
+
color: $color-secondary-dark;
|
17
|
+
font-style: normal;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
@import "../variables";
|
2
|
+
|
3
|
+
.post-info {
|
4
|
+
padding: 1rem .7rem;
|
5
|
+
border-radius: 8px;
|
6
|
+
&:hover {
|
7
|
+
background-color: $color-primary-light;
|
8
|
+
a.flat {
|
9
|
+
background-color: $color-primary-dark;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
&:not(:first-child) {
|
13
|
+
border-top: 1px dashed $color-primary-dark;
|
14
|
+
}
|
15
|
+
h3, p, .categories {
|
16
|
+
padding: 10px 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
p {
|
20
|
+
line-height: 1.4em;
|
21
|
+
}
|
22
|
+
|
23
|
+
h3 {
|
24
|
+
font-size: 1.3rem;
|
25
|
+
padding-bottom: 4px;
|
26
|
+
}
|
27
|
+
time, .categories {
|
28
|
+
font-size: .7rem;
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
// scss-docs-start color-variables
|
2
|
+
|
3
|
+
// skin colors
|
4
|
+
$color-base: #464646 !default;
|
5
|
+
|
6
|
+
$color-primary-light: #404040 !default;
|
7
|
+
$color-primary: #343434 !default;
|
8
|
+
$color-primary-dark: #282828 !default;
|
9
|
+
|
10
|
+
$color-secondary-light: #eeeeee !default;
|
11
|
+
$color-secondary: #c9c9c9 !default;
|
12
|
+
$color-secondary-dark: #a8a8a8 !default;
|
13
|
+
|
14
|
+
$color-link-light: #acd3ff !default;
|
15
|
+
$color-link: #6da0e2 !default;
|
16
|
+
$color-link-dark: #3b84ea !default;
|
17
|
+
|
18
|
+
$color-rang1: #ffd191 !default;
|
19
|
+
$color-rang2: #cb85d7 !default;
|
20
|
+
$color-logo: $color-link-light !default;
|
21
|
+
|
22
|
+
.highlight { background: #2b2b2b; color: #f9f7f3 }
|
23
|
+
.highlight .hll { background-color: #3a4055 }
|
24
|
+
.highlight .c { color: #5a647e } /* Comment */
|
25
|
+
.highlight .err { color: #da4939 } /* Error */
|
26
|
+
.highlight .k { color: #b6b3eb } /* Keyword */
|
27
|
+
.highlight .l { color: #cc7833 } /* Literal */
|
28
|
+
.highlight .n { color: #f9f7f3 } /* Name */
|
29
|
+
.highlight .o { color: #519f50 } /* Operator */
|
30
|
+
.highlight .p { color: #f9f7f3 } /* Punctuation */
|
31
|
+
.highlight .cm { color: #5a647e } /* Comment.Multiline */
|
32
|
+
.highlight .cp { color: #5a647e } /* Comment.Preproc */
|
33
|
+
.highlight .c1 { color: #5a647e } /* Comment.Single */
|
34
|
+
.highlight .cs { color: #5a647e } /* Comment.Special */
|
35
|
+
.highlight .gd { color: #da4939 } /* Generic.Deleted */
|
36
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
37
|
+
.highlight .gh { color: #f9f7f3; font-weight: bold } /* Generic.Heading */
|
38
|
+
.highlight .gi { color: #a5c261 } /* Generic.Inserted */
|
39
|
+
.highlight .gp { color: #5a647e; font-weight: bold } /* Generic.Prompt */
|
40
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
41
|
+
.highlight .gu { color: #519f50; font-weight: bold } /* Generic.Subheading */
|
42
|
+
.highlight .kc { color: #b6b3eb } /* Keyword.Constant */
|
43
|
+
.highlight .kd { color: #b6b3eb } /* Keyword.Declaration */
|
44
|
+
.highlight .kn { color: #519f50 } /* Keyword.Namespace */
|
45
|
+
.highlight .kp { color: #b6b3eb } /* Keyword.Pseudo */
|
46
|
+
.highlight .kr { color: #b6b3eb } /* Keyword.Reserved */
|
47
|
+
.highlight .kt { color: #ffc66d } /* Keyword.Type */
|
48
|
+
.highlight .ld { color: #a5c261 } /* Literal.Date */
|
49
|
+
.highlight .m { color: #cc7833 } /* Literal.Number */
|
50
|
+
.highlight .s { color: #a5c261 } /* Literal.String */
|
51
|
+
.highlight .na { color: #6d9cbe } /* Name.Attribute */
|
52
|
+
.highlight .nb { color: #f9f7f3 } /* Name.Builtin */
|
53
|
+
.highlight .nc { color: #ffc66d } /* Name.Class */
|
54
|
+
.highlight .no { color: #da4939 } /* Name.Constant */
|
55
|
+
.highlight .nd { color: #519f50 } /* Name.Decorator */
|
56
|
+
.highlight .ni { color: #f9f7f3 } /* Name.Entity */
|
57
|
+
.highlight .ne { color: #da4939 } /* Name.Exception */
|
58
|
+
.highlight .nf { color: #6d9cbe } /* Name.Function */
|
59
|
+
.highlight .nl { color: #f9f7f3 } /* Name.Label */
|
60
|
+
.highlight .nn { color: #ffc66d } /* Name.Namespace */
|
61
|
+
.highlight .nx { color: #6d9cbe } /* Name.Other */
|
62
|
+
.highlight .py { color: #f9f7f3 } /* Name.Property */
|
63
|
+
.highlight .nt { color: #519f50 } /* Name.Tag */
|
64
|
+
.highlight .nv { color: #da4939 } /* Name.Variable */
|
65
|
+
.highlight .ow { color: #519f50 } /* Operator.Word */
|
66
|
+
.highlight .w { color: #f9f7f3 } /* Text.Whitespace */
|
67
|
+
.highlight .mf { color: #cc7833 } /* Literal.Number.Float */
|
68
|
+
.highlight .mh { color: #cc7833 } /* Literal.Number.Hex */
|
69
|
+
.highlight .mi { color: #cc7833 } /* Literal.Number.Integer */
|
70
|
+
.highlight .mo { color: #cc7833 } /* Literal.Number.Oct */
|
71
|
+
.highlight .sb { color: #a5c261 } /* Literal.String.Backtick */
|
72
|
+
.highlight .sc { color: #f9f7f3 } /* Literal.String.Char */
|
73
|
+
.highlight .sd { color: #5a647e } /* Literal.String.Doc */
|
74
|
+
.highlight .s2 { color: #a5c261 } /* Literal.String.Double */
|
75
|
+
.highlight .se { color: #cc7833 } /* Literal.String.Escape */
|
76
|
+
.highlight .sh { color: #a5c261 } /* Literal.String.Heredoc */
|
77
|
+
.highlight .si { color: #cc7833 } /* Literal.String.Interpol */
|
78
|
+
.highlight .sx { color: #a5c261 } /* Literal.String.Other */
|
79
|
+
.highlight .sr { color: #a5c261 } /* Literal.String.Regex */
|
80
|
+
.highlight .s1 { color: #a5c261 } /* Literal.String.Single */
|
81
|
+
.highlight .ss { color: #a5c261 } /* Literal.String.Symbol */
|
82
|
+
.highlight .bp { color: #f9f7f3 } /* Name.Builtin.Pseudo */
|
83
|
+
.highlight .vc { color: #da4939 } /* Name.Variable.Class */
|
84
|
+
.highlight .vg { color: #da4939 } /* Name.Variable.Global */
|
85
|
+
.highlight .vi { color: #da4939 } /* Name.Variable.Instance */
|
86
|
+
.highlight .il { color: #cc7833 } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,79 @@
|
|
1
|
+
// Build colors
|
2
|
+
|
3
|
+
$colors: (
|
4
|
+
"base": white,
|
5
|
+
"primary-light": #f8f8f8,
|
6
|
+
"primary": #f4f4f4,
|
7
|
+
"primary-dark": #e5e5e5,
|
8
|
+
"secondary-light": #7a7a7a,
|
9
|
+
"secondary": #515151,
|
10
|
+
"secondary-dark": #303030,
|
11
|
+
"link-light": #729fcf,
|
12
|
+
"link": #3465a4,
|
13
|
+
"link-dark": #204a87,
|
14
|
+
"rang1": #e9b96e,
|
15
|
+
"rang2": #75507b,
|
16
|
+
"logo": #204a87
|
17
|
+
) !default;
|
18
|
+
|
19
|
+
.highlight {
|
20
|
+
.c { color: #998; font-style: italic } // Comment
|
21
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
22
|
+
.k { font-weight: bold } // Keyword
|
23
|
+
.o { font-weight: bold } // Operator
|
24
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
25
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
26
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
27
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
28
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
29
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
30
|
+
.ge { font-style: italic } // Generic.Emph
|
31
|
+
.gr { color: #a00 } // Generic.Error
|
32
|
+
.gh { color: #999 } // Generic.Heading
|
33
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
34
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
35
|
+
.go { color: #888 } // Generic.Output
|
36
|
+
.gp { color: #555 } // Generic.Prompt
|
37
|
+
.gs { font-weight: bold } // Generic.Strong
|
38
|
+
.gu { color: #aaa } // Generic.Subheading
|
39
|
+
.gt { color: #a00 } // Generic.Traceback
|
40
|
+
.kc { font-weight: bold } // Keyword.Constant
|
41
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
42
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
43
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
44
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
45
|
+
.m { color: #099 } // Literal.Number
|
46
|
+
.s { color: #d14 } // Literal.String
|
47
|
+
.na { color: #008080 } // Name.Attribute
|
48
|
+
.nb { color: #0086B3 } // Name.Builtin
|
49
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
50
|
+
.no { color: #008080 } // Name.Constant
|
51
|
+
.ni { color: #800080 } // Name.Entity
|
52
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
53
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
54
|
+
.nn { color: #555 } // Name.Namespace
|
55
|
+
.nt { color: #000080 } // Name.Tag
|
56
|
+
.nv { color: #008080 } // Name.Variable
|
57
|
+
.ow { font-weight: bold } // Operator.Word
|
58
|
+
.w { color: #bbb } // Text.Whitespace
|
59
|
+
.mf { color: #099 } // Literal.Number.Float
|
60
|
+
.mh { color: #099 } // Literal.Number.Hex
|
61
|
+
.mi { color: #099 } // Literal.Number.Integer
|
62
|
+
.mo { color: #099 } // Literal.Number.Oct
|
63
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
64
|
+
.sc { color: #d14 } // Literal.String.Char
|
65
|
+
.sd { color: #d14 } // Literal.String.Doc
|
66
|
+
.s2 { color: #d14 } // Literal.String.Double
|
67
|
+
.se { color: #d14 } // Literal.String.Escape
|
68
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
69
|
+
.si { color: #d14 } // Literal.String.Interpol
|
70
|
+
.sx { color: #d14 } // Literal.String.Other
|
71
|
+
.sr { color: #009926 } // Literal.String.Regex
|
72
|
+
.s1 { color: #d14 } // Literal.String.Single
|
73
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
74
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
75
|
+
.vc { color: #008080 } // Name.Variable.Class
|
76
|
+
.vg { color: #008080 } // Name.Variable.Global
|
77
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
78
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
79
|
+
}
|
data/_sass/post.scss
ADDED
@@ -0,0 +1,194 @@
|
|
1
|
+
@import "morph/variables";
|
2
|
+
@import "morph/colors";
|
3
|
+
@import "morph/functions";
|
4
|
+
@import "morph/components/highlight";
|
5
|
+
@import "morph/components/catalogue";
|
6
|
+
|
7
|
+
.page-post {
|
8
|
+
.content {
|
9
|
+
.position-sticky-top {
|
10
|
+
position: sticky;
|
11
|
+
top: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.status-bar {
|
15
|
+
@include media-sm() {
|
16
|
+
top: 0;
|
17
|
+
}
|
18
|
+
height: 3rem;
|
19
|
+
|
20
|
+
.structure-menu {
|
21
|
+
height: 100%;
|
22
|
+
|
23
|
+
button {
|
24
|
+
display: none;
|
25
|
+
padding: .4rem .6rem;
|
26
|
+
border-radius: 100%;
|
27
|
+
border: 1px solid $color-primary;
|
28
|
+
@include media-sm() {
|
29
|
+
display: inline;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
// left area
|
36
|
+
.left {
|
37
|
+
padding: 2rem 0;
|
38
|
+
color: $color-secondary;
|
39
|
+
width: 70%;
|
40
|
+
@include media-sm() {
|
41
|
+
width: 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
header {
|
45
|
+
padding: 0 0 2.5rem 0;
|
46
|
+
.title {
|
47
|
+
font-size: 2.5rem;
|
48
|
+
padding: .5rem 0;
|
49
|
+
@include media-sm() {
|
50
|
+
font-size: 2rem;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
// right area
|
57
|
+
.right {
|
58
|
+
margin-left: 2rem;
|
59
|
+
padding: 2rem 0;
|
60
|
+
width: 30%;
|
61
|
+
|
62
|
+
#scroll-top-lg {
|
63
|
+
display: none;
|
64
|
+
position: fixed;
|
65
|
+
bottom: 7rem;
|
66
|
+
width: 3rem;
|
67
|
+
height: 2.5rem;
|
68
|
+
border-radius: 8px;
|
69
|
+
line-height: 2.5rem;
|
70
|
+
border: 1px solid $color-primary-dark;
|
71
|
+
font-size: 2rem;
|
72
|
+
margin-left: 3em;
|
73
|
+
&:hover {
|
74
|
+
background-color: $color-secondary-dark;
|
75
|
+
color: $color-primary-dark;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
h2 {
|
80
|
+
padding: 0 0 1rem 1rem;
|
81
|
+
border-left: 2px solid $color-primary-dark;
|
82
|
+
border-bottom: 2px solid $color-primary-dark;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// article area
|
87
|
+
article.text {
|
88
|
+
color: map-get($colors, 'secondary-light');
|
89
|
+
font-size: 16px;
|
90
|
+
line-height: 1.5;
|
91
|
+
|
92
|
+
h1, h2, h3, h4, h5, h6,
|
93
|
+
p, blockquote, pre,
|
94
|
+
ul, ol, dl, figure,
|
95
|
+
%vertical-rhythm {
|
96
|
+
margin-bottom: .8rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
ul, ol {
|
100
|
+
margin-left: 1.5rem;
|
101
|
+
}
|
102
|
+
|
103
|
+
li {
|
104
|
+
&::marker {
|
105
|
+
color: $color-secondary-dark;
|
106
|
+
}
|
107
|
+
> ul,
|
108
|
+
> ol {
|
109
|
+
margin-bottom: 0;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
hr {
|
114
|
+
margin-top: 1rem;
|
115
|
+
margin-bottom: 1rem;
|
116
|
+
}
|
117
|
+
|
118
|
+
figure > img {
|
119
|
+
display: block;
|
120
|
+
}
|
121
|
+
|
122
|
+
a {
|
123
|
+
&:hover {
|
124
|
+
text-decoration: underline;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
blockquote {
|
129
|
+
p {
|
130
|
+
color: $color-secondary;
|
131
|
+
}
|
132
|
+
border-left: 4px solid $color-rang1;
|
133
|
+
padding-left: .5em;
|
134
|
+
font-style: italic;
|
135
|
+
|
136
|
+
i, em {
|
137
|
+
font-style: normal;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
// header style and anchor animations
|
142
|
+
h1, h2, h3, h4, h5, h6 {
|
143
|
+
font-weight: normal;
|
144
|
+
color: $color-secondary-dark;
|
145
|
+
margin-top: 2.5rem;
|
146
|
+
//padding: 1rem 0 .5rem 0;
|
147
|
+
.header-anchor {
|
148
|
+
display: none;
|
149
|
+
margin-left: 5px;
|
150
|
+
font-size: .7em;
|
151
|
+
}
|
152
|
+
|
153
|
+
&:hover .header-anchor {
|
154
|
+
display: inline-block;
|
155
|
+
animation: fade-in .5s;
|
156
|
+
-webkit-animation: fade-in .5s;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
// table
|
161
|
+
table:not(.rouge-table) {
|
162
|
+
margin-bottom: 1rem;
|
163
|
+
width: 100%;
|
164
|
+
text-align: left;
|
165
|
+
color: $color-secondary;
|
166
|
+
border-collapse: collapse;
|
167
|
+
border: 1px solid $color-primary-dark;
|
168
|
+
tr {
|
169
|
+
&:nth-child(even) {
|
170
|
+
background-color: $color-primary;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
th, td {
|
174
|
+
padding: (2rem / 3) (2rem / 2);
|
175
|
+
}
|
176
|
+
th {
|
177
|
+
background-color: $color-primary-dark;
|
178
|
+
border: 1px solid $color-primary-dark;
|
179
|
+
}
|
180
|
+
td {
|
181
|
+
border: 1px solid $color-primary-dark;
|
182
|
+
}
|
183
|
+
|
184
|
+
@include media-sm() {
|
185
|
+
display: block;
|
186
|
+
overflow-x: auto;
|
187
|
+
-webkit-overflow-scrolling: touch;
|
188
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|