Difference between revisions of "Template:Manchester/CSS1"

Line 6: Line 6:
 
/********************************* menu bar formatting ********************************/
 
/********************************* menu bar formatting ********************************/
 
nav {
 
nav {
         margin:auto;  
+
         margin:auto;
 
text-align: center;
 
text-align: center;
 
}
 
}
Line 29: Line 29:
 
     position: fixed;
 
     position: fixed;
 
     background-color: orange;
 
     background-color: orange;
     display:inline-table;
+
     display:block;
    top: 12px;
+
    left: 200px;
+
 
     font-size:20px;
 
     font-size:20px;
 
     list-style: none;
 
     list-style: none;
 
     box-shadow: 0px 0px 9px black;
 
     box-shadow: 0px 0px 9px black;
 
     border-radius: 10px;
 
     border-radius: 10px;
 +
    width: 95%;
 +
    margin:auto;
 +
    left:0;
 +
    top: 12px;
 
}
 
}
  
Line 181: Line 183:
 
}
 
}
  
 +
@media screen and (max-width:900px){
 +
    nav ul li{float:none; border:1px solid grey;}
 +
    nav ul ul {width:90%}
 +
    nav > a{z-index:1000}
 +
}
 
/********************************* CONTENT OF THE PAGE ********************************/
 
/********************************* CONTENT OF THE PAGE ********************************/
  
Line 300: Line 307:
  
 
<body>
 
<body>
<!-- MathJax (LaTeX for the web) -->
 
<script type="text/x-mathjax-config">
 
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 
</script>
 
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
  
  
Line 363: Line 365:
 
</nav>
 
</nav>
  
 +
<!-- MathJax (LaTeX for the web) -->
 +
<script type="text/x-mathjax-config">
 +
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 +
</script>
 +
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  
 
</html>
 
</html>

Revision as of 11:29, 2 August 2016