hackit.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. color: #fff;
  6. background-color: #9c2f2f;
  7. font-family: sans-serif;
  8. font-size: 2em;
  9. height: 100%;
  10. }
  11. /*banner*/
  12. .banner{
  13. background:#fff;
  14. color:#9c2f2f;
  15. }
  16. .banner img {
  17. vertical-align: middle;
  18. left: 50%;
  19. position: relative;
  20. transform: translate(-50%,0);
  21. }
  22. .header-ul-menu {
  23. list-style: none;
  24. color: #fff;
  25. background: #9c2f2f;
  26. font-size: 2em;
  27. margin-top: -60px;
  28. }
  29. /*fine banner*/
  30. .navbar::after,
  31. .navbar-collapse::after,
  32. .container::after {
  33. clear: none !important
  34. }
  35. ul,
  36. p {
  37. background-color: rgba(255,255,255, 0);
  38. }
  39. a,
  40. a:hover,
  41. a:focus,
  42. .entry-content a,
  43. .entry-content a:hover,
  44. .entry-content a:focus {
  45. color: #fff;
  46. text-decoration: none;
  47. }
  48. /* ci sono due selettori diversi perche' quando genera da markdown e da restructuredtext fa due output un po'
  49. * diversi */
  50. #content .entry-content > h2,
  51. #content .entry-content > .section:first-child>h2
  52. {
  53. background-color: white;
  54. padding: 1em 0;
  55. color: black;
  56. margin-bottom: 1em;
  57. left: 0;
  58. font-size: 200%;
  59. text-align: center;
  60. position: relative;
  61. width: 100vw;
  62. transform: translate(-8%,0);
  63. }
  64. h4 {
  65. font-size: 25px !important;
  66. }
  67. a.toc-backref,
  68. h1,
  69. h2,
  70. h3,
  71. h4,
  72. tt {
  73. background: #fff;
  74. display: inline-block;
  75. padding: 6px 10px;
  76. font-weight: 600;
  77. color: #9c2f2f;
  78. border-bottom; 0px;
  79. }
  80. a.toc-backref:hover {
  81. color: rgba(0,0,0,1);
  82. }
  83. tt.literal {
  84. font-size: 80%;
  85. }
  86. .navbar-brand {
  87. display: none;
  88. }
  89. .navbar {
  90. background-color: #000;
  91. }
  92. .navbar .navbar-brand,
  93. .navbar .navbar-nav > li > a {
  94. color: #fff;
  95. }
  96. .navbar .navbar-nav > li > a {
  97. transition: background-color .3s;
  98. background-color: #000;
  99. }
  100. .navbar .navbar-nav > .active > a,
  101. .navbar .navbar-nav > .active > a:hover,
  102. .navbar .navbar-nav > .active > a:focus {
  103. color: #333;
  104. background-color: white;
  105. }
  106. .navbar .navbar-nav > li > a:hover,
  107. .navbar .navbar-nav > li > a:focus,
  108. .navbar .navbar-brand:hover,
  109. .navbar .navbar-brand:focus {
  110. color: white;
  111. background-color: #333;
  112. }
  113. .navbar-brand {
  114. font-size: 21px;
  115. }
  116. .navbar-right li form {
  117. line-height: 21px;
  118. padding-top: 10px;
  119. padding-bottom: 10px;
  120. }
  121. #tipue_search_input {
  122. width: 2em !important;
  123. transition: all 0.5s;
  124. }
  125. #tipue_search_input:focus {
  126. width: 10em !important;
  127. }
  128. /* HOME {{{ */
  129. .body-index blockquote {
  130. font-size: 21px;
  131. margin-left: auto;
  132. margin-right: auto;
  133. }
  134. .body-index h3 {
  135. text-align: center;
  136. font-size: 24px;
  137. }
  138. /* END HOME }}} */
  139. {
  140. position:relative;
  141. width:100%;
  142. }
  143. /* TALK {{{ */
  144. .talk-grid {
  145. table-layout: auto;
  146. width: 100%;
  147. border-collapse: collapse;
  148. text-align: center;
  149. }
  150. .talk-grid > thead th:first-child {
  151. max-width: 5em;
  152. }
  153. .talk-grid > thead th {
  154. text-align: center;
  155. }
  156. .talk-grid tr {
  157. height: 1.5em;
  158. }
  159. .rooms-4 .talk {
  160. width: 25%;
  161. }
  162. .rooms-3 .talk {
  163. width: 33%;
  164. }
  165. .rooms-2 .talk {
  166. width: 50%;
  167. }
  168. .rooms-1 .talk {
  169. width: 100%;
  170. }
  171. td.talk {
  172. border: 1px solid #444;
  173. padding: 4px;
  174. }
  175. td.talk > a {
  176. text-decoration: none;
  177. }
  178. .talk-grid tr {
  179. line-height: 1em;
  180. }
  181. .talk-grid tr:hover td:first-child {
  182. background-color: rgb(152, 14, 14);
  183. background-color: rgba(152, 14, 14, 0.79);
  184. }
  185. .talk-grid tr:hover td {
  186. background-color: rgb(60, 22, 22)
  187. }
  188. .talk-title a {
  189. font-size: 50%;
  190. }
  191. /* END TALK }}} */
  192. /*media query*/
  193. @media all and (min-width: 770px) {
  194. .navbar, .navbar .navbar-brand,
  195. .navbar .navbar-nav > li > a {
  196. background-color: #9c2f2f;
  197. }
  198. }