Difference between revisions of "Template:US AFRL CarrollHS/Layout"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
 +
<style>
 +
 +
<!-- Strip default wiki down --!>
 +
<!-- Strip default wiki down --!>
  
 
.logo_2018 {
 
.logo_2018 {
display: none'
+
display: none;
 
}
 
}
 +
 +
#top_title {
 +
display: none;
 +
}
 +
 +
#content {
 +
left: 0px;
 +
height: 100%;
 +
padding:0px;
 +
width:1000px;
 +
margin-top:-7px;
 +
margin-left:0px;}
 +
body {background-color:white;
 +
}
 +
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {margin-bottom: 0px; }
 +
 +
.mw-body { width:100% !important; }
 +
 +
 +
 +
<!-- CSS Grid --!>
 +
 +
.page {
 +
display: grid;
 +
grid-template-columns: 2fr 1fr 1fr;
 +
grid-template-rows: auto 1fr 3fr;
 +
grid-template-areas:
 +
"title title title"
 +
"main header header"
 +
"main sidebar footer";
 +
"background-color:powderblue;"
 +
}
 +
 +
.masthead {
 +
grid-area: header;
 +
}
 +
 +
.page-title {
 +
grid-area: title;
 +
}
 +
 +
.main-content {
 +
grid-area: main;
 +
}
 +
 +
.sidebar {
 +
grid-area: sidebar;
 +
}
 +
 +
.footer {
 +
grid-area: footer;
 +
}
 +
 +
</style>
  
 
</html>
 
</html>

Latest revision as of 18:06, 14 June 2018