jamiemarsland

Canvas Hero CSS

Feb 6th, 2014
318
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. WOO CUSTOM STYLESHEET
  3. ---------------------
  4.  
  5. Instructions:
  6.  
  7. Add your custom styles in this file instead of style.css so it
  8. is easier to update the theme. Simply copy an existing style
  9. from style.css to this file, and modify it to your liking. */
  10.  
  11.  
  12. /* GLOBAL STYLES
  13. ----------------
  14. Add styles beneath this line that you want to be applied across your entire site */
  15.  
  16. #navigation {
  17. background-image:url("http://localhost:8888/pootlepress/wp-content/uploads/2014/01/tignes_menu.jpg");
  18. }
  19.  
  20. .header-widget h3 {
  21.  
  22. float:right;
  23. color:white;
  24. }
  25.  
  26.  
  27. .home #navigation {
  28.  
  29. margin-bottom: 0em;
  30.  
  31. }
  32.  
  33.  
  34. /* DESKTOP STYLES
  35. -----------------
  36. Add styles inside the media query below that you only want to be applied to the desktop layout of your site */
  37. @media only screen and (min-width: 768px) {
  38. /* Desktop styles go below this line */
  39.  
  40.  
  41. #logo { float: none; margin: 0 auto; width: 400px; }
  42.  
  43. #navigation {
  44. position: relative;
  45. }
  46.  
  47. #main-nav {
  48. clear: left;
  49. float: left;
  50. list-style: none;
  51. margin: 0;
  52. padding: 0;
  53. position: relative;
  54. left: 50%;
  55. text-align: center;
  56. }
  57.  
  58. .nav li {
  59. display: block;
  60. float: left;
  61. list-style: none;
  62. margin: 0;
  63. padding: 0;
  64. position: relative;
  65. right: 50%;
  66. }
  67.  
  68. .nav li.hover, .nav li.hover {
  69. position: relative;
  70. }
  71.  
  72. .nav li ul li {
  73. left: 0;
  74. }
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. }
RAW Paste Data