Advertisement
SingularityUtopia

CSS Drop-Down Menu Singularity Utopia

Jul 2nd, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. Drop-down menu I've nearly finished creating.
  2.  
  3. Feel free to use, give me a mention if you desire.
  4.  
  5. <style>
  6.  
  7. #SUdropmenu {
  8.  
  9. height: 41px;
  10. position:relative;
  11. background: #E0E4FF;
  12. border-radius: 2px 2px 8px 8px;
  13. border: 1px solid #92BDF0;
  14. color: #268CFF !important;
  15. font-family: arial;
  16. float: right;
  17. box-shadow: inset white 0px 0px 0px 1px, 0px 2px 3px #E8E4E1;
  18. text-shadow: white 0px 1px 1px;
  19. text-decoration:none !important;
  20. transition: all 0.7s ease-in-out;
  21. margin: 0px 34px 0px auto;
  22. cursor:crosshair;
  23.  
  24. }
  25.  
  26. #SUdropmenu:hover
  27.  
  28. {
  29.  
  30. border-radius: 12px; background: #E0ECFF; color: #002AE3 !important; text-decoration:none; cursor:pointer;
  31.  
  32. }
  33.  
  34. #SUdropmenu:visited
  35.  
  36. {
  37.  
  38. color: #5D67D9; text-decoration:none ; cursor:pointer;
  39.  
  40. }
  41.  
  42. #SUdropmenu ul {
  43. list-style: none;
  44. padding: 0;
  45. margin: 0;
  46. line-height: 1;
  47.  
  48. }
  49.  
  50. #SUdropmenu ul li a {
  51. display: block;
  52. font-family: arial;
  53. text-decoration: none;
  54.  
  55. }
  56.  
  57. #SUdropmenu > ul > li > a {
  58. font-size: 16pt;
  59. font-weight: normal;
  60. padding: 10px 14px 50px 14px;
  61. color: #268CFF !important;
  62. font-family: arial;
  63. transition: 0.45s ease-in-out;
  64. }
  65.  
  66. #SUdropmenu > ul > li > a:hover
  67.  
  68. {
  69. color:#002AE3 !important;
  70. }
  71.  
  72. #SUdropmenu ul ul {
  73. position: absolute;
  74. left: -99999px;
  75. top: 70px;
  76. opacity: 0;
  77. transition: opacity 0.4s ease-in-out, top .35s ease-in-out;
  78. z-index: 1000;
  79. padding: 3px 1px 3px 1px;
  80. border: 1px solid transparent;
  81. }
  82.  
  83. #SUdropmenu > ul > li:hover > ul {
  84. left: auto;
  85. top: 50px;
  86. opacity: 1;
  87. right: 0px;
  88. background: #F7F7F7;
  89. border: 1px solid #CAD4E3;
  90. border-radius: 4px;
  91. box-shadow: inset white 0px 0px 1px, #D3D5DB 0px 8px 30px 3px;
  92. padding: 3px 1px 3px 1px;
  93. background:#F2F2ED;
  94. }
  95.  
  96. #SUdropmenu ul ul li a {
  97. width: 151px;
  98. border: 1px solid #7FC7A5;
  99. padding: 11px 20px;
  100. font-size: 16px;
  101. color: #00375E;
  102. transition: all .2s ease-in-out;
  103. margin:6px;
  104. border-radius:4px;
  105. background: #B8D9CA;
  106. text-shadow:none;
  107.  
  108. }
  109.  
  110. #SUdropmenu ul ul li:hover a {
  111. background: #f6f6f6;
  112. color: blue !important;
  113. border: 1px solid #C8CEDB;
  114. text-decoration:underline;
  115. border-radius:20px 8px 8px 5px;
  116. padding: 11px 10px 11px 36px;
  117. width: 145px;
  118.  
  119. }
  120.  
  121. </style>
  122.  
  123. <div id='SUdropmenu'>
  124. <ul>
  125. <li><a href='http://singularity-2045.org/' title="S45 Home"><span >Singularity 2045</span></a>
  126. <ul>
  127. <li><a title="HHS Regenerative Medicine, 2020 vision. Archive." href='http://'><span>2020</span></a></li>
  128. <li><a title="Is the Singularity now?"href='#'><span>Now</span></a></li>
  129. <li><a title="Stephen Hawking's mindless AI paranoia." href='#'><span>Hawking Fallacy</span></a></li>
  130. <li><a title="God is a moron. Religion and Gods represent idiocy. Godlike is moron-like." href='#'><span>Idiotic Gods</span></a></li>
  131. <li><a title="Singularity definition refined." href='#'><span>Refined</span></a></li>
  132. <li><a title="Basic Income." href='#'><span>Basic Income</span></a></li>
  133. <li><a title="Transhumanism." href='#'><span>Transhumanism</span></a></li>
  134. <li><a title="Singularity Modernism." href='#'><span>Modernism</span></a></li>
  135.  
  136. </ul>
  137. </li>
  138. </ul>
  139. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement