You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

568 lines
11 KiB

  1. /**
  2. * Basic elements
  3. *
  4. * very general basic rules for all fitting elements.
  5. *
  6. * @what
  7. * everything reset
  8. * html
  9. * body
  10. * headings
  11. * content elements
  12. * list styles
  13. * code
  14. * image
  15. * abbreviation
  16. * horizontal rule
  17. * tables
  18. * forms
  19. * paginations
  20. * helper classes
  21. * columns
  22. * skip link
  23. */
  24. *{
  25. margin: 0;
  26. padding: 0;
  27. }
  28. /* Font size to 10px at body */
  29. html{
  30. font-size:1.25em;
  31. }
  32. body{
  33. font-size: 0.5em;
  34. }
  35. /**
  36. * container for non-responsive elements
  37. *
  38. * youtube/video 16:9 iframe
  39. * @see https://benmarshall.me/responsive-iframes/?utm_source=duckduckgo.com&utm_medium=organic&utm_campaign=DuckDuckGo&redirect=1
  40. *
  41. * tables
  42. * @see https://mdbootstrap.com/docs/jquery/tables/responsive/
  43. *
  44. * @see more posibilities with aspect ratio
  45. * https://css-tricks.com/responsive-iframes/
  46. *
  47. */
  48. .iframe-container{
  49. overflow:hidden;
  50. padding-top:56.25%; /* 16:9 aspect ratio */
  51. position:relative;
  52. }
  53. .iframe-container > iframe{
  54. border:0;
  55. height:100%;
  56. left:0;
  57. position:absolute;
  58. top:0;
  59. width:100%;
  60. }
  61. .table-container{
  62. width:100%;
  63. overflow-x:auto;
  64. -webkit-overflow-scrolling:touch;
  65. -ms-overflow-style:-ms-autohiding-scrollbar;
  66. }
  67. /* headings */
  68. h2,
  69. h3,
  70. h4,
  71. h5,
  72. h6 {
  73. margin:0 0 0.3em 0;
  74. }
  75. /* content elements */
  76. p,
  77. table,
  78. ul,
  79. ol,
  80. dl,
  81. dt,
  82. dd,
  83. .columns,
  84. img {
  85. margin:0 0 1em 0;
  86. }
  87. ul,
  88. ol{
  89. padding-left:1.5em;
  90. }
  91. /* list styles */
  92. ul { list-style-type: disc; }
  93. ul ul { list-style-type: circle; }
  94. ul ul ul { list-style-type: square; }
  95. ul ul ul ul { list-style-type: circle; }
  96. ol { list-style-type: decimal; }
  97. ol ol { list-style-type: lower-alpha; }
  98. ol ol ol { list-style-type: decimal; }
  99. ul ul,
  100. ul ol,
  101. ol ol,
  102. ol ul{
  103. padding-top:0.5em;
  104. }
  105. dt {
  106. margin-bottom:0;
  107. }
  108. dd {
  109. margin-bottom:0.5em;
  110. }
  111. /* code */
  112. pre, code, tt{}
  113. pre{}
  114. /* image */
  115. img{
  116. height:auto;
  117. }
  118. /* abbreviation */
  119. abbr {
  120. cursor: help;
  121. white-space: nowrap;
  122. }
  123. /* horizontal rule */
  124. hr{
  125. border:1px solid #E1E1E1;
  126. border-width:0 0 1px 0;
  127. margin:3em 0;
  128. }
  129. .content hr{
  130. clear:both;
  131. }
  132. /* tables */
  133. table{
  134. width:100%;
  135. }
  136. th{
  137. text-align:left;
  138. }
  139. tbody{
  140. border-color:transparent;
  141. }
  142. tr.even,
  143. tr.odd{
  144. background:none;
  145. }
  146. td,
  147. th{
  148. padding:0.3em 0.5em;
  149. }
  150. tr.even td,
  151. tr.odd td{
  152. }
  153. tr + tr td,
  154. thead + tbody tr:first-child td{
  155. border-top:1px solid #E1E1E1;
  156. }
  157. table .views-field-title{
  158. min-width:50vw;
  159. }
  160. /* forms */
  161. fieldset{
  162. margin:0 0 0.5em 0;
  163. }
  164. label[for]{
  165. cursor:pointer;
  166. }
  167. button,
  168. input,
  169. select,
  170. textarea{
  171. background:#F6F6F6;
  172. border:none;
  173. padding:0.3em 1em 0.4em 1em;
  174. line-height:2;
  175. margin:0 2% 1em 0;
  176. color:#666666;
  177. max-width:100%;
  178. transition:all ease 500ms;
  179. box-sizing:border-box;
  180. border:1px solid #E6E6E6;
  181. }
  182. .content button,
  183. .content input,
  184. .content select,
  185. .content textarea{
  186. font-size:1em;
  187. }
  188. .form-textarea-wrapper textarea{
  189. color:#666666;
  190. }
  191. input{
  192. padding-left:0;
  193. text-indent:1em;
  194. }
  195. input.text-full{
  196. width:100%;
  197. margin-right:0;
  198. }
  199. input,
  200. select,
  201. textarea{
  202. }
  203. input[type="text"],
  204. input[type="email"],
  205. input[type="url"],
  206. input[type="password"],
  207. input[type="search"],
  208. textarea{
  209. }
  210. input[type="text"]:focus,
  211. input[type="email"]:focus,
  212. input[type="url"]:focus,
  213. input[type="password"]:focus,
  214. input[type="search"]:focus,
  215. textarea:focus,
  216. select:focus,
  217. textarea:focus{
  218. outline:0;
  219. color:#000000;
  220. }
  221. .content button,
  222. .content input,
  223. .content select,
  224. .content textarea{
  225. padding:0.285714286em 0.714285714em;
  226. }
  227. textarea{
  228. line-height:1.4;
  229. padding-top:0.7em;
  230. padding-bottom:0.7em;
  231. }
  232. /* It's rather heartwarming to know you can style a <select> in a rather cross-browser friendly way that doesn't hurt accessibility. Kudos for documenting this Scott! */
  233. select{
  234. display: block;
  235. width: 100%;
  236. max-width: 100%;
  237. padding: 0.1em 2em 0.2em 0.8em;
  238. border: 1px solid #E6E6E6;
  239. -webkit-appearance: none;
  240. -moz-appearance: none;
  241. appearance: none;
  242. background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%237F7F7F%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  243. background-repeat: no-repeat;
  244. background-color: #FFFFFF;
  245. background-position: right 0.7em top 50%;
  246. background-size: 1em auto;
  247. }
  248. /* CAUTION: Internet Explorer hackery ahead */
  249. select::-ms-expand {
  250. display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
  251. }
  252. /* Target Internet Explorer 9 to undo the custom arrow */
  253. @media screen and (min-width:0\0) {
  254. select {
  255. background: none\9;
  256. padding: 5px\9;
  257. }
  258. }
  259. .content select{
  260. padding-right:2em;
  261. width:auto;
  262. }
  263. button,
  264. input[type="color"],
  265. input[type="reset"],
  266. input[type="button"],
  267. input[type="submit"]{
  268. text-align:center;
  269. padding-left:1em;
  270. padding-right:1em;
  271. text-indent:0;
  272. border:1px solid #D5D5D5;
  273. cursor:pointer;
  274. }
  275. button:hover,
  276. button:focus,
  277. input[type="submit"]:focus,
  278. input[type="submit"]:hover{
  279. border-color:#CCCCCC;
  280. color:#000000;
  281. }
  282. button[disabled],
  283. input[disabled],
  284. select[disabled],
  285. textarea[disabled]{
  286. opacity:.5;
  287. }
  288. #block-search-form div{
  289. display:block;
  290. }
  291. input[type="checkbox"],
  292. input[type="radio"] {
  293. padding: 0;
  294. margin-bottom:0.5em:
  295. }
  296. /* Paginations */
  297. .pager{
  298. padding:0;
  299. text-align:center;
  300. }
  301. .pager li{
  302. list-style:none;
  303. display:inline;
  304. }
  305. .pager li a{
  306. display:inline-block;
  307. padding:0 0.5em;
  308. }
  309. .pager li.pager-current{
  310. padding:0 0.5em;
  311. }
  312. .pager li.pager-first a,
  313. .pager li.pager-previous a,
  314. .pager li.pager-next a,
  315. .pager li.pager-last a{
  316. text-indent: -999em;
  317. }
  318. .pager li.pager-first a:before,
  319. .pager li.pager-previous a:before,
  320. .pager li.pager-next a:before,
  321. .pager li.pager-last a:before{
  322. display:block;
  323. float:left;
  324. text-indent: 0;
  325. font-size:1.8em;
  326. position:relative;
  327. text-align: center;
  328. top:-0.4em;
  329. }
  330. .pager li.pager-first a:before { content:"\00AB"; }
  331. .pager li.pager-previous a:before { content:"\2039"; }
  332. .pager li.pager-next a:before { content:"\203A"; }
  333. .pager li.pager-last a:before { content:"\00BB"; }
  334. /**
  335. * Helper classes
  336. * ==============
  337. * They provide simple, selffulfilling properties
  338. * which are readable by their names.
  339. * ----------------------------------------------
  340. * hide-block { display:block;
  341. * position:absolute;
  342. * left:-9999em; }
  343. * hide-text { text-indent:-999em; }
  344. * align-left { text-align:left; }
  345. * align-center { text-align:center; }
  346. * align-right { text-align:right; }
  347. * align-justify { text-align:justify; }
  348. * nowrap { white-space:nowrap; }
  349. * float-left { float:left; }
  350. * float-right { float:right; }
  351. * clear { clear:both; }
  352. * clear-left { clear:left; }
  353. * clear-right { clear:right; }
  354. * clearfix - see below
  355. * ----------------------------------------------
  356. * Legacy names which have the same funcionality:
  357. * left, floatleft
  358. * right, floatright
  359. * clearFloat
  360. * invisible
  361. * hideBlock
  362. * hideText
  363. * hideAccessible
  364. */
  365. /* Hidings / Image replacement */
  366. .invisible {
  367. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  368. /* IE 8 */
  369. filter: alpha(opacity=0);
  370. /* IE 5-7 */
  371. -moz-opacity: 0;
  372. /* Netscape */
  373. -khtml-opacity: 0;
  374. /* Safari 1.x */
  375. opacity: 0;
  376. /* Good browsers */
  377. }
  378. .hide-block {
  379. display: block;
  380. position: absolute;
  381. left: -999em;
  382. }
  383. .hide-text {
  384. text-indent: -999em;
  385. }
  386. /* Text alignment */
  387. .align-left {
  388. text-align: left;
  389. }
  390. .align-center {
  391. text-align: center;
  392. }
  393. .align-right {
  394. text-align: right;
  395. }
  396. .align-justify {
  397. text-align: justify;
  398. }
  399. /* Text wrapping */
  400. .nowrap {
  401. white-space: nowrap;
  402. }
  403. /* Floats */
  404. .float-left,
  405. img.alignleft,
  406. figure.alignleft {
  407. float: left;
  408. }
  409. .float-right,
  410. img.alignright,
  411. figure.alignright {
  412. float: right;
  413. }
  414. /* Clear floats */
  415. .clear {
  416. clear: both;
  417. }
  418. .clear-left {
  419. clear: left;
  420. }
  421. .clear-right {
  422. clear: right;
  423. }
  424. /**
  425. * Micro Clearfix for modern browsers by Nicolas Gallagher
  426. * =======================================================
  427. * 1. The space content is one way to avoid an Opera bug when the
  428. * contenteditable attribute is included anywhere else in the document.
  429. * Otherwise it causes space to appear at the top and bottom of elements
  430. * that are clearfixed.
  431. * -------------------------------------------------------
  432. * 2. The use of `table` rather than `block` is only necessary if using
  433. * `:before` to contain the top-margins of child elements.
  434. */
  435. .clearfix:before,
  436. .clearfix:after {
  437. content: " ";
  438. /* 1 */
  439. display: table;
  440. /* 2 */
  441. }
  442. .clearfix:after {
  443. clear: both;
  444. }
  445. /**
  446. * For IE 6/7 only
  447. * ===============
  448. * Include this rule to trigger hasLayout and contain floats.
  449. * ----------------------------------------------------------
  450. * THERE BE DRAGONS!
  451. * IF USING CLEARFIX FOR IE7 YOU HAVE TO AVOID MARGIN ON THE
  452. * INNER ELEMENT AND PUT PADDING ON THE OUTER.
  453. */
  454. .lt-ie8 .clearfix {
  455. zoom: 1;
  456. }
  457. /**
  458. * columns
  459. */
  460. .columns{
  461. display:-webkit-box;
  462. display:-moz-box;
  463. display:-ms-flexbox;
  464. display:-webkit-flex;
  465. display:flex;
  466. -webkit-box-orient:horizontal;
  467. -webkit-box-direction:normal;
  468. -ms-flex-flow:row wrap;
  469. flex-flow:row wrap;
  470. -ms-flex-pack: distribute;
  471. justify-content: space-between;
  472. }
  473. .columns .column{
  474. -ms-flex-preferred-size: 100%;
  475. flex-basis: 100%;
  476. }
  477. /**
  478. * Media query: min-width: 600px
  479. * =============================
  480. */
  481. @media screen and (min-width: 600px) {
  482. .columns.double .column,
  483. .columns.quadruple .column{
  484. -ms-flex-preferred-size: 50%;
  485. flex-basis: 50%;
  486. }
  487. }
  488. /**
  489. * Media query: min-width: 767px
  490. * =============================
  491. */
  492. @media screen and (min-width: 767px) {
  493. .columns.triple .column{
  494. -ms-flex-preferred-size: 32.17%;
  495. flex-basis: 32.17%;
  496. }
  497. }
  498. /**
  499. * Media query: min-width: 987px
  500. * =============================
  501. */
  502. @media screen and (min-width: 987px) {
  503. .columns.quadruple .column{
  504. -ms-flex-preferred-size: 25%;
  505. flex-basis: 25%;
  506. }
  507. }
  508. /* "Skip to Main Content" link
  509. * ---------------------------
  510. * This link useful for both visually impaired people and those with mobility impairments
  511. * who cannot use a mouse. http://www.webaim.org/techniques/css/invisiblecontent/ */
  512. #skip{
  513. position:absolute;
  514. height:0;
  515. top:20px;
  516. left:20px;
  517. z-index:100;
  518. }
  519. #skip li{
  520. list-style:none;
  521. }
  522. #skip a{
  523. white-space:nowrap;
  524. }
  525. #skip a:link, #skip a:hover, #skip a:visited {
  526. position: absolute;
  527. left: -10000px;
  528. top: auto;
  529. display:block;
  530. }
  531. #skip a:active, #skip a:focus {
  532. left:auto;
  533. padding:3px 1em;
  534. background:#FFFFFF;
  535. color:#111111;
  536. outline:0;
  537. border:1px solid #111111;
  538. -webkit-box-shadow: 0px 0px 0px 10px rgba(0, 0, 0, 0.3);
  539. box-shadow: 0px 0px 0px 10px rgba(0, 0, 0, 0.3);
  540. }