hackit.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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. .container{
  12. overflow:hidden;
  13. }
  14. /*banner*/
  15. .banner {
  16. background: #fff;
  17. color: #9c2f2f;
  18. }
  19. .banner img {
  20. vertical-align: middle;
  21. left: 50%;
  22. position: relative;
  23. -webkit-transform: translate(-50%, 0);
  24. /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
  25. -ms-transform: translate(-50%, 0);
  26. /* IE 9 */
  27. transform: translate(-50%, 0);
  28. /* IE 10, Fx 16+, Op 12.1+ */
  29. width: 320px;
  30. }
  31. .header-ul-menu {
  32. list-style: none;
  33. color: #fff;
  34. background: #9c2f2f;
  35. margin-top: -60px;
  36. }
  37. .header-ul-menu .header-menu {
  38. font-size: 2em;
  39. }
  40. /*fine banner*/
  41. .navbar::after,
  42. .navbar-collapse::after,
  43. .container::after {
  44. clear: none !important
  45. }
  46. ul,
  47. p {
  48. background-color: rgba(255, 255, 255, 0);
  49. }
  50. a,
  51. a:hover,
  52. a:focus,
  53. .entry-content a,
  54. .entry-content a:hover,
  55. .entry-content a:focus {
  56. color: #fff;
  57. text-decoration: none;
  58. }
  59. /* ci sono due selettori diversi perche' quando genera da markdown e da restructuredtext fa due output un po'
  60. * diversi */
  61. #content .entry-content > h2,
  62. #content .entry-content > .section:first-child > h2 {
  63. background-color: white;
  64. /* padding: 1em 0;*/
  65. color: black;
  66. margin-bottom: 1em;
  67. left: 0;
  68. font-size: 200%;
  69. text-align: center;
  70. /* position: relative;
  71. width: 100vw;
  72. transform: translate(-8%,0);*/
  73. }
  74. h4 {
  75. font-size: 21px !important;
  76. }
  77. a.toc-backref,
  78. h1,
  79. h2,
  80. h3,
  81. h4,
  82. strong,
  83. tt {
  84. background: #fff;
  85. padding: 6px 10px;
  86. font-weight: 600;
  87. color: #9c2f2f;
  88. border-bottom;
  89. 0px;
  90. }
  91. .talk-resources h4 {
  92. background: none;
  93. color: white;
  94. }
  95. a.toc-backref,
  96. h1,
  97. h2,
  98. h3,
  99. h4,
  100. tt {
  101. display: inline-block;
  102. }
  103. a.toc-backref:hover {
  104. color: rgba(0, 0, 0, 1);
  105. }
  106. tt.literal {
  107. font-size: 80%;
  108. }
  109. .navbar-brand {
  110. display: none;
  111. }
  112. .navbar {
  113. background-color: #000;
  114. }
  115. .navbar .navbar-brand,
  116. .navbar .navbar-nav > li > a {
  117. color: #fff;
  118. }
  119. .navbar .navbar-nav > li > a {
  120. transition: background-color .3s;
  121. background-color: #000;
  122. }
  123. .navbar .navbar-nav > .active > a,
  124. .navbar .navbar-nav > .active > a:hover,
  125. .navbar .navbar-nav > .active > a:focus {
  126. color: #333;
  127. background-color: white;
  128. }
  129. .navbar .navbar-nav > li > a:hover,
  130. .navbar .navbar-nav > li > a:focus,
  131. .navbar .navbar-brand:hover,
  132. .navbar .navbar-brand:focus {
  133. color: white;
  134. background-color: #333;
  135. }
  136. .navbar-brand {
  137. font-size: 21px;
  138. }
  139. .navbar-right li form {
  140. line-height: 21px;
  141. padding-top: 10px;
  142. padding-bottom: 10px;
  143. }
  144. #tipue_search_input {
  145. width: 2em !important;
  146. transition: all 0.5s;
  147. }
  148. #tipue_search_input:focus {
  149. width: 10em !important;
  150. }
  151. /* HOME {{{ */
  152. .body-index blockquote {
  153. font-size: 21px;
  154. margin-left: auto;
  155. margin-right: auto;
  156. }
  157. .body-index h3 {
  158. text-align: center;
  159. font-size: 24px;
  160. }
  161. /* END HOME }}} */
  162. {
  163. position: relative;
  164. width: 100%;
  165. }
  166. /* TALK {{{ */
  167. .talk-resources {
  168. word-break: break-all;
  169. }
  170. .talk-grid {
  171. table-layout: auto;
  172. min-width: 100%;
  173. border-collapse: separate;
  174. text-align: center;
  175. }
  176. .talk-grid > thead th:first-child {
  177. max-width: 5em;
  178. }
  179. .talk-grid > thead th {
  180. text-align: center;
  181. }
  182. .talk-grid tr {
  183. height: 1.5em;
  184. }
  185. .rooms-4 .talk {
  186. width: 25%;
  187. }
  188. .rooms-3 .talk {
  189. width: 33%;
  190. }
  191. .rooms-2 .talk {
  192. width: 50%;
  193. }
  194. .rooms-1 .talk {
  195. width: 100%;
  196. }
  197. td.talk {
  198. border: 1px solid #444;
  199. padding: 4px;
  200. }
  201. td.talk > a {
  202. text-decoration: none;
  203. border: none;
  204. }
  205. .talk-grid tr {
  206. line-height: 1em;
  207. }
  208. .talk-grid tr:hover td:first-child {
  209. background-color: rgb(152, 14, 14);
  210. background-color: rgba(152, 14, 14, 0.79);
  211. }
  212. .talk-grid tr:hover td {
  213. background-color: rgb(60, 22, 22)
  214. }
  215. .talk-title a,
  216. .talk-title a:hover,
  217. .talk-title a:focus {
  218. color: #9c2f2f;
  219. border-bottom: none;
  220. }
  221. .talk-description strong {
  222. background: inherit;
  223. color: inherit;
  224. }
  225. /* tag speciali nei talk {{{ */
  226. /* generati guardando i tag di glypicon come glyphicon-pushpin e copiandone il campo content */
  227. td.talk::before {
  228. font-family: 'Glyphicons Halflings';
  229. float: right;
  230. }
  231. td.tag-presentazione_libro::before {
  232. content: "\e043";
  233. }
  234. td.tag-percorso_base::before {
  235. content: "\e146";
  236. }
  237. .talk.allrooms {
  238. background-color: rgba(200,200,200,0.4);
  239. }
  240. /* tag speciali nei talk }}} */
  241. /* END TALK }}} */
  242. /* Pagine speciali */
  243. .body-info .entry-content > ul {
  244. list-style: none;
  245. }
  246. /*media query min dal piccolo, max dal grande*/
  247. @media all and (min-width: 770px) {
  248. .navbar,
  249. .navbar .navbar-brand,
  250. .navbar .navbar-nav > li > a {
  251. background-color: #9c2f2f;
  252. }
  253. }
  254. @media all and (max-width: 770px) {
  255. .talk-grid {
  256. font-size: 0.8em;
  257. }
  258. .talk-grid td {
  259. hyphens: auto;
  260. }
  261. }
  262. @media all and (max-width: 1200px), (hover: none), (hover: on-demand), (pointer: coarse) { /* any mobile */
  263. div.container {
  264. width: 100% !important;
  265. }
  266. }
  267. @media all and (max-width: 450px) {
  268. .talk-grid {
  269. font-size: 0.5em;
  270. }
  271. }