This repository was archived by the owner on May 12, 2019. It is now read-only.
File tree 11 files changed +164
-192
lines changed
11 files changed +164
-192
lines changed Original file line number Diff line number Diff line change 28
28
action = if $ (' .main' ).is (" :visible" ) then ' hide' else ' show'
29
29
$ (' .main' )[action]()
30
30
31
- # $(".btn-mobile-menu").click ->
32
- # /* now is #search-container */
33
- # $(".navigation-wrapper").toggleClass "visible animated bounceInDown"
34
- # $(".btn-mobile-menu__icon").toggleClass "icon-list icon-x-circle animated fadeIn"
35
-
36
- # $(".navigation-wrapper .blog-button").click ->
37
- # /* now is #search-container */
38
- # $(".navigation-wrapper").toggleClass "visible"
39
- # $(".btn-mobile-menu__icon").toggleClass "icon-list icon-x-circle animated fadeIn"
31
+ $ (" .btn-mobile-menu" ).click ->
32
+ $ (" .navigation" ).toggleClass " visible animated bounceInDown"
33
+ $ (" .btn-mobile-menu__icon" ).toggleClass " icon-list icon-x-circle animated fadeIn"
34
+
35
+ $ (" .navigation-wrapper .blog-button" ).click ->
36
+ $ (" .navigation" ).toggleClass " visible"
37
+ $ (" .btn-mobile-menu__icon" ).toggleClass " icon-list icon-x-circle animated fadeIn"
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
.profile {
26
- max-width : 620 px ;
26
+ max-width : 38.75 rem ;
27
27
margin : 0 auto ;
28
28
29
29
> p {
30
- font-size : 15 px ;
31
- margin : 0 30 px ;
30
+ font-size : .9 rem ;
31
+ margin : 0 2 rem ;
32
32
}
33
33
> a {
34
34
> img {
73
73
line-height : 1em ;
74
74
a {
75
75
@include btn-cover ;
76
- padding : 10 px 20 px ;
76
+ padding : .625 rem 1.25 rem ;
77
77
}
78
78
}
79
79
}
Original file line number Diff line number Diff line change 2
2
// MEDIA QUERIES
3
3
// ------------------------------
4
4
5
- @media only screen and (max-width :1428px ) {
6
- .content-wrapper {
7
- left : 30% ;
8
- padding : 40px 9% ;
9
- }
10
- .panel-main__inner {
11
- padding : 0 0 ;
12
- }
13
- #search-field {
14
- widows : 60% ;
15
- }
16
- #back-button {
17
- margin-left : 0 ;
18
- }
19
- }
5
+ // @media only screen and (max-width:1428px) {
6
+ // .content-wrapper {
7
+ // left: 30%;
8
+ // padding: 40px 9%;
9
+ // }
10
+ // .panel-main__inner {
11
+ // padding: 0 0;
12
+ // }
13
+ // #search-field {
14
+ // widows: 60%;
15
+ // }
16
+ // #back-button {
17
+ // margin-left: 0;
18
+ // }
19
+ // }
20
+
20
21
// ------------------------------
21
22
// < 1023px
22
23
// ------------------------------
23
24
24
25
@media all and (max-width :1023px ) {
25
- .content-wrapper__inner {
26
- padding : 15px 0 ;
27
- }
28
- .pace ,
29
- .post-button ,
30
- .post-meta__read {
31
- display : none !important ;
32
- }
33
- .content-wrapper {
34
- left : 0 ;
35
- }
36
- #search-field {
37
- width : 50% ;
38
- height : 38px ;
39
- padding : 0 ;
40
- text-align : center ;
41
- }
42
- .icon-search {
43
- left : 47.5% ;
44
- }
26
+
45
27
.btn-mobile-menu {
46
28
display : block ;
47
29
}
48
- .panel-main {
49
- position : relative ;
50
- display : table ;
51
- }
52
30
53
- .panel-main__content {
54
- padding : 10px 0 ;
55
- }
56
- .panel-cover--collapsed {
57
- width : 100% ;
58
- max-width : none ;
59
- }
60
- .panel-cover__description {
61
- display : block ;
62
- max-width : 600px ;
63
- margin : 0 auto ;
64
- }
65
- .panel-cover {
66
- width : 100% ;
67
- height : 100% ;
68
- background-position : center center ;
69
- & .panel-cover--collapsed {
70
- position : relative ;
31
+ .cover {
32
+ position : relative ;
33
+ & .collapsed {
71
34
display : block ;
72
- height : auto ;
73
- padding-top : 42px ;
74
- background-position : center center ;
75
- .panel-main__inner {
76
- display : block ;
35
+ width : 100% ;
36
+ height : 9rem ;
37
+ padding-top : 1.7rem ;
38
+
39
+ & .container {
40
+
77
41
}
78
- .panel-cover__logo {
42
+ }
43
+ }
44
+
45
+ .profile {
46
+ > a {
47
+ > img {
79
48
width : 15% ;
80
49
border-width : 2px ;
81
50
margin-bottom : 0 ;
82
51
}
83
- .panel-cover__title {
52
+
53
+ > h1 {
84
54
font-size : 23px ;
85
55
margin-top : 8px ;
86
56
}
87
- .panel-cover__description {
88
- display : none ;
89
- }
90
- .panel-cover__divider {
91
- display : none ;
92
- margin : 1em auto ;
93
- }
57
+ }
58
+
59
+ > p ,
60
+ .divider {
61
+ display : none ;
94
62
}
95
63
}
96
- /* now is #search-container */
97
- .navigation-wrapper {
64
+
65
+ #search-field {
66
+ width : 50% ;
67
+ height : 38px ;
68
+ padding : 0 ;
69
+ text-align : center ;
70
+ }
71
+
72
+
73
+ .pace ,
74
+ .post.reading-time ,
75
+ #back-button {
76
+ display : none ;
77
+ }
78
+
79
+
80
+ .navigation {
98
81
position : fixed ;
99
82
top : 42px ;
100
83
right : 0 ;
108
91
display : block ;
109
92
}
110
93
}
111
- .cover-navigation {
112
- position : relative ;
113
- display : block ;
114
- float : left ;
115
- width : 100% ;
116
- clear : left ;
117
- .navigation {
118
- display : block ;
119
- width : 100% ;
120
- li {
121
- width : 80% ;
122
- margin-bottom : .4em ;
123
- }
124
- }
125
- & .navigation--social {
126
- padding-top : 5px ;
127
- .navigation {
128
- li {
129
- display : inline-block ;
130
- width : 25.8% ;
131
- }
132
- }
133
- }
134
- }
135
- .content-wrapper {
94
+ // .cover-navigation {
95
+ // position: relative;
96
+ // display: block;
97
+ // float: left;
98
+ // width: 100%;
99
+ // clear: left;
100
+ // .navigation {
101
+ // display: block;
102
+ // width: 100%;
103
+ // li {
104
+ // width: 80%;
105
+ // margin-bottom: .4em;
106
+ // }
107
+ // }
108
+ // &.navigation--social {
109
+ // padding-top: 5px;
110
+ // .navigation {
111
+ // li {
112
+ // display: inline-block;
113
+ // width: 25.8%;
114
+ // }
115
+ // }
116
+ // }
117
+ // }
118
+ .main {
136
119
width : 80% ;
137
120
max-width : none ;
138
- margin-top : 185 px ;
139
- }
140
- .content-wrapper__inner {
141
- margin-right : 0 ;
142
- margin-left : 0 ;
143
- }
144
- .navigation__item {
145
- width : 100 % ;
146
- margin : 0 0 .4 em 0 ;
121
+ margin-top : 23 % ;
122
+ left : 0 ;
123
+ padding : 40 px 10 % ;
124
+
125
+ > .content {
126
+ padding : 15 px 0 ;
127
+ margin-right : 0 ;
128
+ margin-left : 0 ;
129
+ }
147
130
}
131
+
132
+ // .navigation__item {
133
+ // width: 100%;
134
+ // margin: 0 0 .4em 0;
135
+ // }
148
136
}
149
137
// ------------------------------
150
138
// < 500px
181
169
margin-bottom : .4em ;
182
170
}
183
171
184
- .panel-cover__logo {
172
+ .panel-cover__logo {
185
173
width : 20% !important ;
186
174
}
187
175
Original file line number Diff line number Diff line change 1
1
.pagination {
2
- margin : 0 0 2.5 em ;
2
+ margin : 0 0 2.5 rem ;
3
3
}
4
4
5
5
.posts.index {
6
- margin-left : 1 em ;
7
- margin-right : 1 em ;
8
- font-size : .8 em ;
6
+ margin-left : 1 rem ;
7
+ margin-right : 1 rem ;
8
+ font-size : .8 rem ;
9
9
color : $gray-dark ;
10
10
}
Original file line number Diff line number Diff line change 45
45
}
46
46
& .tags {
47
47
a {
48
- padding : .166666666666667 rem .25rem ;
49
- font-size : .3 rem ;
48
+ padding : .167 rem .25rem ;
49
+ font-size : .55 rem ;
50
50
color : darken ($primary-color , 100% );
51
- color : white ;
51
+ color : $gray-lightest ;
52
52
text-transform : uppercase ;
53
- background-color : rgba ($primary-color ,
54
- .7 );
53
+ background-color : rgba ($primary-color , .7 );
55
54
border-radius : .25rem ;
56
55
& :hover {
57
56
background-color : rgba ($primary-color , 1 );
80
79
#back-button {
81
80
position : absolute ;
82
81
left : 0 ;
83
- top : 30px ;
84
- margin-left : 3.5% ;
82
+ top : 1.8rem ;
85
83
}
86
84
87
85
#post-image {
You can’t perform that action at this time.
0 commit comments