ilog 0.2.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/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ilog.gemspec +29 -0
- data/lib/ilog/assets/favicon.ico +0 -0
- data/lib/ilog/assets/images/.gitkeep +0 -0
- data/lib/ilog/assets/javascripts/.gitkeep +0 -0
- data/lib/ilog/assets/javascripts/index.js +60723 -0
- data/lib/ilog/assets/javascripts/vue-config.js +92 -0
- data/lib/ilog/assets/javascripts/vue-index.js +60725 -0
- data/lib/ilog/assets/stylesheets/.gitkeep +0 -0
- data/lib/ilog/assets/stylesheets/log-style.css +3858 -0
- data/lib/ilog/assets/stylesheets/style.css +3858 -0
- data/lib/ilog/config/routes.rb +13 -0
- data/lib/ilog/configuration.rb +8 -0
- data/lib/ilog/controllers/.gitkeep +0 -0
- data/lib/ilog/controllers/digital/show.rb +23 -0
- data/lib/ilog/controllers/digital/tags.rb +15 -0
- data/lib/ilog/controllers/index/.DS_Store +0 -0
- data/lib/ilog/controllers/index/digital.rb +27 -0
- data/lib/ilog/controllers/index/index.rb +95 -0
- data/lib/ilog/controllers/platform/platform.rb +12 -0
- data/lib/ilog/controllers/post/post.rb +12 -0
- data/lib/ilog/models/item.rb +5 -0
- data/lib/ilog/models/post.rb +9 -0
- data/lib/ilog/models/stuff.rb +8 -0
- data/lib/ilog/templates/application.html.erb +11 -0
- data/lib/ilog/templates/digital/show.html.erb +0 -0
- data/lib/ilog/templates/digital/tags.html.erb +0 -0
- data/lib/ilog/templates/index/digital.html.erb +40 -0
- data/lib/ilog/templates/index/index.html.haml +10 -0
- data/lib/ilog/templates/index/vue.html.erb +0 -0
- data/lib/ilog/templates/platform/platform.html.erb +0 -0
- data/lib/ilog/templates/post/post.html.erb +0 -0
- data/lib/ilog/version.rb +3 -0
- data/lib/ilog/views/application_layout.rb +7 -0
- data/lib/ilog/views/digital/show.rb +9 -0
- data/lib/ilog/views/digital/tags.rb +9 -0
- data/lib/ilog/views/index/.DS_Store +0 -0
- data/lib/ilog/views/index/digital.rb +10 -0
- data/lib/ilog/views/index/index.rb +10 -0
- data/lib/ilog/views/platform/platform.rb +9 -0
- data/lib/ilog/views/post/post.rb +9 -0
- data/lib/ilog.rb +331 -0
- data/mix-manifest.json +5 -0
- data/package.json +40 -0
- data/src/js/vue-config.js +7 -0
- data/src/sass/.DS_Store +0 -0
- data/src/sass/_variables.scss +3 -0
- data/src/sass/components/.DS_Store +0 -0
- data/src/sass/components/article-text.scss +223 -0
- data/src/sass/components/card.scss +33 -0
- data/src/sass/components/post.scss +5 -0
- data/src/sass/components/selectize.scss +324 -0
- data/src/sass/components/single.scss +80 -0
- data/src/sass/components/tag.scss +46 -0
- data/src/sass/fonts/headings.scss +105 -0
- data/src/sass/fonts/pure.scss +29 -0
- data/src/sass/libs/selectize.scss +8 -0
- data/src/sass/log/.DS_Store +0 -0
- data/src/sass/log/base.scss +132 -0
- data/src/sass/log/grid.scss +82 -0
- data/src/sass/log/instagram-header.scss +123 -0
- data/src/sass/log/list.scss +242 -0
- data/src/sass/log/style.scss +3 -0
- data/src/sass/log/treestyle-addons.scss +102 -0
- data/src/sass/log/treestyle.scss +163 -0
- data/src/sass/style.scss +28 -0
- data/src/vue/Log.vue +257 -0
- data/src/vue/components/.DS_Store +0 -0
- data/src/vue/components/Item.vue +46 -0
- data/src/vue/components/Modal.vue +27 -0
- data/src/vue/components/Post.vue +125 -0
- data/src/vue/components/PostBody.vue +86 -0
- data/src/vue/components/Stuff.vue +63 -0
- data/src/vue/configs/app.js +5 -0
- data/src/vue/configs/axios.js +14 -0
- data/src/vue/elements/People.vue +75 -0
- data/src/vue/elements/Profile.vue +63 -0
- data/src/vue/elements/Tunekit.vue +82 -0
- data/src/vue/index.js +30 -0
- data/src/vue/router.js +50 -0
- data/src/vue/views/.DS_Store +0 -0
- data/src/vue/views/Introduction.vue +88 -0
- data/src/vue/views/List.vue +46 -0
- data/src/vue/views/Post.vue +163 -0
- data/webpack.mix.js +6 -0
- metadata +141 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
.log {
|
2
|
+
grid-template-rows: max-content 1fr max-content;
|
3
|
+
max-height: 100vh;
|
4
|
+
display: flex;
|
5
|
+
flex-direction: column;
|
6
|
+
@include breakpoint(md) {
|
7
|
+
box-shadow: 0px 0px .2rem black;
|
8
|
+
margin: 2vh 2vw;
|
9
|
+
max-height: 96vh;
|
10
|
+
}
|
11
|
+
@include breakpoint(lg) {
|
12
|
+
margin: 5vh 3vw;
|
13
|
+
max-height: 90vh;
|
14
|
+
max-width: 94vw;
|
15
|
+
display: flex;
|
16
|
+
flex-wrap: wrap;
|
17
|
+
flex-direction: column;
|
18
|
+
justify-content: space-between;
|
19
|
+
}
|
20
|
+
@include breakpoint(xl) {
|
21
|
+
display: flex;
|
22
|
+
flex-wrap: wrap;
|
23
|
+
flex-direction: row;
|
24
|
+
}
|
25
|
+
|
26
|
+
> * {
|
27
|
+
width: 100%;
|
28
|
+
max-height: 100%;
|
29
|
+
}
|
30
|
+
> main {
|
31
|
+
flex-grow: 1;
|
32
|
+
height: calc(100% - 3rem);
|
33
|
+
}
|
34
|
+
> header {
|
35
|
+
}
|
36
|
+
> footer {
|
37
|
+
}
|
38
|
+
@include breakpoint(md) {
|
39
|
+
}
|
40
|
+
@include breakpoint(lg) {
|
41
|
+
> header, > footer {
|
42
|
+
order: 1;
|
43
|
+
width: 40%;
|
44
|
+
}
|
45
|
+
> main {
|
46
|
+
order: 2;
|
47
|
+
width: 60%;
|
48
|
+
height: 90vh;
|
49
|
+
max-height: 90vh;
|
50
|
+
padding-bottom: 0px;
|
51
|
+
}
|
52
|
+
> header {
|
53
|
+
height: calc(90vh - 3.6rem);
|
54
|
+
}
|
55
|
+
> footer {
|
56
|
+
}
|
57
|
+
}
|
58
|
+
@include breakpoint(xl) {
|
59
|
+
> * {
|
60
|
+
flex-grow: 1;
|
61
|
+
max-height: 90vh;
|
62
|
+
overflow: scroll;
|
63
|
+
}
|
64
|
+
> main {
|
65
|
+
width: 58%;
|
66
|
+
}
|
67
|
+
> header {
|
68
|
+
height: auto;
|
69
|
+
width: 24%;
|
70
|
+
}
|
71
|
+
> footer {
|
72
|
+
width: 18%;
|
73
|
+
order: 3;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
> main {
|
78
|
+
overflow-y: scroll;
|
79
|
+
-webkit-overflow-scrolling: touch;
|
80
|
+
box-sizing: border-box;
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
.log {
|
2
|
+
|
3
|
+
> header {
|
4
|
+
display: grid;
|
5
|
+
grid-template-areas: "information avatar" "status status" "tunekit tunekit";
|
6
|
+
grid-template-columns: 2fr 1fr;
|
7
|
+
@include breakpoint(sm) {
|
8
|
+
grid-template-areas: "information avatar" "status status" "tunekit tunekit";
|
9
|
+
}
|
10
|
+
@include breakpoint(md) {
|
11
|
+
grid-template-areas: "information avatar"
|
12
|
+
"status avatar"
|
13
|
+
"tunekit tunekit";
|
14
|
+
}
|
15
|
+
@include breakpoint(lg) {
|
16
|
+
grid-template-areas: "avatar information information tunekit"
|
17
|
+
"avatar status status tunekit";
|
18
|
+
grid-template-columns: 1fr 2fr 1fr 2fr;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
margin: .9rem .0px 0px 0px;
|
23
|
+
padding: 0px;
|
24
|
+
|
25
|
+
@include breakpoint(md) {
|
26
|
+
margin: 2rem auto 0px auto;
|
27
|
+
max-width: 90vw;
|
28
|
+
}
|
29
|
+
|
30
|
+
overflow: visible;
|
31
|
+
|
32
|
+
box-shadow: 0px 0px .2rem black;
|
33
|
+
|
34
|
+
> .avatar {
|
35
|
+
min-height: 10vh;
|
36
|
+
height: 100%;
|
37
|
+
grid-area: avatar;
|
38
|
+
|
39
|
+
background-position: center;
|
40
|
+
background-repeat: no-repeat;
|
41
|
+
background-size: cover;
|
42
|
+
}
|
43
|
+
|
44
|
+
> .status {
|
45
|
+
grid-area: status;
|
46
|
+
|
47
|
+
padding: .4rem 1rem;
|
48
|
+
font-size: 1.1em;
|
49
|
+
background-color: rgba($second-color, 1);
|
50
|
+
}
|
51
|
+
|
52
|
+
> .information {
|
53
|
+
grid-area: information;
|
54
|
+
|
55
|
+
overflow: visible;
|
56
|
+
|
57
|
+
margin: 0px;
|
58
|
+
padding: .4rem 1rem;
|
59
|
+
|
60
|
+
background-color: rgba($second-color, 1);
|
61
|
+
.author {
|
62
|
+
}
|
63
|
+
> * {
|
64
|
+
margin: .2rem 0px;
|
65
|
+
}
|
66
|
+
.detail {
|
67
|
+
> .addresses {
|
68
|
+
font-size: 0.85em;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
> .tunekit {
|
74
|
+
grid-area: tunekit;
|
75
|
+
padding: .4rem;
|
76
|
+
@include breakpoint(sm) {
|
77
|
+
padding: 0px;
|
78
|
+
}
|
79
|
+
background-color: rgba($second-color, 1);
|
80
|
+
|
81
|
+
> .contact {
|
82
|
+
display: flex;
|
83
|
+
flex-direction: row;
|
84
|
+
text-align: center;
|
85
|
+
> * {
|
86
|
+
flex-grow: 1;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
form {
|
91
|
+
padding: .5rem;
|
92
|
+
display: flex;
|
93
|
+
flex-direction: row;
|
94
|
+
overflow: visible;
|
95
|
+
.multiselect.input-multiselect {
|
96
|
+
flex-grow: 1;
|
97
|
+
width: calc(100% - 4rem);
|
98
|
+
// z-index: 20;
|
99
|
+
}
|
100
|
+
button {
|
101
|
+
width: 2rem;
|
102
|
+
background: none;
|
103
|
+
border: none;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
> footer {
|
111
|
+
margin: 0px 0px .9rem 0px;
|
112
|
+
@include breakpoint(md) {
|
113
|
+
margin: 0px auto 2rem auto;
|
114
|
+
max-width: 90vw;
|
115
|
+
}
|
116
|
+
|
117
|
+
padding: 2rem;
|
118
|
+
box-shadow: 0px 0px .4rem black;
|
119
|
+
|
120
|
+
color: white;
|
121
|
+
background-color: rgba($second-color, 1);
|
122
|
+
}
|
123
|
+
}
|
@@ -0,0 +1,242 @@
|
|
1
|
+
.log-list {
|
2
|
+
> header {
|
3
|
+
background: linear-gradient(rgba($main-color, 1), rgba($main-color, .9));
|
4
|
+
max-height: fit-content;
|
5
|
+
|
6
|
+
.profile {
|
7
|
+
display: flex;
|
8
|
+
> * {
|
9
|
+
padding: .8rem;
|
10
|
+
display: inline-block;
|
11
|
+
}
|
12
|
+
.avatar-container {
|
13
|
+
padding: 0px;
|
14
|
+
background-color: $main-color !important;
|
15
|
+
}
|
16
|
+
img {
|
17
|
+
max-width: 45vw;
|
18
|
+
max-height: 50vh;
|
19
|
+
padding: 0px;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
> .tunekit {
|
23
|
+
padding: .4rem;
|
24
|
+
display: flex;
|
25
|
+
flex-direction: column;
|
26
|
+
@include breakpoint(md) {
|
27
|
+
flex-flow: row;
|
28
|
+
}
|
29
|
+
justify-content: space-around;
|
30
|
+
form {
|
31
|
+
padding: .4rem;
|
32
|
+
display: flex;
|
33
|
+
flex-grow: 2;
|
34
|
+
.multiselect__tags {
|
35
|
+
background-color: transparent;
|
36
|
+
}
|
37
|
+
.multiselect {
|
38
|
+
.input {
|
39
|
+
box-sizing: border-box;
|
40
|
+
padding: .1rem .4rem;
|
41
|
+
}
|
42
|
+
flex-grow: 2;
|
43
|
+
margin: 0px .4rem;
|
44
|
+
font-size: 1rem;
|
45
|
+
}
|
46
|
+
button {
|
47
|
+
margin: .1rem;
|
48
|
+
flex-grow: 1;
|
49
|
+
line-height: 1;
|
50
|
+
padding: 0rem .4rem;
|
51
|
+
font-size: .8rem;
|
52
|
+
border: 1px solid gray;
|
53
|
+
background-color: #FFFAFA;
|
54
|
+
border-radius: .2rem;
|
55
|
+
color: gray;
|
56
|
+
box-shadow: 0px 0px .15rem rgba(0, 0, 0, .4);
|
57
|
+
&:hover {
|
58
|
+
background-color: white;
|
59
|
+
border: 1px solid $main-color;
|
60
|
+
color: $main-color;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
> header, > footer {
|
67
|
+
nav {
|
68
|
+
text-align: center;
|
69
|
+
background-color: rgba($second-color, .9);
|
70
|
+
.button {
|
71
|
+
display: block;
|
72
|
+
cursor: hand;
|
73
|
+
color: $second-color-op;
|
74
|
+
&:hover {
|
75
|
+
background-color: #333;
|
76
|
+
color: white;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
> .item {
|
82
|
+
margin: .3rem 0px;
|
83
|
+
box-shadow: 0px 0px 2px rgba(0, 0, 0, .2);
|
84
|
+
padding: .4rem 0px .8rem 0px;
|
85
|
+
|
86
|
+
.link {
|
87
|
+
display: block;
|
88
|
+
cursor: pointer;
|
89
|
+
}
|
90
|
+
|
91
|
+
> .stuff {
|
92
|
+
color: $main-color;
|
93
|
+
}
|
94
|
+
> .entry > footer {
|
95
|
+
margin: 0px 1.4rem;
|
96
|
+
line-height: 1;
|
97
|
+
}
|
98
|
+
.tags, .date {
|
99
|
+
display: inline;
|
100
|
+
}
|
101
|
+
.tags {
|
102
|
+
color: #eee;
|
103
|
+
}
|
104
|
+
.date {
|
105
|
+
margin: 0px .4rem;
|
106
|
+
padding: .1rem .6rem;
|
107
|
+
border-radius: .2rem;
|
108
|
+
background-color: lightgray;
|
109
|
+
color: black;
|
110
|
+
font-size: .7rem;
|
111
|
+
}
|
112
|
+
.content {
|
113
|
+
margin: 0px;
|
114
|
+
}
|
115
|
+
.title {
|
116
|
+
padding: .4rem 1rem;
|
117
|
+
display: block;
|
118
|
+
font-size: 1.6em;
|
119
|
+
}
|
120
|
+
|
121
|
+
img {
|
122
|
+
display: block;
|
123
|
+
margin: 0px auto;
|
124
|
+
padding: 0px;
|
125
|
+
max-height: 75vh;
|
126
|
+
}
|
127
|
+
.tag {
|
128
|
+
display: content;
|
129
|
+
> a {
|
130
|
+
font-size: .8rem;
|
131
|
+
margin: 0px .5rem;
|
132
|
+
padding: 0px;
|
133
|
+
color: $second-color;
|
134
|
+
background-color: transparent !important;
|
135
|
+
box-shadow: none;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
@keyframes colorup {
|
142
|
+
from {background-color:rgba($main-color, 1);}
|
143
|
+
to {background-color:rgba($main-color, .9);}
|
144
|
+
}
|
145
|
+
@keyframes fade {
|
146
|
+
from {background-color:rgba($main-color, .9);}
|
147
|
+
to {background-color:rgba($main-color, 1);}
|
148
|
+
}
|
149
|
+
.log-list {
|
150
|
+
> .post {
|
151
|
+
animation: colorup .5s forwards;
|
152
|
+
background-color: rgba($main-color, .9);
|
153
|
+
color: white;
|
154
|
+
&:hover {
|
155
|
+
animation: fade .5s forwards;
|
156
|
+
background-color: rgba($main-color, 1);
|
157
|
+
}
|
158
|
+
.post-body {
|
159
|
+
background-color: white;
|
160
|
+
color: black;
|
161
|
+
> * {
|
162
|
+
margin: 0px;
|
163
|
+
padding: 0px;
|
164
|
+
width: 100%;
|
165
|
+
}
|
166
|
+
.timestamps {
|
167
|
+
margin: .4rem;
|
168
|
+
padding: 0x;
|
169
|
+
font-size: .8rem;
|
170
|
+
color: white;
|
171
|
+
list-style: none !important;
|
172
|
+
li {
|
173
|
+
margin: .2rem;
|
174
|
+
padding: 0px .4rem;
|
175
|
+
border-radius: .2rem;
|
176
|
+
background-color: $second-color;
|
177
|
+
display: inline-block;
|
178
|
+
color: $second-color-op;
|
179
|
+
.label {
|
180
|
+
color: #333;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
> .stuff {
|
187
|
+
padding: 0px;
|
188
|
+
|
189
|
+
> a {
|
190
|
+
margin: 0px;
|
191
|
+
padding: 0px;
|
192
|
+
display: flex;
|
193
|
+
> header, > footer {
|
194
|
+
writing-mode: vertical-lr;
|
195
|
+
color: $second-color-op;
|
196
|
+
> * {
|
197
|
+
padding: 1rem 0px;
|
198
|
+
margin: auto;
|
199
|
+
width: fit-content;
|
200
|
+
height: fit-content;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
background-color: rgba($second-color, .9);
|
204
|
+
color: #eee;
|
205
|
+
> header, > footer {
|
206
|
+
background-color: rgba($second-color, .4);
|
207
|
+
}
|
208
|
+
&:hover {
|
209
|
+
animation: stuffup2 .5s forwards;
|
210
|
+
background-color: rgba($second-color, 1);
|
211
|
+
color: black;
|
212
|
+
> header, > footer {
|
213
|
+
animation: stuffup .5s forwards;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
@keyframes stuffup2 {
|
221
|
+
from {color:#eee;
|
222
|
+
background-color: rgba($second-color, .9);
|
223
|
+
}
|
224
|
+
to {color: white;
|
225
|
+
background-color: rgba($second-color, 1);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
@keyframes stuffup {
|
229
|
+
from {background-color:rgba($second-color, 4);}
|
230
|
+
to {background-color:rgba($second-color, .9);}
|
231
|
+
}
|
232
|
+
|
233
|
+
|
234
|
+
.display-content {
|
235
|
+
> * {
|
236
|
+
transition: addcontent transform 1s;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
@keyframes addcontent {
|
240
|
+
from {opacity: 0;}
|
241
|
+
to {opacity: 1;}
|
242
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
.log-list {
|
2
|
+
position: relative;
|
3
|
+
padding: 2em 0;
|
4
|
+
min-height: calc(100vh - 5rem);
|
5
|
+
|
6
|
+
&:before {
|
7
|
+
content: '';
|
8
|
+
position: absolute;
|
9
|
+
top: 0;
|
10
|
+
left: 25px;
|
11
|
+
height: 100%;
|
12
|
+
width: 4px;
|
13
|
+
|
14
|
+
z-index: -1; // to fix the issue with headers inside the container
|
15
|
+
|
16
|
+
background: rgba(77, 171, 171, 1);
|
17
|
+
box-shadow: 0 0px 0.4rem rgba(0, 0, 0, 0.4);
|
18
|
+
|
19
|
+
@include breakpoint(md) {
|
20
|
+
left: 50%;
|
21
|
+
margin-left: -2px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
.log-list > .item {
|
28
|
+
|
29
|
+
position: relative;
|
30
|
+
margin: 2em 0;
|
31
|
+
|
32
|
+
@include breakpoint(md) {
|
33
|
+
margin: 4em 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:after {
|
37
|
+
content: "";
|
38
|
+
display: table;
|
39
|
+
clear: both;
|
40
|
+
}
|
41
|
+
&:first-child {
|
42
|
+
margin-top: 0;
|
43
|
+
}
|
44
|
+
&:last-child {
|
45
|
+
margin-bottom: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
@include breakpoint(md) {
|
49
|
+
|
50
|
+
&:nth-child(even) .entry {
|
51
|
+
float: right;
|
52
|
+
}
|
53
|
+
&:nth-child(even) .blog-read-more {
|
54
|
+
float: right;
|
55
|
+
}
|
56
|
+
&:nth-child(even) .blog-aside {
|
57
|
+
left: auto;
|
58
|
+
right: 52%;
|
59
|
+
// width: 48%;
|
60
|
+
text-align: right;
|
61
|
+
}
|
62
|
+
&:nth-child(even) .blog-aside > * {
|
63
|
+
float: right;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
> .entry {
|
67
|
+
position: relative;
|
68
|
+
margin: 0px auto;
|
69
|
+
|
70
|
+
box-sizing: border-box;
|
71
|
+
|
72
|
+
-webkit-background-clip: padding-box; /* for Safari */
|
73
|
+
background-clip: padding-box;
|
74
|
+
|
75
|
+
width: calc(100% - 2rem);
|
76
|
+
|
77
|
+
@include breakpoint(sm) {
|
78
|
+
width:100%;
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
@include breakpoint(md) {
|
83
|
+
margin-left: 0;
|
84
|
+
width: 75%;
|
85
|
+
margin: 0 4.8%;
|
86
|
+
|
87
|
+
&:before {
|
88
|
+
top: 34px;
|
89
|
+
width: 9.3%;
|
90
|
+
left: 100%;
|
91
|
+
border-color: transparent;
|
92
|
+
border-left-color: white;
|
93
|
+
}
|
94
|
+
.blog-aside {
|
95
|
+
margin: 0px;
|
96
|
+
position: absolute;
|
97
|
+
left: 52%;
|
98
|
+
top: 6px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
@@ -0,0 +1,163 @@
|
|
1
|
+
.log-list {
|
2
|
+
width: 98%;
|
3
|
+
margin: 0 auto;
|
4
|
+
padding: 0 10%;
|
5
|
+
border-radius: 2px;
|
6
|
+
@include breakpoint(md) {
|
7
|
+
width: 95%;
|
8
|
+
}
|
9
|
+
@include breakpoint(xl) {
|
10
|
+
width: 90%;
|
11
|
+
}
|
12
|
+
@include breakpoint(xx) {
|
13
|
+
width: 85%;
|
14
|
+
}
|
15
|
+
|
16
|
+
&:after {
|
17
|
+
content: '';
|
18
|
+
display: table;
|
19
|
+
clear: both;
|
20
|
+
}
|
21
|
+
> header {
|
22
|
+
@extend .h2;
|
23
|
+
text-align: center;
|
24
|
+
.title {
|
25
|
+
@extend .shadow;
|
26
|
+
display: inline-block;
|
27
|
+
padding: .5rem 1rem;
|
28
|
+
background-color: $second-color;
|
29
|
+
border-radius: .2rem;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
> .item {
|
34
|
+
|
35
|
+
> .entry {
|
36
|
+
display: flex;
|
37
|
+
flex-direction: column;
|
38
|
+
@include breakpoint(md) {
|
39
|
+
flex-direction: row;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
@include breakpoint(md) {
|
43
|
+
&:nth-child(even) > .entry {
|
44
|
+
flex-direction: row-reverse;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
> .entry {
|
49
|
+
> .tags {
|
50
|
+
flex-basis: 28%;
|
51
|
+
}
|
52
|
+
> .date {
|
53
|
+
margin: .2rem 1rem;
|
54
|
+
text-align: center;
|
55
|
+
font-size: .8rem;
|
56
|
+
@include breakpoint(md) {
|
57
|
+
margin: 0px;
|
58
|
+
text-align: left;
|
59
|
+
flex-basis: 3rem;
|
60
|
+
writing-mode: tb;
|
61
|
+
display: flex;
|
62
|
+
align-items: center;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
> .content {
|
66
|
+
flex-grow: 1;
|
67
|
+
display: flex;
|
68
|
+
flex-direction: column;
|
69
|
+
justify-content: center;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
> footer {
|
75
|
+
text-align: center;
|
76
|
+
> .button, > .status {
|
77
|
+
@extend .shadow;
|
78
|
+
display: inline-block;
|
79
|
+
padding: .5rem 1rem;
|
80
|
+
background-color: $second-color;
|
81
|
+
border-radius: .2rem;
|
82
|
+
}
|
83
|
+
> .status {
|
84
|
+
background-color: $main-color;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.log-list > .item > .entry > .content {
|
90
|
+
> .kind {
|
91
|
+
position: relative;
|
92
|
+
|
93
|
+
align-self: flex-end;
|
94
|
+
top: 0.7rem;
|
95
|
+
right: 1rem;
|
96
|
+
|
97
|
+
margin: 0px;
|
98
|
+
padding: .1rem .4rem;
|
99
|
+
width: fit-content;
|
100
|
+
|
101
|
+
border-radius: .2rem;
|
102
|
+
background-color: rgba($second-color, 1);
|
103
|
+
font-size: .9em;
|
104
|
+
}
|
105
|
+
> .link {
|
106
|
+
@extend .shadow;
|
107
|
+
display: block;
|
108
|
+
margin: 0px;
|
109
|
+
padding: 0px;
|
110
|
+
|
111
|
+
color: black;
|
112
|
+
background-color: white;
|
113
|
+
|
114
|
+
text-shadow: none;
|
115
|
+
text-decoration: none;
|
116
|
+
|
117
|
+
border-radius: .4rem;
|
118
|
+
// border-top: .2rem solid rgba($second-color, .5);
|
119
|
+
|
120
|
+
opacity: .9;
|
121
|
+
&:hover {
|
122
|
+
opacity: 1;
|
123
|
+
// border-top: .2rem solid rgba($second-color, 1);
|
124
|
+
}
|
125
|
+
|
126
|
+
> .thumbnail {
|
127
|
+
margin: 0px;
|
128
|
+
|
129
|
+
border-top-right-radius: .4rem;
|
130
|
+
border-top-left-radius: .4rem;
|
131
|
+
// box-shadow: 0px 0px .1rem rgba(0, 0, 0, .5);
|
132
|
+
|
133
|
+
width: 100%;
|
134
|
+
max-height: 80vh;
|
135
|
+
height: 30rem;
|
136
|
+
|
137
|
+
background-size: cover;
|
138
|
+
background-position: center;
|
139
|
+
background-repeat: no-repeat;
|
140
|
+
}
|
141
|
+
> .title {
|
142
|
+
margin: .4rem .7rem;
|
143
|
+
font-weight: 300;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
.log-list > .item > .entry.post > .content > .link {
|
148
|
+
> .title {
|
149
|
+
font-size: 1.5em;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
.log-list > .item > .entry.stuff > .content {
|
153
|
+
> .link {
|
154
|
+
background-color: rgba($main-color, .7);
|
155
|
+
color: $main-color-op;
|
156
|
+
&:hover {
|
157
|
+
background-color: rgba($second-color, 1);
|
158
|
+
}
|
159
|
+
> .title {
|
160
|
+
font-size: 1.3em;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|