Advertisement
pcwizz

template css buggy

May 17th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.07 KB | None | 0 0
  1. /*Basic style sheet I can use in everything by Morgan Hill 2014*/
  2. /*Initial setup*/
  3. body, nav, nav ul, header, section, footer{
  4.     padding:0;
  5.     margin:0;
  6.     width: 100%;
  7.     font-family: Tohoma, "sans serif";
  8.     font-size: 1em;
  9.     box-sizing:border-box;
  10. }
  11. a{
  12.     color: inherit;
  13.     text-decoration: underline;
  14. }
  15. /*Navigation*/
  16. nav ul{
  17.     color: #fff;
  18.     background: rgb(0,0,0);
  19.     display: block;
  20.     padding: 0.5em;
  21. }
  22. nav ul li{
  23.     display: inline-block;
  24.     margin-left: 1em;
  25. }
  26. /*Header stuff*/
  27. header{
  28.     text-align: center;
  29.     border-bottom: 1px solid #000;
  30. }
  31. header h1{
  32.     font-size: 4em;
  33. }
  34. /*Section stuff*/
  35. section{
  36.     border-bottom: 1px solid #000;
  37. }
  38. section h1{
  39.     font-size: 1.5em;
  40. }
  41. /*article stuff*/
  42. article{
  43.     width: 50em;
  44.     padding: 0;
  45.     margin: 0 auto;
  46. }
  47. article h1{
  48.     font-size: 1.2em;
  49. }
  50. article p{
  51.     column-width: 20em;
  52.     -moz-column-width: 20em;
  53.     -webkit-column-width: 20em;
  54. }
  55. article ul{
  56.     list-style-type: square;
  57. }
  58. article li p{
  59.     column-width: 50em;
  60.     -moz-column-width: 50em;
  61.     -webkit-column-width: 50em;
  62. }
  63.  
  64. /*Footer stuff*/
  65. footer{
  66.     text-align: center;
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement