minimal-categorized 0.0.11 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,64 +1,115 @@
1
+ $image-dim: 192px;
1
2
 
2
3
  .home {
3
- flex-grow: 1;
4
4
  display: flex;
5
- flex-direction: row;
5
+ flex-direction: column;
6
6
  flex-wrap: wrap;
7
7
  justify-content: space-between;
8
8
  align-items: flex-start;
9
- background-color: $p_dark;
10
- a {
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
- box-sizing: border-box;
17
- border: 1px solid $base-white;
18
- transition: .5s ease;
20
+ }
21
+ a {
19
22
  &:hover {
20
- .category {
21
- opacity: 0.25;
22
- }
23
- p {
24
- opacity: 1;
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: 0 100%;
31
- opacity: 0.7;
39
+ flex-direction: column;
40
+ flex: 0 50%;
32
41
  height: 100%;
33
- background-repeat: no-repeat;
34
- background-size: cover;
42
+ justify-content: flex-start;
43
+ align-items: center;
44
+ box-sizing: border-box;
35
45
  transition: .5s ease;
36
- backface-visibility: hidden;
46
+ padding-left: 2em;
47
+ padding-right: 2em;
37
48
  @include mobile {
38
- opacity: 0.25;
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
- 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: $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
- opacity: 1;
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
  }
@@ -5,4 +5,7 @@
5
5
  @import './category-aggregator';
6
6
  @import './profile';
7
7
  @import './post';
8
- @import './cookies';
8
+ @import './cookies';
9
+ @import './projects-collection.scss';
10
+ @import './gate.scss';
11
+ @import './avatar';
@@ -27,7 +27,7 @@ main {
27
27
  footer {
28
28
  width: 100%;
29
29
  text-align: center;
30
- color: black;
30
+ color:$p_text;
31
31
  display: flex;
32
32
  justify-content: center;
33
33
  font-size: 0.7em;
@@ -1,6 +1,6 @@
1
1
  .menu {
2
2
  $root: &;
3
- background-image: linear-gradient(142deg, $p_dark 0%, $primary 45%, $p_dark 90%);
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 $p_dark;
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: $s_lighter;
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: $p_lighter;
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
- color: $p_lightest;
140
+ font-weight: 900;
141
+ color: $p_lighter;
121
142
  }
122
143
  }
123
144
  }
@@ -1,13 +1,7 @@
1
1
  .post {
2
2
  font-size: 1.2em;
3
- a {
4
- text-decoration-line: none;
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;
@@ -16,6 +10,8 @@
16
10
  figure {
17
11
  margin: 0;
18
12
  width: 100%;
13
+ margin-top: 0.5em;
14
+ margin-bottom: 0.5em;
19
15
  img {
20
16
  width: 100%;
21
17
  background-repeat: no-repeat;
@@ -38,4 +34,10 @@
38
34
  li {
39
35
  display: list-item;
40
36
  }
37
+
38
+ &-content {
39
+ background: $base-white;
40
+ padding: 2rem;
41
+ border-radius: 10px;
42
+ }
41
43
  }
@@ -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
+ }
@@ -1,14 +1,25 @@
1
1
  $base-white: #fafafa;
2
- $main-bg-color: #fafafa;
3
-
4
- $primary: #455a64;
5
- $p_light: #718792;
6
- $p_lighter: #a8bac2;
7
- $p_lightest: #eef3f5;
8
- $p_dark: #1c313a;
9
- $secondary: #303f9f;
10
- $s_light: #666ad1;
11
- $s_lighter: #a0a0d1;
2
+ $main-bg-color: #162129;
3
+
4
+ $primary: #4fc2f7;
5
+ $p_light: #81d3fa;
6
+ $p_lighter_less: #81d3fa;
7
+ $p_lighter: #b3e4fc;
8
+ $p_lightest: #e1f5fe;
9
+ $p_dark: #09a7f4;
10
+ $p_darker: #0986d0;
11
+ $p_darkest: #07559a;
12
+
13
+ $dark: #162129;
14
+
15
+ $secondary: #f7844f;
16
+ $s_light: #faa682;
17
+ $s_lighter: #fdc9b3;
18
+ $s_lightest: #fbe8e4;
12
19
  $s_dark: #001970;
13
- $p_text: #ffffff;
20
+
21
+ $p_text: #ecf8ff;
22
+ $p_text_dimmed: #5e8ca7;
14
23
  $s_text: #ffffff;
24
+
25
+ $post_content_bg_color: #fff;
@@ -0,0 +1,25 @@
1
+ $base-white: #fafafa;
2
+ $main-bg-color: #162129;
3
+
4
+ $primary: #4fc2f7;
5
+ $p_light: #81d3fa;
6
+ $p_lighter_less: #81d3fa;
7
+ $p_lighter: #b3e4fc;
8
+ $p_lightest: #e1f5fe;
9
+ $p_dark: #09a7f4;
10
+ $p_darker: #0986d0;
11
+ $p_darkest: #07559a;
12
+
13
+ $dark: #162129;
14
+
15
+ $secondary: #f7844f;
16
+ $s_light: #faa682;
17
+ $s_lighter: #fdc9b3;
18
+ $s_lightest: #fbe8e4;
19
+ $s_dark: #001970;
20
+
21
+ $p_text: #ecf8ff;
22
+ $p_text_dimmed: #5e8ca7;
23
+ $s_text: #ffffff;
24
+
25
+ $post_content_bg_color: #fff;