Add .article-content-wide helper class
This commit is contained in:
parent
f7dea0647f
commit
88bfad10db
|
@ -104,6 +104,11 @@ html {
|
|||
color: var(--ui-text-color);
|
||||
}
|
||||
|
||||
body {
|
||||
// prevent .article-content-wide from showing scroll bar
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
padding: 0 15px;
|
||||
|
@ -244,6 +249,24 @@ article {
|
|||
}
|
||||
}
|
||||
|
||||
.article-content-wide {
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
margin-left: -50vw;
|
||||
|
||||
padding: 10px 0;
|
||||
margin-top: -10px;
|
||||
margin-bottom: -10px;
|
||||
|
||||
p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.theme-dark, .theme-light, .theme-inverted {
|
||||
color: var(--content-text-color);
|
||||
background-color: var(--content-background-color);
|
||||
|
|
Loading…
Reference in New Issue