Advertisement
edo_py

general.css

Dec 29th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.56 KB | None | 0 0
  1. /* others */
  2. body {
  3.     background-color: #f9f9f9;
  4. }
  5.  
  6. h1, h2 {
  7.     color: black;
  8.     text-align: center;
  9.     font-size: 40px;
  10.     font-family: 'Courier New'; /* Helvetica Neue */
  11.     font-weight: lighter;
  12.     letter-spacing: 3px
  13. }
  14.  
  15. p {
  16.     color: black;
  17. }
  18.  
  19. code {
  20.     background-color: cornsilk;
  21.     color: cadetblue;
  22. }
  23.  
  24. input[type=text] {
  25.     user-select: none;
  26.     background-color: #3CBC8D;
  27.     color: white;
  28. }
  29.  
  30. form {
  31.     position: fixed;
  32.     right: 5px;
  33.     top: 5px;
  34. }
  35.  
  36. input[type="image"] {
  37.     border-radius: 20px;
  38. }
  39.  
  40. input[type="image"]:hover {
  41.     filter: brightness(80%)
  42. }
  43.  
  44. /* menu */
  45. .active {
  46.     background-color: aquamarine;
  47.     color: gray;
  48. }
  49.  
  50. ul {
  51.     font-family: sans-serif;
  52.     list-style-type: none;
  53.     margin: 0;
  54.     padding: 0;
  55.     overflow: hidden;
  56.     background-color: #333;
  57. }
  58.  
  59. li {
  60.     float: left;
  61. }
  62.  
  63. li a, .dropbtn {
  64.     display: inline-block;
  65.     color: white;
  66.     text-align: center;
  67.     padding: 14px 16px;
  68.     text-decoration: none;
  69. }
  70.  
  71. li a:hover:not(.active), .dropdown:hover .dropbtn {
  72.     background-color: darkcyan;
  73. }
  74.  
  75. li.dropdown {
  76.     display: inline-block;
  77. }
  78.  
  79. .dropdown-content {
  80.     display: none;
  81.     position: absolute;
  82.     background-color: #5f5f5f;
  83.     min-width: 160px;
  84.     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  85. }
  86.  
  87. .dropdown-content a {
  88.     color: black;
  89.     padding: 12px 16px;
  90.     text-decoration: none;
  91.     display: block;
  92.     text-align: left;
  93. }
  94.  
  95. .dropdown-content a:hover {
  96.     background-color: #f1f1f1
  97. }
  98.  
  99. .dropdown:hover .dropdown-content {
  100.     display: block;
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement