minimal-categorized 0.0.10 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_data/menu.yml +10 -2
- data/_data/metaData.yml +2 -0
- data/_includes/avatar.html +5 -0
- data/_includes/{home.js → gate.js} +0 -0
- data/_includes/menu.html +47 -48
- data/_layouts/gate.html +35 -0
- data/_layouts/home.html +33 -33
- data/_layouts/post.html +3 -1
- data/_sass/styles/_avatar.scss +16 -0
- data/_sass/styles/_category-aggregator.scss +5 -5
- data/_sass/styles/_cookies.scss +26 -12
- data/_sass/styles/_defaults.scss +8 -5
- data/_sass/styles/_gate.scss +64 -0
- data/_sass/styles/_home.scss +91 -40
- data/_sass/styles/_index.scss +4 -1
- data/_sass/styles/_layout.scss +1 -1
- data/_sass/styles/_menu.scss +26 -5
- data/_sass/styles/_post.scss +8 -8
- data/_sass/styles/_profile.scss +4 -16
- data/_sass/styles/_projects-collection.scss +82 -0
- data/_sass/variables/_colors.scss +22 -11
- data/_sass/variables/_dark-theme.scss +25 -0
- data/_sass/variables/_layout.scss +2 -0
- data/_sass/variables/_light-theme.scss +17 -0
- data/_sass/variables/_mixins.scss +13 -0
- data/assets/img/ko-fi.jpg +0 -0
- data/assets/img/project-1.png +0 -0
- data/assets/img/project-2.svg +49 -0
- data/assets/img/project-3.svg +1 -0
- data/assets/img/project-4.png +0 -0
- data/assets/styles/highlight.css +68 -0
- data/assets/styles/styles.scss +7 -2
- data/pages/about.html +1 -5
- data/pages/category-1.html +74 -2
- data/pages/gate.html +4 -0
- data/pages/super-cat.html +9 -0
- metadata +18 -3
@@ -0,0 +1,64 @@
|
|
1
|
+
|
2
|
+
.gate {
|
3
|
+
flex-grow: 1;
|
4
|
+
display: flex;
|
5
|
+
flex-direction: row;
|
6
|
+
flex-wrap: wrap;
|
7
|
+
justify-content: space-between;
|
8
|
+
align-items: flex-start;
|
9
|
+
background-color: $main-bg-color;
|
10
|
+
a {
|
11
|
+
display: flex;
|
12
|
+
flex: 0 50%;
|
13
|
+
height: 100%;
|
14
|
+
justify-content: center;
|
15
|
+
align-items: center;
|
16
|
+
box-sizing: border-box;
|
17
|
+
border: 1px solid $base-white;
|
18
|
+
transition: .5s ease;
|
19
|
+
&:hover {
|
20
|
+
.category {
|
21
|
+
opacity: 0.25;
|
22
|
+
}
|
23
|
+
p {
|
24
|
+
opacity: 1;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.category {
|
29
|
+
display: flex;
|
30
|
+
flex: 0 100%;
|
31
|
+
opacity: 0.7;
|
32
|
+
height: 100%;
|
33
|
+
background-repeat: no-repeat;
|
34
|
+
background-size: cover;
|
35
|
+
transition: .5s ease;
|
36
|
+
backface-visibility: hidden;
|
37
|
+
@include mobile {
|
38
|
+
opacity: 0.25;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
p {
|
43
|
+
color: $p_lightest;
|
44
|
+
font-size: 42px;
|
45
|
+
font-weight: 700;
|
46
|
+
transition: .5s ease;
|
47
|
+
opacity: 0;
|
48
|
+
position: absolute;
|
49
|
+
text-align: center;
|
50
|
+
text-shadow: $dark 3px 3px 3px;
|
51
|
+
@include mobile {
|
52
|
+
opacity: 1;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@include mobile {
|
58
|
+
flex-direction: column;
|
59
|
+
a {
|
60
|
+
height: 50%;
|
61
|
+
width: 100%;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
data/_sass/styles/_home.scss
CHANGED
@@ -1,64 +1,115 @@
|
|
1
|
+
$image-dim: 192px;
|
1
2
|
|
2
3
|
.home {
|
3
|
-
flex-grow: 1;
|
4
4
|
display: flex;
|
5
|
-
flex-direction:
|
5
|
+
flex-direction: column;
|
6
6
|
flex-wrap: wrap;
|
7
7
|
justify-content: space-between;
|
8
8
|
align-items: flex-start;
|
9
|
-
|
10
|
-
|
9
|
+
color: $p_text;
|
10
|
+
.page-summary {
|
11
|
+
flex: 0;
|
12
|
+
width: 100%;
|
13
|
+
text-align: center;
|
14
|
+
}
|
15
|
+
h1 {
|
16
|
+
flex: 0;
|
17
|
+
margin: auto;
|
11
18
|
display: flex;
|
12
|
-
flex: 0 50%;
|
13
|
-
height: 100%;
|
14
|
-
justify-content: center;
|
15
19
|
align-items: center;
|
16
|
-
|
17
|
-
|
18
|
-
transition: .5s ease;
|
20
|
+
}
|
21
|
+
a {
|
19
22
|
&:hover {
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
23
|
+
text-decoration: underline $primary;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
.category {
|
27
|
+
&_wrapper {
|
28
|
+
margin-top: 2em;
|
29
|
+
flex: 1;
|
30
|
+
width: 100%;
|
31
|
+
display: flex;
|
32
|
+
@include mobile {
|
33
|
+
flex-direction: column;
|
34
|
+
margin-top: 1em;
|
25
35
|
}
|
26
36
|
}
|
27
|
-
|
28
|
-
.category {
|
37
|
+
&_container {
|
29
38
|
display: flex;
|
30
|
-
flex:
|
31
|
-
|
39
|
+
flex-direction: column;
|
40
|
+
flex: 0 50%;
|
32
41
|
height: 100%;
|
33
|
-
|
34
|
-
|
42
|
+
justify-content: flex-start;
|
43
|
+
align-items: center;
|
44
|
+
box-sizing: border-box;
|
35
45
|
transition: .5s ease;
|
36
|
-
|
46
|
+
padding-left: 2em;
|
47
|
+
padding-right: 2em;
|
37
48
|
@include mobile {
|
38
|
-
|
49
|
+
padding-left: 0;
|
50
|
+
padding-right: 0;
|
51
|
+
padding-top: 2em;
|
52
|
+
}
|
53
|
+
&:first-of-type {
|
54
|
+
border-right: 1px solid $base-white;
|
55
|
+
@include mobile {
|
56
|
+
padding-bottom: 2em;
|
57
|
+
padding-top: 0;
|
58
|
+
border-right: none;
|
59
|
+
border-bottom: 1px solid $base-white;
|
60
|
+
}
|
39
61
|
}
|
40
62
|
}
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
transition: .5s ease;
|
47
|
-
opacity: 0;
|
48
|
-
position: absolute;
|
49
|
-
text-align: center;
|
50
|
-
text-shadow: $p_dark 3px 3px 3px;
|
63
|
+
&_image {
|
64
|
+
justify-content: center !important;
|
65
|
+
display: flex;
|
66
|
+
height: $image-dim * 1.4;
|
67
|
+
align-items: center;
|
51
68
|
@include mobile {
|
52
|
-
|
69
|
+
height: $image-dim * 1.1;
|
70
|
+
}
|
71
|
+
a {
|
72
|
+
display: block;
|
73
|
+
width: $image-dim;
|
74
|
+
height: $image-dim;
|
75
|
+
border-radius: 50%;
|
76
|
+
border: 2px solid $p_light;
|
77
|
+
overflow: hidden;
|
78
|
+
transition: .5s ease;
|
79
|
+
&:hover {
|
80
|
+
height: $image-dim * 1.2;
|
81
|
+
width: $image-dim * 1.2;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
img {
|
85
|
+
height: $image-dim;
|
86
|
+
width: $image-dim;
|
87
|
+
object-fit: cover;
|
88
|
+
transition: .5s ease;
|
89
|
+
opacity: 0.85;
|
90
|
+
&:hover {
|
91
|
+
height: $image-dim * 1.2;
|
92
|
+
width: $image-dim * 1.2;
|
93
|
+
}
|
53
94
|
}
|
54
95
|
}
|
55
|
-
|
96
|
+
&_description {
|
97
|
+
text-align: center;
|
56
98
|
|
57
|
-
@include mobile {
|
58
|
-
flex-direction: column;
|
59
|
-
a {
|
60
|
-
height: 50%;
|
61
|
-
width: 100%;
|
62
99
|
}
|
100
|
+
display: flex;
|
101
|
+
flex: 0 100%;
|
102
|
+
opacity: 0.7;
|
103
|
+
height: 100%;
|
104
|
+
background-repeat: no-repeat;
|
105
|
+
background-size: cover;
|
106
|
+
backface-visibility: hidden;
|
107
|
+
@include mobile {
|
108
|
+
opacity: 0.25;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.avatar_container {
|
113
|
+
margin-right: 0.5em;
|
63
114
|
}
|
64
115
|
}
|
data/_sass/styles/_index.scss
CHANGED
data/_sass/styles/_layout.scss
CHANGED
data/_sass/styles/_menu.scss
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.menu {
|
2
2
|
$root: &;
|
3
|
-
background-image: linear-gradient(142deg, $
|
3
|
+
background-image: linear-gradient(142deg, $dark 0%, $p_darkest 45%, $dark 90%);
|
4
4
|
position: fixed;
|
5
5
|
left: 0;
|
6
6
|
top: 0;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
float: left;
|
13
13
|
width: $menu-size;
|
14
14
|
box-sizing: border-box;
|
15
|
-
border-right: 2px solid $
|
15
|
+
border-right: 2px solid $dark;
|
16
16
|
|
17
17
|
@include mobile {
|
18
18
|
flex-direction: row;
|
@@ -44,6 +44,8 @@
|
|
44
44
|
display: flex;
|
45
45
|
height: 50px;
|
46
46
|
justify-content:center;
|
47
|
+
position: relative;
|
48
|
+
|
47
49
|
a {
|
48
50
|
align-items:center;
|
49
51
|
color: $p_text;
|
@@ -59,7 +61,25 @@
|
|
59
61
|
|
60
62
|
}
|
61
63
|
&.selected {
|
62
|
-
color: $
|
64
|
+
color: $primary;
|
65
|
+
|
66
|
+
&::before{
|
67
|
+
content: "";
|
68
|
+
display: block;
|
69
|
+
width: 2px;
|
70
|
+
height: 100%;
|
71
|
+
background-color: $primary;
|
72
|
+
position: absolute;
|
73
|
+
left: -2px;
|
74
|
+
top: 0px;
|
75
|
+
box-shadow: $primary 4px 0px 22px;
|
76
|
+
@include mobile {
|
77
|
+
height: 2px;
|
78
|
+
width: 100%;
|
79
|
+
top: -2px;
|
80
|
+
left: 0;
|
81
|
+
}
|
82
|
+
}
|
63
83
|
}
|
64
84
|
@include mobile {
|
65
85
|
height: calc(#{$menu-size} - 10px);
|
@@ -109,7 +129,7 @@
|
|
109
129
|
}
|
110
130
|
}
|
111
131
|
a {
|
112
|
-
color: $
|
132
|
+
color: $p_text;
|
113
133
|
cursor:pointer;
|
114
134
|
text-align:left;
|
115
135
|
text-size-adjust:100%;
|
@@ -117,7 +137,8 @@
|
|
117
137
|
margin-left: 4px;
|
118
138
|
margin-right: 4px;
|
119
139
|
&:hover {
|
120
|
-
|
140
|
+
font-weight: 900;
|
141
|
+
color: $p_lighter;
|
121
142
|
}
|
122
143
|
}
|
123
144
|
}
|
data/_sass/styles/_post.scss
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
.post {
|
2
2
|
font-size: 1.2em;
|
3
|
-
|
4
|
-
|
5
|
-
color: $secondary;
|
6
|
-
&:hover {
|
7
|
-
text-decoration: underline;
|
8
|
-
font-weight: 500;
|
9
|
-
}
|
10
|
-
}
|
3
|
+
color: black;
|
4
|
+
@include hyperlink-convention();
|
11
5
|
.language-plaintext, .language-shell, .language-html {
|
12
6
|
border-radius: 3px;
|
13
7
|
padding: 1px 3px;
|
@@ -38,4 +32,10 @@
|
|
38
32
|
li {
|
39
33
|
display: list-item;
|
40
34
|
}
|
35
|
+
|
36
|
+
&-content {
|
37
|
+
background: $base-white;
|
38
|
+
padding: 2rem;
|
39
|
+
border-radius: 10px;
|
40
|
+
}
|
41
41
|
}
|
data/_sass/styles/_profile.scss
CHANGED
@@ -3,24 +3,12 @@ $avatar-dim: 96px;
|
|
3
3
|
.profile {
|
4
4
|
margin-top: 30px;
|
5
5
|
text-align: center;
|
6
|
-
.avatar {
|
7
|
-
justify-content: center!important;
|
8
|
-
display: flex;
|
9
|
-
a {
|
10
|
-
display: block;
|
11
|
-
width: $avatar-dim;
|
12
|
-
height: $avatar-dim;
|
13
|
-
border-radius: 50%;
|
14
|
-
border: 2px solid $p_light;
|
15
|
-
overflow: hidden;
|
16
|
-
}
|
17
|
-
img {
|
18
|
-
height: $avatar-dim;
|
19
|
-
width: $avatar-dim;
|
20
|
-
}
|
21
|
-
}
|
22
6
|
p {
|
23
7
|
margin: 6px;
|
24
8
|
line-height: 1.5em;
|
25
9
|
}
|
10
|
+
.avatar {
|
11
|
+
margin-left: auto;
|
12
|
+
margin-right: auto;
|
13
|
+
}
|
26
14
|
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
.collection {
|
2
|
+
text-align: center;
|
3
|
+
display: flex;
|
4
|
+
flex-flow: row wrap;
|
5
|
+
justify-content: center;
|
6
|
+
margin-top: 1em;
|
7
|
+
.group {
|
8
|
+
margin: 4px;
|
9
|
+
display: inline-block;
|
10
|
+
border: 2px solid $p_darkest;
|
11
|
+
border-radius: 5px;
|
12
|
+
position: relative;
|
13
|
+
text-align: initial;
|
14
|
+
min-width: 300px;
|
15
|
+
max-width: 375px;
|
16
|
+
width: 100%;
|
17
|
+
background-color: $dark;
|
18
|
+
height: fit-content;
|
19
|
+
.title {
|
20
|
+
background-color: $dark;
|
21
|
+
padding: 6px;
|
22
|
+
text-align: center;
|
23
|
+
font-weight: 900;
|
24
|
+
line-height: 10px;
|
25
|
+
}
|
26
|
+
.item {
|
27
|
+
padding: 18px 15px 18px 15px;
|
28
|
+
width: 100%;
|
29
|
+
display: flex;
|
30
|
+
cursor: pointer;
|
31
|
+
transition: 0.5s ease all;
|
32
|
+
-webkit-transition: 0.5s ease all;
|
33
|
+
position: relative;
|
34
|
+
box-sizing: border-box;
|
35
|
+
color: $p_text;
|
36
|
+
line-height: 1.2em;
|
37
|
+
border-bottom: 1px solid $p_darkest;
|
38
|
+
border-top: 1px solid $p_darkest;
|
39
|
+
&:last-child {
|
40
|
+
border-bottom: none;
|
41
|
+
}
|
42
|
+
&:first-child {
|
43
|
+
border-top: 2px solid $p_darkest;
|
44
|
+
}
|
45
|
+
&:hover {
|
46
|
+
background-image: linear-gradient(to right, $p_darkest, $dark);
|
47
|
+
&::before {
|
48
|
+
content: "";
|
49
|
+
display: block;
|
50
|
+
width: 4px;
|
51
|
+
height: 100%;
|
52
|
+
background-color: $primary;
|
53
|
+
position: absolute;
|
54
|
+
left: -2px;
|
55
|
+
top: 0px;
|
56
|
+
box-shadow: $primary 4px 0px 22px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
.icon {
|
60
|
+
min-width: 50px;
|
61
|
+
img, i {
|
62
|
+
width: 32px;
|
63
|
+
height: 32px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
.content {
|
67
|
+
h4 {
|
68
|
+
margin: 0px;
|
69
|
+
font-weight: 500;
|
70
|
+
min-height: 1.5em;
|
71
|
+
font-size: 1em;
|
72
|
+
line-height: 1em;
|
73
|
+
}
|
74
|
+
.description {
|
75
|
+
padding-left: 1px;
|
76
|
+
font-size: 0.75em;
|
77
|
+
line-height: 1.1em;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|