Skip to content
Snippets Groups Projects
Commit fdf0ab7c authored by Allan Blanchard's avatar Allan Blanchard
Browse files

Publication CSS now checks Nav presence

parent a065c386
No related branches found
No related tags found
1 merge request!65Improved version pages
Pipeline #30415 passed
......@@ -9,22 +9,26 @@
.pagePublications > .wrap {
position: relative;
margin: 0 auto;
padding: 0 25px 0 55px;
padding: 0 25px 0 25px;
z-index: 2;
}
/* Overload padding for pages with Navigation side bar */
.pagePublications.withNav > .wrap {
padding: 0 25px 0 55px;
}
@media (min-width: 768px) {
.pagePublications > .wrap {
.pagePublications.withNav > .wrap {
padding: 0 25px 0 260px;
}
}
@media (min-width: 1280px) {
.pagePublications > .wrap {
.pagePublications.withNav > .wrap {
padding: 0 25px 0 280px;
}
}
/* 1260 + navigation margins (25*2) + navigation 210px*/
@media (min-width: 1810px) {
.pagePublications > .wrap {
.pagePublications.withNav > .wrap {
max-width: 1260px;
margin: 0 auto;
padding: 0 25px;
......
......@@ -44,7 +44,7 @@ css: publications
{% include headers.html header="publications" %}
<div id="container" class="mainContainer">
<div class="pagePublications pages">
<div class="pagePublications withNav pages">
<div class="wrap">
<h1 class="pageTitle">Publications</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment