Skip to content

Commit 040c62b

Browse files
committed
Style tweaks
1 parent e624995 commit 040c62b

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

app/javascript/stylesheets/content.css.scss

+17-4
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ main {
229229
background-size: cover;
230230
background-repeat: no-repeat;
231231

232-
&.focus {
233-
border-bottom: 1px solid $highlight-blue;
232+
&.focus .leftside-primary {
233+
font-weight: bold;
234234
}
235235

236236
&.active-item {
@@ -387,23 +387,36 @@ main {
387387
background-size: cover;
388388
background-repeat: no-repeat;
389389

390+
&::after {
391+
content: "";
392+
display: block;
393+
position: absolute;
394+
bottom: 0;
395+
left: 1rem;
396+
right: 1rem;
397+
height: 1px;
398+
background-color: rgba($header-gray, 0.7);
399+
}
400+
390401
&:first-of-type {
391402
border-radius: $radius $radius 0 0;
392403
}
393404

394405
&:not(:first-of-type):not(:last-of-type) {
395406
border-radius: 0;
396-
border-top: 1px solid rgba($header-gray, 0.7);
397407
}
398408

399409
&:last-of-type {
400410
border-radius: 0 0 $radius $radius;
401-
border-top: 1px solid rgba($header-gray, 0.7);
402411
}
403412

404413
&:only-of-type {
405414
border-radius: $radius;
406415
border: none;
416+
417+
&::after {
418+
content: none;
419+
}
407420
}
408421
}
409422
}

0 commit comments

Comments
 (0)