Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. /*
  2. CSS
  3. */
  4.  
  5. .cf:before,
  6. .cf:after {
  7. content: " "; /* 1 */
  8. display: table; /* 2 */
  9. }
  10.  
  11. .cf:after {
  12. clear: both;
  13. }
  14.  
  15. body {
  16. font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  17. font-size: 1em;
  18. width: 100%;
  19. background-color: white;
  20. }
  21.  
  22. #mainMenu, #mainMenu ul {
  23. margin: 0;
  24. padding: 0;
  25. list-style: none;
  26. }
  27.  
  28. #mainMenu {
  29. background-color: #bf2929;
  30. font-weight: bold;
  31. letter-spacing: .5px;
  32. }
  33.  
  34. #mainMenu li {
  35. float: left;
  36. }
  37.  
  38. #mainMenu li.dropdown {
  39. display: block;
  40. }
  41. #mainMenu li a, #mainMenu .dropbtn {
  42. display: block;
  43. padding: 1em 2em;
  44. text-decoration: none;
  45. text-align: center;
  46. color: white;
  47. opacity: 0.99;
  48. z-index: 1;
  49. }
  50. #mainMenu li.dropdown {
  51. display: block;
  52. }
  53. .dropdown-content {
  54. box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  55. display: none;
  56. position: absolute;
  57. min-width: 160px;
  58. z-index: 2;
  59. }
  60. .dropdown-content a {
  61. color: black;
  62. padding: 1em 2em;
  63. text-decoration: none;
  64. display: block;
  65. text-align: left;
  66. }
  67.  
  68. #mainMenu li:nth-child(4), #mainMenu li:nth-child(5){
  69. float: right;
  70. }
  71.  
  72.  
  73. /*background-color: #bf2929;*/
  74. /*
  75. /#mainMenu a:hover:not(.active), .dropdown:hover:not(.active) .dropbtn {
  76. background-color: #931e1e;
  77. }
  78. */
  79.  
  80. /*.dropdown:hover .dropdown-content {
  81. display: block;
  82. }*/
  83.  
  84. #mainMenu .active {
  85. background-color: #8a1313;
  86. }
  87.  
  88. /*#mainMenu li:nth-child(4), #mainMenu li:nth-child(5){
  89. float: right;
  90. }*/
  91.  
  92. #logo {
  93. float: right;
  94. font-size: 1.1em;;
  95. letter-spacing: 0.5em;
  96. margin: 0.8em;
  97. text-align: center;
  98. }
  99.  
  100. #logoKrodos {
  101. width: 350px;
  102. margin: 0 1em 0 0;
  103. }
  104.  
  105. #invalida {
  106. float: left;
  107. margin-right: 1em;
  108. min-width: 3em;
  109. max-width: 3em;
  110. }
  111.  
  112. .cards {
  113. float: right;
  114. margin: 0.5em;
  115. min-width: 5em;
  116. max-width: 5em;
  117. }
  118.  
  119. section {
  120. margin: 1em;
  121. display: block;
  122. }
  123.  
  124. header {
  125. margin: 1em 0;
  126. min-width: 42.5em;
  127. }
  128.  
  129. footer {
  130. font-size: 10px;
  131. padding: 1em;
  132. text-align: center;
  133. border-top: 1px solid grey;
  134. margin: 2em;
  135. bottom: 0;
  136. }
  137.  
  138. article {
  139. line-height: 1.5em;
  140. margin: 0 1em;
  141. /*position: absolute;
  142. top: 10em;*/
  143. }
  144.  
  145. table {
  146. border-collapse: collapse;
  147. }
  148.  
  149. table, td, th {
  150. border: 1px solid black;
  151. padding: 0.2em;
  152. text-align: center;
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement