style.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. body {
  2. font-family: sans-serif;
  3. margin: auto;
  4. max-width: 1280px;
  5. padding-left: 50px;
  6. padding-right: 50px
  7. }
  8. .navbar {
  9. background-color: #1761B2;
  10. border-radius: 2px;
  11. width:102%;
  12. padding: 60px 50px 20px 50px;
  13. margin: -50px -10px 0px -60px;
  14. }
  15. .navbar a {
  16. color: white;
  17. display: inline-block;
  18. font-size: 15px;
  19. padding: 10px;
  20. text-decoration: none;
  21. }
  22. .navbar a:hover{
  23. color: white;
  24. text-decoration: underline;
  25. background-color: #03a1fc;
  26. border-radius: 2px;
  27. padding-top: 60px;
  28. margin-top: -50px;
  29. max-width: 800px;
  30. }
  31. .switch {
  32. position: relative;
  33. display: inline-block;
  34. width: 60px;
  35. height: 34px;
  36. }
  37. .switch input {
  38. opacity: 0;
  39. width: 0;
  40. height: 0;
  41. }
  42. .slider {
  43. position: absolute;
  44. cursor: pointer;
  45. top: 0;
  46. left: 0;
  47. right: 0;
  48. bottom: 0;
  49. background-color: red;
  50. -webkit-transition: .4s;
  51. transition: .4s;
  52. }
  53. .slider:before {
  54. position: absolute;
  55. content: "";
  56. height: 26px;
  57. width: 26px;
  58. left: 4px;
  59. bottom: 4px;
  60. background-color: white;
  61. -webkit-transition: .4s;
  62. transition: .4s;
  63. }
  64. th, td, table{
  65. }
  66. div.vertical{
  67. margin-left: -85px;
  68. position: absolute;
  69. width: 215px;
  70. transform: rotate(-90deg);
  71. -webkit-transform: rotate(-90deg); /* Safari/Chrome */
  72. -moz-transform: rotate(-90deg); /* Firefox */
  73. -o-transform: rotate(-90deg); /* Opera */
  74. -ms-transform: rotate(-90deg); /* IE 9 */
  75. }
  76. th.vertical{
  77. max-width: 50px;
  78. height: 140px;
  79. line-height: 14px;
  80. padding-bottom: 20px;
  81. text-align: inherit;
  82. }
  83. input:checked + .slider {
  84. background-color: green;
  85. }
  86. input:focus + .slider {
  87. box-shadow: 0 0 1px #2196F3;
  88. }
  89. input:checked + .slider:before {
  90. -webkit-transform: translateX(26px);
  91. -ms-transform: translateX(26px);
  92. transform: translateX(26px);
  93. }
  94. /* Rounded sliders */
  95. .slider.round {
  96. border-radius: 34px;
  97. }
  98. .slider.round:before {
  99. border-radius: 50%;
  100. }
  101. pre {
  102. font-family: sans-serif;
  103. font-size: 16px;
  104. }
  105. input {
  106. font-size: 16px;
  107. }
  108. textarea {
  109. font-size: 16px;
  110. resize: none;
  111. border-radius: 5px;
  112. }
  113. select{
  114. font-size: 16px;
  115. }
  116. button{
  117. font-size: 16px;
  118. }
  119. tbody td{
  120. padding: 30px;
  121. }
  122. tbody tr:nth-child(odd){
  123. background-color: #F4F4F4;
  124. color: black;
  125. }
  126. img{
  127. display: none
  128. }
  129. span:hover + img{
  130. display: block;
  131. }