Difference between revisions of "Template:Chalmers-Gothenburg-Dev"

(The page now adapts to the users screen.)
(Moved the menu list move up top and display horizantally)
Line 36: Line 36:
 
#menuContainer  {  
 
#menuContainer  {  
 
float:left;
 
float:left;
width: 134px;
+
width: 100%px;
 
padding: 20px 0px;
 
padding: 20px 0px;
border-top: 14px solid #565656;
 
 
background-color: #E8E8E9;
 
background-color: #E8E8E9;
 
}
 
}
Line 139: Line 138:
 
/*Styles the list items to become menu buttons */
 
/*Styles the list items to become menu buttons */
 
#menuContainer ul li {  
 
#menuContainer ul li {  
 +
margin-left: auto;
 
text-align: center;
 
text-align: center;
display: block;
+
display: inline;
width: 100%;
+
width: 134px;
 
height:30px;
 
height:30px;
 
padding-top:10px;
 
padding-top:10px;
Line 161: Line 161:
 
/*Submenus are displayed when hovering the menu button */
 
/*Submenus are displayed when hovering the menu button */
 
#menuContainer li:hover ul {
 
#menuContainer li:hover ul {
/*display: inline-block; */
+
display: inline-block;
 
display: block;  
 
display: block;  
 
position: absolute;  
 
position: absolute;  
Line 208: Line 208:
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
+
<div id="menuContainer">
 
+
<div id="bannerContainer">
+
<br><br>
+
<h2> Add a banner to your wiki! </h2>
+
+
<p>You can make the image 980px  by  200px</p>
+
<p> Remember to call the file: "<i>Team_Chalmers-Gothenburg_banner.jpg</i>" </p>
+
</div>
+
 
+
<!-- Start of menu -->
+
<div id="menuContainer">
+
  
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
Line 266: Line 255:
 
</div>
 
</div>
 
<!-- End of menu  -->
 
<!-- End of menu  -->
 +
 +
 +
<div id="bannerContainer">
 +
<br><br>
 +
<h2> Add a banner to your wiki! </h2>
 +
 +
<p>You can make the image 980px  by  200px</p>
 +
<p> Remember to call the file: "<i>Team_Chalmers-Gothenburg_banner.jpg</i>" </p>
 +
</div>
 +
 +
<!-- Start of menu -->
 +
  
 
<!-- Start of content -->
 
<!-- Start of content -->
 +
<h1>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed.</h1>
 +
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Revision as of 18:31, 7 July 2015



Add a banner to your wiki!

You can make the image 980px by 200px

Remember to call the file: "Team_Chalmers-Gothenburg_banner.jpg"

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum