minimal-categorized 0.0.9 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,18 +2,18 @@ h1 {
2
2
  text-transform: uppercase;
3
3
  font-weight: 700;
4
4
  text-rendering: optimizeLegibility;
5
- color: inherit;
5
+ color: $primary;
6
6
  text-align: center;
7
7
  font-size: 2.5em;
8
8
  letter-spacing: -1px;
9
- margin: 1em 50px 1em;
9
+ padding: 0.5em;
10
10
  }
11
11
 
12
- h2, h2 a {
12
+ h2, h2, h3 a {
13
13
  font-weight: 700;
14
14
  font-size: 1.4em;
15
15
  line-height: 1.4em;
16
- color: $secondary;
16
+ color: $primary;
17
17
  }
18
18
 
19
19
  * {
@@ -26,6 +26,7 @@ body {
26
26
  font-size: 16px;
27
27
  color: $base-white;
28
28
  font-family: forma-djr-micro,Arial,sans-serif;
29
+ -webkit-font-smoothing: antialiased;
29
30
  }
30
31
  main {
31
32
  .content-container {
@@ -34,9 +35,13 @@ main {
34
35
  width: 90%;
35
36
  padding: 0px 18px 24px;
36
37
  flex-grow: 1;
38
+ position: relative;
37
39
 
38
40
  .content-separator {
39
41
  margin: $gap auto;
42
+ &:last-child {
43
+ margin: $gap auto 0 auto;
44
+ }
40
45
  }
41
46
  }
42
47
  }
@@ -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
+ }
@@ -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 * 2;
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.5;
81
+ width: $image-dim * 1.5;
82
+ }
83
+ }
84
+ img {
85
+ height: $image-dim;
86
+ width: $image-dim;
87
+ object-fit: cover;
88
+ transition: .5s ease;
89
+ opacity: 0.8;
90
+ &:hover {
91
+ height: $image-dim * 1.5;
92
+ width: $image-dim * 1.5;
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
  }
@@ -4,4 +4,8 @@
4
4
  @import './home';
5
5
  @import './category-aggregator';
6
6
  @import './profile';
7
- @import "./post";
7
+ @import './post';
8
+ @import './cookies';
9
+ @import './projects-collection.scss';
10
+ @import './gate.scss';
11
+ @import './avatar';
@@ -16,6 +16,7 @@ main {
16
16
  top: $menu-size;
17
17
  left: 0;
18
18
  width: 100%;
19
+ height: calc(100% - #{$menu-size});
19
20
  }
20
21
  &.no-menu {
21
22
  width: 100%;
@@ -26,7 +27,7 @@ main {
26
27
  footer {
27
28
  width: 100%;
28
29
  text-align: center;
29
- color: black;
30
+ color:$p_text;
30
31
  display: flex;
31
32
  justify-content: center;
32
33
  font-size: 0.7em;
@@ -43,6 +44,7 @@ footer {
43
44
  top: $minimal-menu-size;
44
45
  left: 0;
45
46
  width: 100%;
47
+ height: calc(100% - #{$minimal-menu-size});
46
48
  }
47
49
  }
48
50
  }
@@ -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);
@@ -76,7 +96,7 @@
76
96
 
77
97
  h1 {
78
98
  font-size: 2em;
79
- margin: 0.5em;
99
+ padding: 0.5em;
80
100
  }
81
101
 
82
102
  h2 {
@@ -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,10 +1,13 @@
1
1
  .post {
2
2
  font-size: 1.2em;
3
+ color: black;
3
4
  a {
5
+ transition: all 300ms ease 0s;
6
+ cursor: pointer;
4
7
  text-decoration-line: none;
5
- color: $secondary;
8
+ text-decoration: underline $primary;
6
9
  &:hover {
7
- text-decoration: underline;
10
+ color: $primary;
8
11
  font-weight: 500;
9
12
  }
10
13
  }
@@ -38,4 +41,10 @@
38
41
  li {
39
42
  display: list-item;
40
43
  }
44
+
45
+ &-content {
46
+ background: $base-white;
47
+ padding: 2rem;
48
+ border-radius: 10px;
49
+ }
41
50
  }
@@ -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
+ }