Skip to content

Commit a6aca9a

Browse files
authored
Line: Extend all horizontal lines into the gutter (#207)
1 parent 2b8f65b commit a6aca9a

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

assets/css/v2/style.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,10 @@ blockquote ul {
11141114
white-space: nowrap;
11151115
position: relative;
11161116

1117+
/* Move to gutter */
1118+
width: calc(100% + 2rem);
1119+
margin-left: -1rem;
1120+
11171121
&::after {
11181122
content: "";
11191123
position: absolute;
@@ -1217,6 +1221,12 @@ blockquote ul {
12171221
.tab-content {
12181222
border-bottom: 1px solid black;
12191223
padding-bottom: 1rem;
1224+
padding-left: 1rem;
1225+
padding-right: 1rem;
1226+
1227+
/* Move to gutter */
1228+
width: calc(100% + 2rem);
1229+
margin-left: -1rem;
12201230

12211231
.tab-pane {
12221232
display: none;
@@ -1359,8 +1369,11 @@ figure {
13591369

13601370
/* HR Lines */
13611371
hr {
1362-
width: 100%;
1363-
border-top: 1px solid var(--color-divider);
1372+
/* Move to gutter */
1373+
width: calc(100% + 2rem);
1374+
margin-left: -1rem;
1375+
1376+
border: 1px solid var(--color-divider);
13641377
}
13651378

13661379
/* FILTHY HACKS BEGIN */

0 commit comments

Comments
 (0)