Skip to content

Commit 3058c3b

Browse files
committed
feat(single): Adjust style
Signed-off-by: Khusika Dhamar Gusti <[email protected]>
1 parent b27afc5 commit 3058c3b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

assets/css/_core/_media.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
width: 52%;
6262
}
6363

64+
.single-card {
65+
padding: 1rem;
66+
}
67+
6468
#toc-auto {
6569
display: none;
6670
}

assets/css/_page/_single.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "../_partial/_single/toc";
22

33
.single-card {
4-
padding: 1rem;
4+
padding: 3rem;
55
margin: 1rem 0 0;
66
@include border-radius(.5rem);
77
@include box-shadow(0 2px 4px -1px rgba(0, 0, 0, 0.2));
@@ -135,6 +135,7 @@
135135

136136
p {
137137
margin: .5rem 0;
138+
text-align: justify;
138139
}
139140

140141
b, strong {

assets/css/about.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
}
206206
}
207207

208-
@media only screen and (max-width: 680px) {
208+
@media only screen and (max-width: 960px) {
209209
.profile {
210210
[data-param="on"] & {
211211
width: 100%;
@@ -235,7 +235,7 @@
235235
}
236236
}
237237

238-
@media only screen and (max-width: 480px) {
238+
@media only screen and (max-width: 680px) {
239239
.single-title {
240240
display: none;
241241
}

0 commit comments

Comments
 (0)