style.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. /* --------------------------------
  2. Primary style
  3. -------------------------------- */
  4. *, *::after, *::before {
  5. -webkit-box-sizing: border-box;
  6. -moz-box-sizing: border-box;
  7. box-sizing: border-box;
  8. }
  9. *::after, *::before {
  10. content: '';
  11. }
  12. body {
  13. font-size: 100%;
  14. font-family: "PT Sans", sans-serif;
  15. color: #f8f7ee;
  16. background-color: #29324e;
  17. }
  18. a {
  19. color: #f05451;
  20. text-decoration: none;
  21. }
  22. /* --------------------------------
  23. Main components
  24. -------------------------------- */
  25. /*header {
  26. width: 90%;
  27. position: relative;
  28. margin-top:20px;
  29. height: 80px;
  30. line-height: 40px;
  31. text-align: center;
  32. -webkit-font-smoothing: antialiased;
  33. -moz-osx-font-smoothing: grayscale;
  34. }*/
  35. .header {
  36. width: 90%;
  37. max-width: 960px;
  38. margin: 2em auto;
  39. height: 80px;
  40. }
  41. .header img {
  42. float: left;
  43. height: 60px;
  44. background: #555;
  45. }
  46. .header h1 {
  47. position: relative;
  48. top: 4px;
  49. text-align: center;
  50. left: 10px;
  51. font-size: 24px;
  52. font-size: 1.425rem;
  53. }
  54. /*@media only screen and (min-width: 68px) {
  55. header {
  56. height: 100px;
  57. line-height: 225px;
  58. }
  59. header h1 {
  60. font-size: 20px;
  61. font-size: 1.25rem;
  62. }
  63. }*/
  64. .cd-connects {
  65. position: relative;
  66. width: 90%;
  67. max-width: 960px;
  68. margin: 2em auto;
  69. }
  70. .cd-tabs {
  71. position: relative;
  72. width: 90%;
  73. max-width: 960px;
  74. margin: 2em auto;
  75. }
  76. .cd-tabs:after {
  77. content: "";
  78. display: table;
  79. clear: both;
  80. }
  81. .cd-tabs::after {
  82. /* subtle gradient layer on top right - to indicate it's possible to scroll */
  83. position: absolute;
  84. top: 0;
  85. right: 0;
  86. height: 60px;
  87. width: 50px;
  88. z-index: 1;
  89. pointer-events: none;
  90. background: -webkit-linear-gradient( right , #f8f7ee, rgba(248, 247, 238, 0));
  91. background: linear-gradient(to left, #f8f7ee, rgba(248, 247, 238, 0));
  92. visibility: visible;
  93. opacity: 1;
  94. -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  95. -moz-transition: opacity .3s 0s, visibility 0s 0s;
  96. transition: opacity .3s 0s, visibility 0s 0s;
  97. }
  98. .no-cssgradients .cd-tabs::after {
  99. display: none;
  100. }
  101. .cd-tabs.is-ended::after {
  102. /* class added in jQuery - remove the gradient layer when it's no longer possible to scroll */
  103. visibility: hidden;
  104. opacity: 0;
  105. -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  106. -moz-transition: opacity .3s 0s, visibility 0s .3s;
  107. transition: opacity .3s 0s, visibility 0s .3s;
  108. }
  109. .cd-tabs nav {
  110. overflow: auto;
  111. -webkit-overflow-scrolling: touch;
  112. background: #f8f7ee;
  113. box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
  114. }
  115. @media only screen and (min-width: 68px) {
  116. .cd-tabs::after {
  117. display: none;
  118. }
  119. .cd-tabs nav {
  120. position: absolute;
  121. top: 0;
  122. left: 0;
  123. height: 100%;
  124. box-shadow: inset -2px 0 3px rgba(203, 196, 130, 0.06);
  125. z-index: 1;
  126. }
  127. }
  128. @media only screen and (min-width: 9960px) {
  129. .cd-tabs nav {
  130. position: relative;
  131. float: none;
  132. background: transparent;
  133. box-shadow: none;
  134. }
  135. }
  136. .cd-tabs-navigation {
  137. width: 360px;
  138. }
  139. .cd-tabs-navigation:after {
  140. content: "";
  141. display: table;
  142. clear: both;
  143. }
  144. .cd-tabs-navigation li {
  145. float: left;
  146. }
  147. .cd-tabs-navigation a {
  148. position: relative;
  149. display: block;
  150. height: 60px;
  151. width: 60px;
  152. text-align: center;
  153. font-size: 12px;
  154. font-size: 0.75rem;
  155. -webkit-font-smoothing: antialiased;
  156. -moz-osx-font-smoothing: grayscale;
  157. font-weight: 700;
  158. color: #c3c2b9;
  159. padding-top: 34px;
  160. }
  161. .no-touch .cd-tabs-navigation a:hover {
  162. color: #29324e;
  163. background-color: rgba(233, 230, 202, 0.3);
  164. }
  165. .cd-tabs-navigation a.selected {
  166. background-color: #ffffff !important;
  167. box-shadow: inset 0 2px 0 #f05451;
  168. color: #29324e;
  169. }
  170. .cd-tabs-navigation a::before {
  171. /* icons */
  172. position: absolute;
  173. top: 12px;
  174. left: 50%;
  175. margin-left: -10px;
  176. display: inline-block;
  177. height: 20px;
  178. width: 20px;
  179. background-image: url("../img/vicons.svg");
  180. background-repeat: no-repeat;
  181. }
  182. .cd-tabs-navigation a[data-content='home']::before {
  183. background-position: 0 0;
  184. }
  185. .cd-tabs-navigation a[data-content='cfp']::before {
  186. background-position: -20px 0;
  187. }
  188. .cd-tabs-navigation a[data-content='submission']::before {
  189. background-position: -40px 0;
  190. }
  191. .cd-tabs-navigation a[data-content='contacts']::before {
  192. background-position: -60px 0;
  193. }
  194. .cd-tabs-navigation a[data-content='finalprogram']::before {
  195. background-position: -80px 0;
  196. }
  197. .cd-tabs-navigation a[data-content='contact']::before {
  198. background-position: -20px 0;
  199. }
  200. .cd-tabs-navigation a[data-content='home'].selected::before {
  201. background-position: 0 -20px;
  202. }
  203. .cd-tabs-navigation a[data-content='cfp'].selected::before {
  204. background-position: -20px -20px;
  205. }
  206. .cd-tabs-navigation a[data-content='submission'].selected::before {
  207. background-position: -40px -20px;
  208. }
  209. .cd-tabs-navigation a[data-content='contacts'].selected::before {
  210. background-position: -60px -20px;
  211. }
  212. .cd-tabs-navigation a[data-content='finalprogram'].selected::before {
  213. background-position: -80px -20px;
  214. }
  215. .cd-tabs-navigation a[data-content='contact'].selected::before {
  216. background-position: -20px -20px;
  217. }
  218. @media only screen and (min-width: 68px) {
  219. .cd-tabs-navigation {
  220. /* move the nav to the left on medium sized devices */
  221. width: 80px;
  222. float: left;
  223. }
  224. .cd-tabs-navigation a {
  225. height: 80px;
  226. width: 80px;
  227. padding-top: 46px;
  228. }
  229. .cd-tabs-navigation a.selected {
  230. box-shadow: inset 2px 0 0 #f05451;
  231. }
  232. .cd-tabs-navigation a::before {
  233. top: 22px;
  234. }
  235. }
  236. /*Hack, I need to change this, I don't need the contdition*/
  237. @media only screen and (min-width: 9960px) {
  238. .cd-tabs-navigation {
  239. /* tabbed on top on big devices */
  240. width: auto;
  241. background-color: #f8f7ee;
  242. box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
  243. }
  244. .cd-tabs-navigation a {
  245. height: 60px;
  246. line-height: 60px;
  247. width: auto;
  248. text-align: left;
  249. font-size: 14px;
  250. font-size: 0.875rem;
  251. padding: 0 2.8em 0 4.6em;
  252. }
  253. .cd-tabs-navigation a.selected {
  254. box-shadow: inset 0 2px 0 #f05451;
  255. }
  256. .cd-tabs-navigation a::before {
  257. top: 50%;
  258. margin-top: -10px;
  259. margin-left: 0;
  260. left: 38px;
  261. }
  262. }
  263. .cd-tabs-content {
  264. background: #ffffff;
  265. height: 800px;
  266. min-height: 800px;
  267. padding: 2em 2em 2em 7em;
  268. }
  269. .cd-tabs-content li {
  270. display: none;
  271. padding: 1.4em;
  272. }
  273. .cd-tabs-content li.selected {
  274. display: block;
  275. -webkit-animation: cd-fade-in 0.5s;
  276. -moz-animation: cd-fade-in 0.5s;
  277. animation: cd-fade-in 0.5s;
  278. }
  279. .cd-tabs-content li p {
  280. /*font-size: 16px;
  281. /*font-size: 0.875rem;
  282. line-height: 1.6;*/
  283. color: #404040;
  284. margin-bottom: 1em;
  285. }
  286. .cd-tabs-content li pre {
  287. /*font-size: 16px;
  288. /*font-size: 0.875rem;
  289. line-height: 1.6;*/
  290. color: #404040;
  291. margin-bottom: 1em;
  292. }
  293. .cd-tabs-content li h3 {
  294. /*font-size: 16px;
  295. /*font-size: 0.875rem;
  296. line-height: 1.6;*/
  297. font-weight:900;
  298. color: #404040;
  299. margin-bottom: 1em;
  300. }
  301. /*@media only screen and (min-width: 68px) {
  302. .cd-tabs-content {
  303. min-height: 480px;
  304. }
  305. .cd-tabs-content li {
  306. padding: 2em 2em 2em 7em;
  307. }
  308. }
  309. @media only screen and (min-width: 9960px) {
  310. .cd-tabs-content {
  311. min-height: 0;
  312. }
  313. .cd-tabs-content li {
  314. padding: 3em;
  315. }
  316. .cd-tabs-content li p {
  317. font-size: 16px;
  318. font-size: 1rem;
  319. }
  320. }*/
  321. @-webkit-keyframes cd-fade-in {
  322. 0% {
  323. opacity: 0;
  324. }
  325. 100% {
  326. opacity: 1;
  327. }
  328. }
  329. @-moz-keyframes cd-fade-in {
  330. 0% {
  331. opacity: 0;
  332. }
  333. 100% {
  334. opacity: 1;
  335. }
  336. }
  337. @keyframes cd-fade-in {
  338. 0% {
  339. opacity: 0;
  340. }
  341. 100% {
  342. opacity: 1;
  343. }
  344. }