Robo-knowledge-web-theme 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/_includes/back_to_top.html +3 -0
- data/_includes/categories_fetcher.html +1 -0
- data/_includes/footer.html +22 -0
- data/_includes/navigation.html +5 -0
- data/_includes/posts_fetcher.html +2 -0
- data/_includes/search_categories_fetcher.html +1 -0
- data/_includes/search_tags_fetcher.html +1 -0
- data/_includes/tags_fetcher.html +1 -0
- data/_layouts/author.html +149 -0
- data/_layouts/authors_search_layout.html +28 -0
- data/_layouts/categories_search_layout.html +16 -0
- data/_layouts/default.html +17 -0
- data/_layouts/post.html +31 -0
- data/_layouts/posts_search_layout.html +49 -0
- data/_layouts/robo_content_layout.html +45 -0
- data/_layouts/robo_main_layout.html +353 -0
- data/_layouts/robo_search_layout.html +33 -0
- data/_layouts/tags_search_layout.html +16 -0
- data/_sass/content_page_styles.scss +211 -0
- data/_sass/general_colors.scss +142 -0
- data/_sass/general_shadows.scss +12 -0
- data/_sass/general_styles.scss +123 -0
- data/_sass/main.scss +3 -0
- data/_sass/main_page_colors.scss +80 -0
- data/_sass/main_page_styles.scss +741 -0
- data/_sass/search_page_styles.scss +94 -0
- metadata +69 -0
@@ -0,0 +1,142 @@
|
|
1
|
+
//标签颜色们以及Hover
|
2
|
+
.label_color_bule {
|
3
|
+
background-color: #95E1D3;
|
4
|
+
}
|
5
|
+
|
6
|
+
.label_color_green {
|
7
|
+
background-color: #EAFFD0;
|
8
|
+
}
|
9
|
+
|
10
|
+
.label_color_yellow {
|
11
|
+
background-color: #FCE38A;
|
12
|
+
}
|
13
|
+
|
14
|
+
.label_color_red {
|
15
|
+
background-color: #F38181;
|
16
|
+
}
|
17
|
+
|
18
|
+
//颜色们
|
19
|
+
.color_pure_white {
|
20
|
+
color: #FFFFFF;
|
21
|
+
}
|
22
|
+
|
23
|
+
.color_pure_black {
|
24
|
+
color: #000000;
|
25
|
+
}
|
26
|
+
|
27
|
+
.color_golden {
|
28
|
+
color: #ADA996;
|
29
|
+
}
|
30
|
+
|
31
|
+
.color_rice_white {
|
32
|
+
color: #FBFBFB;
|
33
|
+
}
|
34
|
+
|
35
|
+
.color_deep_red {
|
36
|
+
color: #261D1D;
|
37
|
+
}
|
38
|
+
|
39
|
+
.color_deep_blue {
|
40
|
+
color: #112D4E;
|
41
|
+
}
|
42
|
+
|
43
|
+
.color_4_black {
|
44
|
+
color: #444444;
|
45
|
+
}
|
46
|
+
|
47
|
+
.color_85_gray {
|
48
|
+
color: #858585;
|
49
|
+
}
|
50
|
+
|
51
|
+
.color_normal_gray {
|
52
|
+
color: #6D838C;
|
53
|
+
}
|
54
|
+
|
55
|
+
.color_deep_red {
|
56
|
+
color: #5a1010;
|
57
|
+
}
|
58
|
+
|
59
|
+
.color_34_black {
|
60
|
+
color: #343434;
|
61
|
+
}
|
62
|
+
|
63
|
+
.background_color_deep_red {
|
64
|
+
background-color: #5a1010;
|
65
|
+
}
|
66
|
+
|
67
|
+
.background_color_shallow_green {
|
68
|
+
background-color: #11D3BC;
|
69
|
+
}
|
70
|
+
|
71
|
+
.background_color_4_black {
|
72
|
+
background-color: #444444;
|
73
|
+
}
|
74
|
+
|
75
|
+
// 背景板,中景板和中景Icon的颜色
|
76
|
+
.back_ground_color {
|
77
|
+
background-color: #454545;
|
78
|
+
}
|
79
|
+
|
80
|
+
.back_ground_icon_color {
|
81
|
+
background-color: #7A7979;
|
82
|
+
}
|
83
|
+
|
84
|
+
.middle_ground_color {
|
85
|
+
background-color: #FBFBFB;
|
86
|
+
}
|
87
|
+
|
88
|
+
//Powerd By Jekyll的黑金渐变色
|
89
|
+
@keyframes gradient-powerd-scroll {
|
90
|
+
0% {
|
91
|
+
background-position: 0% 50%
|
92
|
+
}
|
93
|
+
|
94
|
+
50% {
|
95
|
+
background-position: 100% 50%
|
96
|
+
}
|
97
|
+
|
98
|
+
100% {
|
99
|
+
background-position: 0% 50%
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
.power_content_color {
|
104
|
+
background-size: 200% 200%;
|
105
|
+
background-image: linear-gradient(to right, #ADA996 0%, #958E6C 25%, #8A8989 75%, #4A4602 100%);
|
106
|
+
-webkit-background-clip: text;
|
107
|
+
color: transparent;
|
108
|
+
animation: gradient-powerd-scroll 10s ease-in-out infinite;
|
109
|
+
}
|
110
|
+
|
111
|
+
//Designed By Pixso的粉蓝渐变色
|
112
|
+
.power_design_color {
|
113
|
+
background-size: 200% 200%;
|
114
|
+
background-image: linear-gradient(to right, #5266bd 0%, #cf6bcf 100%);
|
115
|
+
-webkit-background-clip: text;
|
116
|
+
color: transparent;
|
117
|
+
animation: gradient-powerd-scroll 10s ease-in-out infinite;
|
118
|
+
}
|
119
|
+
|
120
|
+
//通用按钮颜色
|
121
|
+
.normal_btn_color {
|
122
|
+
color: #112D4E;
|
123
|
+
background-color: #FFFFFF;
|
124
|
+
}
|
125
|
+
|
126
|
+
.normal_btn_color:hover {
|
127
|
+
background-color: #112D4E;
|
128
|
+
color: #FFFFFF;
|
129
|
+
}
|
130
|
+
|
131
|
+
.normal_write_to_shallow {
|
132
|
+
background-color: #FFFFFF;
|
133
|
+
}
|
134
|
+
|
135
|
+
.normal_write_to_shallow:hover {
|
136
|
+
background-color: #e2e1e1;
|
137
|
+
}
|
138
|
+
|
139
|
+
.normal_background_black {
|
140
|
+
background-color: #444444;
|
141
|
+
color: #F7F6E7;
|
142
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
//通用Styles
|
2
|
+
body {
|
3
|
+
min-height: 100vh;
|
4
|
+
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
overflow-y: auto;
|
8
|
+
|
9
|
+
padding: 0;
|
10
|
+
margin: 0;
|
11
|
+
|
12
|
+
font-family: "Ali_Ma", sans-serif;
|
13
|
+
}
|
14
|
+
|
15
|
+
.middle_icon {
|
16
|
+
position: relative;
|
17
|
+
width: 100px;
|
18
|
+
height: 100px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.icon_space {
|
22
|
+
position: absolute;
|
23
|
+
|
24
|
+
width: 100%;
|
25
|
+
height: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
.bold_text {
|
29
|
+
font-weight: bold;
|
30
|
+
}
|
31
|
+
|
32
|
+
//提示框样式以及加载提示框文本的不可见容器样式
|
33
|
+
.hinter {
|
34
|
+
width: 100%;
|
35
|
+
height: auto;
|
36
|
+
|
37
|
+
margin-top: 10px;
|
38
|
+
|
39
|
+
font-size: 20px;
|
40
|
+
text-align: center;
|
41
|
+
}
|
42
|
+
|
43
|
+
.hinter_text_container {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
|
47
|
+
//a元素常用样式
|
48
|
+
.normal_a {
|
49
|
+
text-decoration: none;
|
50
|
+
}
|
51
|
+
|
52
|
+
.normal_a:hover {
|
53
|
+
text-decoration: underline;
|
54
|
+
}
|
55
|
+
|
56
|
+
//回到顶部样式
|
57
|
+
.back_to_top_container {
|
58
|
+
|
59
|
+
position: fixed;
|
60
|
+
|
61
|
+
bottom: 20px;
|
62
|
+
right: 20px;
|
63
|
+
|
64
|
+
z-index: 1000;
|
65
|
+
|
66
|
+
background-image: url("../images/general_svgs/goback_svgs/goback_container.svg");
|
67
|
+
background-size: contain;
|
68
|
+
background-repeat: no-repeat;
|
69
|
+
|
70
|
+
width: 100px;
|
71
|
+
height: 100px;
|
72
|
+
|
73
|
+
display: none;
|
74
|
+
|
75
|
+
|
76
|
+
}
|
77
|
+
|
78
|
+
.back_to_top_top {
|
79
|
+
width: 50%;
|
80
|
+
height: 10px;
|
81
|
+
|
82
|
+
background-image: url("../images/general_svgs/goback_svgs/goback_top.svg");
|
83
|
+
background-size: contain;
|
84
|
+
background-repeat: no-repeat;
|
85
|
+
|
86
|
+
margin-top: 35px;
|
87
|
+
|
88
|
+
}
|
89
|
+
|
90
|
+
.back_to_top_arrow {
|
91
|
+
width: 40px;
|
92
|
+
height: 40px;
|
93
|
+
|
94
|
+
background-image: url("../images/general_svgs/goback_svgs/goback_arrow.svg");
|
95
|
+
background-size: contain;
|
96
|
+
background-repeat: no-repeat;
|
97
|
+
|
98
|
+
margin-top: 2px;
|
99
|
+
}
|
100
|
+
|
101
|
+
.smaller_p_margin {
|
102
|
+
margin: 10px 0 0 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
//代码块样式
|
106
|
+
|
107
|
+
pre {
|
108
|
+
background-color: #444444;
|
109
|
+
border: 1px solid #ccc;
|
110
|
+
border-radius: 5px;
|
111
|
+
padding: 10px;
|
112
|
+
overflow-x: auto;
|
113
|
+
white-space: pre-wrap;
|
114
|
+
font-family: monospace;
|
115
|
+
font-size: 14px;
|
116
|
+
}
|
117
|
+
|
118
|
+
code {
|
119
|
+
color: #FFFFFF;
|
120
|
+
background-color: #444444;
|
121
|
+
padding: 2px;
|
122
|
+
margin: 0 5px;
|
123
|
+
}
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
//GitHub分享渐变色
|
2
|
+
.github_share_color {
|
3
|
+
background-image: linear-gradient(to bottom, #FFFA00, #32EED5);
|
4
|
+
}
|
5
|
+
|
6
|
+
//公告栏渐变颜色+颜色动画
|
7
|
+
@keyframes gradient-bulletin-scroll {
|
8
|
+
0% {
|
9
|
+
background-position: 0% 50%
|
10
|
+
}
|
11
|
+
|
12
|
+
50% {
|
13
|
+
background-position: 100% 50%
|
14
|
+
}
|
15
|
+
|
16
|
+
100% {
|
17
|
+
background-position: 0% 50%
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.bulletin_board_title_color {
|
22
|
+
background-size: 200% 100%;
|
23
|
+
background-image: repeating-linear-gradient(to right, #ADA996 0%, #D0CEC4 14%, #DBDBDB 29%, #EAEAEA 44%, #DBDBDB 59%, #D0CEC4 78%, #ADA996 100%);
|
24
|
+
color: #444444;
|
25
|
+
animation: gradient-bulletin-scroll 6s ease-in-out infinite;
|
26
|
+
}
|
27
|
+
|
28
|
+
//"标题党"专栏渐变颜色+动画
|
29
|
+
@keyframes gradient-title-scroll {
|
30
|
+
0% {
|
31
|
+
background-position: 0% 50%
|
32
|
+
}
|
33
|
+
|
34
|
+
50% {
|
35
|
+
background-position: 100% 50%
|
36
|
+
}
|
37
|
+
|
38
|
+
100% {
|
39
|
+
background-position: 0% 50%
|
40
|
+
}
|
41
|
+
}
|
42
|
+
.title_board_color {
|
43
|
+
background-size: 200% 100%;
|
44
|
+
background-image: linear-gradient(to right, #D9A7C7 0%, #FBD786 50%, #F7797D 100%);
|
45
|
+
color: #444444;
|
46
|
+
animation: gradient-title-scroll 5s ease-in-out infinite;
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
//标题党卡片
|
52
|
+
.title_board_card_color {
|
53
|
+
background-color: #FFFFFF;
|
54
|
+
color: #444444;
|
55
|
+
}
|
56
|
+
|
57
|
+
.title_board_card_color:hover {
|
58
|
+
background-color: #444444;
|
59
|
+
color: #FFFFFF;
|
60
|
+
}
|
61
|
+
|
62
|
+
//公告栏下面几个功能按钮的背景颜色
|
63
|
+
.other_black_button {
|
64
|
+
background-color: #444444;
|
65
|
+
color: #F7F6E7;
|
66
|
+
}
|
67
|
+
|
68
|
+
.other_black_button:hover {
|
69
|
+
color: #222222;
|
70
|
+
}
|
71
|
+
|
72
|
+
.other_white_button {
|
73
|
+
background-color: #FFFFFF;
|
74
|
+
color: #112D4E;
|
75
|
+
}
|
76
|
+
|
77
|
+
.other_white_button:hover {
|
78
|
+
background-color: #444444;
|
79
|
+
color: #F7F6E7;
|
80
|
+
}
|