style.scss 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
  1. @import 'vars';
  2. @import 'mixins';
  3. @import 'font-awesome.min.css';
  4. @import url('http://fonts.googleapis.com/css?family=Raleway:400,400italic,700,800');
  5. /*
  6. Highlights by HTML5 UP
  7. html5up.net | @n33co
  8. Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  9. */
  10. $size-padding-tb: 5em;
  11. $size-padding-lr: 2.5em;
  12. /* Basic */
  13. html {
  14. background-color: $color-accent2-bg;
  15. background-attachment: fixed, fixed;
  16. background-image: url('images/overlay.png'), url('../images/bg.jpg');
  17. background-position: top left, center center;
  18. background-repeat: repeat, none;
  19. background-size: auto, cover;
  20. }
  21. html {
  22. &.is-loading {
  23. body {
  24. *, *:before, *:after {
  25. @include vendor-property('animation', 'none !important');
  26. @include vendor-property('transition', 'none !important');
  27. }
  28. }
  29. }
  30. &.is-touch {
  31. height: 100vh;
  32. overflow: hidden;
  33. #wrapper {
  34. -webkit-backface-visibility: hidden;
  35. -webkit-overflow-scrolling: touch;
  36. -webkit-transform: translate3d(0,0,0);
  37. height: 100vh;
  38. overflow: auto;
  39. }
  40. }
  41. }
  42. body, input, select, textarea {
  43. color: $color-fg;
  44. font-family: $font-family;
  45. font-size: 15pt;
  46. font-weight: $font-weight;
  47. line-height: 1.75em;
  48. }
  49. a {
  50. @include vendor-property('transition', 'color #{$duration-transition} ease-in-out, border-bottom-color #{$duration-transition} ease-in-out');
  51. border-bottom: dotted 1px;
  52. color: $color-accent-bg;
  53. text-decoration: none;
  54. &:hover {
  55. border-bottom-color: transparent !important;
  56. color: $color-accent-bg !important;
  57. text-decoration: none;
  58. }
  59. }
  60. strong, b {
  61. color: $color-fg-bold;
  62. font-weight: $font-weight-bold;
  63. }
  64. em, i {
  65. font-style: italic;
  66. }
  67. p {
  68. margin: 0 0 $size-element-margin 0;
  69. }
  70. h1, h2, h3, h4, h5, h6 {
  71. color: $color-fg-bold;
  72. font-weight: $font-weight-heavy;
  73. letter-spacing: 0.075em;
  74. line-height: 1em;
  75. margin: 0 0 ($size-element-margin * 0.5) 0;
  76. text-transform: uppercase;
  77. a {
  78. color: inherit;
  79. text-decoration: none;
  80. }
  81. }
  82. h2 {
  83. font-size: 1.75em;
  84. line-height: 1.5em;
  85. }
  86. h3 {
  87. font-size: 1em;
  88. line-height: 1.5em;
  89. }
  90. h4 {
  91. font-size: 0.9em;
  92. line-height: 1.5em;
  93. }
  94. h5 {
  95. font-size: 0.8em;
  96. line-height: 1.5em;
  97. }
  98. h6 {
  99. font-size: 0.7em;
  100. line-height: 1.5em;
  101. }
  102. sub {
  103. font-size: 0.8em;
  104. position: relative;
  105. top: 0.5em;
  106. }
  107. sup {
  108. font-size: 0.8em;
  109. position: relative;
  110. top: -0.5em;
  111. }
  112. hr {
  113. border: 0;
  114. border-bottom: solid 1px $color-border;
  115. margin: $size-element-margin 0;
  116. &.major {
  117. margin: ($size-element-margin * 1.5) 0;
  118. }
  119. }
  120. blockquote {
  121. border-left: solid 6px $color-border;
  122. font-style: italic;
  123. margin: 0 0 $size-element-margin 0;
  124. padding: 0.5em 0 0.5em 1.5em;
  125. }
  126. code {
  127. background: $color-border-bg;
  128. font-family: $font-family-fixed;
  129. font-size: 0.9em;
  130. margin: 0 0.25em;
  131. padding: 0.25em 0.65em;
  132. }
  133. pre {
  134. -webkit-overflow-scrolling: touch;
  135. font-family: $font-family-fixed;
  136. font-size: 0.9em;
  137. margin: 0 0 $size-element-margin 0;
  138. code {
  139. display: block;
  140. line-height: 1.75em;
  141. padding: 1em 1.5em;
  142. overflow-x: auto;
  143. }
  144. }
  145. .align-left {
  146. text-align: left;
  147. }
  148. .align-center {
  149. text-align: center;
  150. }
  151. .align-right {
  152. text-align: right;
  153. }
  154. /* Loader */
  155. // Spinner
  156. @include vendor-keyframes('spinner-show') {
  157. 0% { opacity: 0; }
  158. 100% { opacity: 1; }
  159. }
  160. @include vendor-keyframes('spinner-hide') {
  161. 0% { color: $color-accent2-fg-lighter; z-index: $zindex-loader-overlay + 1; @include vendor-property('transform', 'scale(1) rotate(0deg)'); }
  162. 99% { color: $color-accent2-bg; z-index: $zindex-loader-overlay + 1; @include vendor-property('transform', 'scale(0.5) rotate(360deg)'); }
  163. 100% { color: $color-accent2-bg; z-index: -1; @include vendor-property('transform', 'scale(0) rotate(360deg)'); }
  164. }
  165. @include vendor-keyframes('spinner-rotate') {
  166. 0% { @include vendor-property('transform', 'scale(1) rotate(0deg)'); }
  167. 100% { @include vendor-property('transform', 'scale(1) rotate(360deg)'); }
  168. }
  169. // Overlay
  170. @include vendor-keyframes('overlay-hide') {
  171. 0% { opacity: 1; z-index: $zindex-loader-overlay; }
  172. 15% { opacity: 1; z-index: $zindex-loader-overlay; }
  173. 99% { opacity: 0; z-index: $zindex-loader-overlay; }
  174. 100% { opacity: 0; z-index: -1; }
  175. }
  176. html {
  177. body {
  178. @include icon;
  179. // Spinner (inactive)
  180. &:before {
  181. @include vendor-property('animation', 'spinner-show 1.5s 1 0.25s ease forwards, spinner-hide 0.25s ease-in-out forwards !important');
  182. @include vendor-property('transform-origin', '50% 50%');
  183. color: $color-accent2-fg-lighter;
  184. content: '\f1ce';
  185. cursor: default;
  186. display: block;
  187. font-size: 2em;
  188. height: 2em;
  189. left: 50%;
  190. opacity: 0;
  191. line-height: 2em;
  192. margin: -1em 0 0 -1em;
  193. position: fixed;
  194. text-align: center;
  195. top: 50%;
  196. width: 2em;
  197. z-index: -1;
  198. }
  199. // Overlay (inactive)
  200. &:after {
  201. @include vendor-property('animation', 'overlay-hide #{$duration-loader-fadein} ease-in forwards !important');
  202. background: $color-accent2-bg;
  203. content: '';
  204. display: block;
  205. height: 100%;
  206. left: 0;
  207. opacity: 0;
  208. position: fixed;
  209. top: 0;
  210. width: 100%;
  211. z-index: -1;
  212. }
  213. }
  214. &.is-loading {
  215. body {
  216. // Spinner (active)
  217. &:before {
  218. @include vendor-property('animation', 'spinner-show 1.5s 1 0.25s ease forwards, spinner-rotate 0.75s infinite linear !important');
  219. z-index: $zindex-loader-overlay + 1;
  220. }
  221. // Overlay (active)
  222. &:after {
  223. @include vendor-property('animation', 'none !important');
  224. opacity: 1;
  225. z-index: $zindex-loader-overlay;
  226. }
  227. }
  228. }
  229. }
  230. @media (-webkit-min-device-pixel-ratio: 2) {
  231. html {
  232. body {
  233. &:before {
  234. line-height: 2.025em;
  235. }
  236. }
  237. }
  238. }
  239. /* Section/Article */
  240. section, article {
  241. &.special {
  242. text-align: center;
  243. }
  244. }
  245. header {
  246. p {
  247. color: $color-fg-light;
  248. letter-spacing: 0.05em;
  249. text-transform: uppercase;
  250. }
  251. h1 + p {
  252. margin-top: ($size-element-margin * -0.5);
  253. }
  254. h2 + p {
  255. margin-top: ($size-element-margin * -0.5);
  256. }
  257. h3 + p {
  258. margin-top: ($size-element-margin * -0.4);
  259. }
  260. h4 + p,
  261. h5 + p,
  262. h6 + p {
  263. font-size: 0.8em;
  264. margin-top: ($size-element-margin * -0.3);
  265. }
  266. &.major {
  267. text-align: center;
  268. h1, h2, h3, h4, h5, h6 {
  269. position: relative;
  270. &:after {
  271. background: $color-border;
  272. content: '';
  273. display: block;
  274. height: 2px;
  275. margin: 0.75em auto 0 auto;
  276. position: relative;
  277. width: 4em;
  278. }
  279. }
  280. p {
  281. margin-top: 0;
  282. }
  283. }
  284. }
  285. /* Form */
  286. form {
  287. margin: 0 0 $size-element-margin 0;
  288. }
  289. label {
  290. color: $color-fg-bold;
  291. display: block;
  292. font-size: 0.9em;
  293. font-weight: $font-weight-bold;
  294. margin: 0 0 ($size-element-margin * 0.5) 0;
  295. }
  296. input[type="text"],
  297. input[type="password"],
  298. input[type="email"],
  299. select,
  300. textarea {
  301. @include vendor-property('appearance', 'none');
  302. background: $color-border2-bg;
  303. border-radius: 0;
  304. border: none;
  305. color: inherit;
  306. display: block;
  307. outline: 0;
  308. padding: 0 1em;
  309. text-decoration: none;
  310. width: 100%;
  311. &:invalid {
  312. box-shadow: none;
  313. }
  314. &:focus {
  315. box-shadow: inset 0 0 0 2px $color-accent-bg;
  316. }
  317. }
  318. .select-wrapper {
  319. @include icon;
  320. display: block;
  321. position: relative;
  322. &:before {
  323. color: $color-fg-light;
  324. content: '\f078';
  325. display: block;
  326. height: $size-element-height;
  327. line-height: $size-element-height;
  328. pointer-events: none;
  329. position: absolute;
  330. right: 0;
  331. text-align: center;
  332. top: 0;
  333. width: $size-element-height;
  334. }
  335. select::-ms-expand {
  336. display: none;
  337. }
  338. }
  339. input[type="text"],
  340. input[type="password"],
  341. input[type="email"],
  342. select {
  343. height: $size-element-height;
  344. }
  345. textarea {
  346. padding: 0.75em 1em;
  347. }
  348. input[type="checkbox"],
  349. input[type="radio"], {
  350. @include vendor-property('appearance', 'none');
  351. display: block;
  352. float: left;
  353. margin-right: -2em;
  354. opacity: 0;
  355. width: 1em;
  356. z-index: -1;
  357. & + label {
  358. @include icon;
  359. color: $color-fg;
  360. cursor: pointer;
  361. display: inline-block;
  362. font-size: 1em;
  363. font-weight: $font-weight;
  364. padding-left: ($size-element-height * 0.6) + 0.75em;
  365. padding-right: 0.75em;
  366. position: relative;
  367. &:before {
  368. background: $color-border2-bg;
  369. content: '';
  370. display: inline-block;
  371. height: ($size-element-height * 0.6);
  372. left: 0;
  373. line-height: ($size-element-height * 0.575);
  374. position: absolute;
  375. text-align: center;
  376. top: 0;
  377. width: ($size-element-height * 0.6);
  378. }
  379. }
  380. &:checked + label {
  381. &:before {
  382. background: $color-accent2-bg;
  383. color: $color-accent2-fg-bold;
  384. content: '\f00c';
  385. }
  386. }
  387. &:focus + label {
  388. &:before {
  389. box-shadow: inset 0 0 0 2px $color-accent-bg;
  390. }
  391. }
  392. }
  393. input[type="checkbox"] {
  394. & + label {
  395. &:before {
  396. }
  397. }
  398. }
  399. input[type="radio"] {
  400. & + label {
  401. &:before {
  402. border-radius: 100%;
  403. }
  404. }
  405. }
  406. ::-webkit-input-placeholder {
  407. color: $color-fg-light !important;
  408. opacity: 1.0;
  409. }
  410. :-moz-placeholder {
  411. color: $color-fg-light !important;
  412. opacity: 1.0;
  413. }
  414. ::-moz-placeholder {
  415. color: $color-fg-light !important;
  416. opacity: 1.0;
  417. }
  418. :-ms-input-placeholder {
  419. color: $color-fg-light !important;
  420. opacity: 1.0;
  421. }
  422. .formerize-placeholder {
  423. color: $color-fg-light !important;
  424. opacity: 1.0;
  425. }
  426. /* Box */
  427. .box {
  428. border: solid 2px $color-border;
  429. margin-bottom: $size-element-margin;
  430. padding: 1.5em;
  431. > :last-child,
  432. > :last-child > :last-child,
  433. > :last-child > :last-child > :last-child {
  434. margin-bottom: 0;
  435. }
  436. &.alt {
  437. border: 0;
  438. border-radius: 0;
  439. padding: 0;
  440. }
  441. }
  442. /* Icon */
  443. .icon {
  444. @include icon;
  445. border-bottom: none;
  446. position: relative;
  447. > .label {
  448. display: none;
  449. }
  450. &.major {
  451. display: block;
  452. margin: 0 0 ($size-element-margin * 0.5) 0;
  453. &:before {
  454. font-size: 2.5em;
  455. }
  456. }
  457. }
  458. /* Image */
  459. .image {
  460. border: 0;
  461. display: inline-block;
  462. position: relative;
  463. &:before {
  464. background: url('images/overlay.png');
  465. content: '';
  466. display: block;
  467. height: 100%;
  468. left: 0;
  469. position: absolute;
  470. top: 0;
  471. width: 100%;
  472. }
  473. img {
  474. display: block;
  475. }
  476. &.left {
  477. float: left;
  478. margin: 0 1.5em 1em 0;
  479. top: 0.25em;
  480. }
  481. &.right {
  482. float: right;
  483. margin: 0 0 1em 1.5em;
  484. top: 0.25em;
  485. }
  486. &.left,
  487. &.right {
  488. max-width: 40%;
  489. img {
  490. width: 100%;
  491. }
  492. }
  493. &.fit {
  494. display: block;
  495. margin: 0 0 $size-element-margin 0;
  496. width: 100%;
  497. img {
  498. width: 100%;
  499. }
  500. }
  501. }
  502. /* List */
  503. ol {
  504. list-style: decimal;
  505. margin: 0 0 $size-element-margin 0;
  506. padding-left: 1.25em;
  507. li {
  508. padding-left: 0.25em;
  509. }
  510. }
  511. ul {
  512. list-style: disc;
  513. margin: 0 0 $size-element-margin 0;
  514. padding-left: 1em;
  515. li {
  516. padding-left: 0.5em;
  517. }
  518. &.alt {
  519. list-style: none;
  520. padding-left: 0;
  521. li {
  522. border-top: solid 1px $color-border;
  523. padding: 0.5em 0;
  524. &:first-child {
  525. border-top: 0;
  526. padding-top: 0;
  527. }
  528. }
  529. }
  530. &.icons {
  531. cursor: default;
  532. list-style: none;
  533. padding-left: 0;
  534. li {
  535. display: inline-block;
  536. padding: 0 1.5em 0 0;
  537. &:last-child {
  538. padding-right: 0;
  539. }
  540. .icon {
  541. &:before {
  542. font-size: 1.5em;
  543. }
  544. }
  545. }
  546. }
  547. &.icons-grid {
  548. list-style: none;
  549. padding: 0;
  550. position: relative;
  551. li {
  552. display: block;
  553. float: left;
  554. padding: ($size-element-margin * 1.5) 0;
  555. width: 50%;
  556. h3 {
  557. margin: 0;
  558. }
  559. &:nth-child(2n + 1) {
  560. box-shadow: inset -1px 0 0 0 $color-border, 1px 0 0 0 $color-border;
  561. }
  562. &:nth-child(2n + 3) {
  563. &:before {
  564. background: $color-border;
  565. content: '';
  566. display: block;
  567. height: 2px;
  568. margin-top: ($size-element-margin * -1.5);
  569. position: absolute;
  570. width: 100%;
  571. }
  572. }
  573. }
  574. &:after {
  575. clear: both;
  576. content: '';
  577. display: block;
  578. }
  579. }
  580. &.actions {
  581. cursor: default;
  582. list-style: none;
  583. padding-left: 0;
  584. li {
  585. display: inline-block;
  586. padding: 0 ($size-element-margin * 0.5) 0 0;
  587. vertical-align: middle;
  588. &:last-child {
  589. padding-right: 0;
  590. }
  591. }
  592. &.small {
  593. li {
  594. padding: 0 ($size-element-margin * 0.25) 0 0;
  595. }
  596. }
  597. &.vertical {
  598. li {
  599. display: block;
  600. padding: ($size-element-margin * 0.5) 0 0 0;
  601. &:first-child {
  602. padding-top: 0;
  603. }
  604. > * {
  605. margin-bottom: 0;
  606. }
  607. }
  608. &.small {
  609. li {
  610. padding: ($size-element-margin * 0.25) 0 0 0;
  611. &:first-child {
  612. padding-top: 0;
  613. }
  614. }
  615. }
  616. }
  617. &.fit {
  618. display: table;
  619. margin-left: ($size-element-margin * -0.5);
  620. padding: 0;
  621. table-layout: fixed;
  622. width: calc(100% + #{($size-element-margin * 0.5)});
  623. li {
  624. display: table-cell;
  625. padding: 0 0 0 ($size-element-margin * 0.5);
  626. > * {
  627. margin-bottom: 0;
  628. min-width: 0;
  629. }
  630. }
  631. &.small {
  632. margin-left: ($size-element-margin * -0.25);
  633. width: calc(100% + #{($size-element-margin * 0.25)});
  634. li {
  635. padding: 0 0 0 ($size-element-margin * 0.25);
  636. }
  637. }
  638. }
  639. }
  640. }
  641. dl {
  642. margin: 0 0 $size-element-margin 0;
  643. }
  644. /* Table */
  645. .table-wrapper {
  646. -webkit-overflow-scrolling: touch;
  647. overflow-x: auto;
  648. }
  649. table {
  650. margin: 0 0 $size-element-margin 0;
  651. width: 100%;
  652. tbody {
  653. tr {
  654. border: solid 1px $color-border;
  655. border-left: 0;
  656. border-right: 0;
  657. &:nth-child(2n + 1) {
  658. background-color: $color-border-bg;
  659. }
  660. }
  661. }
  662. td {
  663. padding: 0.75em 0.75em;
  664. }
  665. th {
  666. color: $color-fg-bold;
  667. font-size: 0.9em;
  668. font-weight: $font-weight-bold;
  669. padding: 0 0.75em 0.75em 0.75em;
  670. text-align: left;
  671. }
  672. thead {
  673. border-bottom: solid 2px $color-border;
  674. }
  675. tfoot {
  676. border-top: solid 2px $color-border;
  677. }
  678. &.alt {
  679. border-collapse: separate;
  680. tbody {
  681. tr {
  682. td {
  683. border: solid 1px $color-border;
  684. border-left-width: 0;
  685. border-top-width: 0;
  686. &:first-child {
  687. border-left-width: 1px;
  688. }
  689. }
  690. &:first-child {
  691. td {
  692. border-top-width: 1px;
  693. }
  694. }
  695. }
  696. }
  697. thead {
  698. border-bottom: 0;
  699. }
  700. tfoot {
  701. border-top: 0;
  702. }
  703. }
  704. }
  705. /* Button */
  706. input[type="submit"],
  707. input[type="reset"],
  708. input[type="button"],
  709. button,
  710. .button {
  711. @include vendor-property('appearance', 'none');
  712. @include vendor-property('transition', 'background-color #{$duration-transition} ease-in-out, color #{$duration-transition} ease-in-out');
  713. background-color: transparent;
  714. border-radius: 0;
  715. border: 0;
  716. box-shadow: inset 0 0 0 2px $color-border;
  717. color: $color-fg-bold !important;
  718. cursor: pointer;
  719. display: inline-block;
  720. font-weight: $font-weight-bold;
  721. height: $size-element-height;
  722. letter-spacing: 0.05em;
  723. line-height: ($size-element-height * 1.05);
  724. padding: 0 2em;
  725. text-align: center;
  726. text-decoration: none;
  727. text-transform: uppercase;
  728. white-space: nowrap;
  729. &:hover {
  730. background-color: $color-border-bg;
  731. color: $color-fg-bold !important;
  732. }
  733. &:active {
  734. background-color: $color-border2-bg;
  735. color: $color-fg-bold !important;
  736. }
  737. &.icon {
  738. padding-left: 1.35em;
  739. &:before {
  740. color: $color-fg-light;
  741. margin-right: 0.5em;
  742. }
  743. }
  744. &.fit {
  745. display: block;
  746. margin: 0 0 ($size-element-margin * 0.5) 0;
  747. width: 100%;
  748. }
  749. &.small {
  750. font-size: 0.8em;
  751. }
  752. &.big {
  753. font-size: 1.35em;
  754. }
  755. &.special {
  756. background-color: $color-accent-bg;
  757. border: 0;
  758. box-shadow: none;
  759. color: $color-accent-fg-bold !important;
  760. &:hover {
  761. background-color: lighten($color-accent-bg, 5);
  762. }
  763. &:active {
  764. background-color: darken($color-accent-bg, 5);
  765. }
  766. &.icon {
  767. &:before {
  768. color: $color-accent-fg-light;
  769. }
  770. }
  771. }
  772. &.disabled,
  773. &:disabled {
  774. background-color: $color-fg !important;
  775. box-shadow: none !important;
  776. color: $color-bg !important;
  777. cursor: default;
  778. opacity: 0.25;
  779. }
  780. }
  781. /* Main BG */
  782. .main-bg {
  783. @include vendor-property('transition', 'opacity #{$duration-bg-fadein} ease-out');
  784. background-attachment: fixed, fixed;
  785. background-position: top left, center center;
  786. background-repeat: repeat, none;
  787. background-size: auto, cover;
  788. height: 100%;
  789. left: 0;
  790. opacity: 0;
  791. position: fixed;
  792. top: 0;
  793. width: 100%;
  794. z-index: -1;
  795. &.active {
  796. opacity: 1;
  797. }
  798. }
  799. /* Main */
  800. .main {
  801. position: relative;
  802. .image.primary {
  803. display: none;
  804. }
  805. .container {
  806. @include padding($size-padding-tb, $size-padding-lr, (0, 0, 5em, 0));
  807. background: transparentize($color-bg, 0.05);
  808. box-shadow: inset 0 1px 0 0 $color-border;
  809. &:before {
  810. @include minHeight($size-padding-tb, 5em);
  811. content: '';
  812. display: inline-block;
  813. vertical-align: middle;
  814. width: 1px;
  815. }
  816. .content {
  817. display: inline-block;
  818. margin-right: 1px;
  819. vertical-align: middle;
  820. width: calc(100% - 10px);
  821. }
  822. }
  823. .goto-next {
  824. @include vendor-property('transition', 'background-color #{$duration-transition} ease-in-out');
  825. background-color: $color-border-bg;
  826. background-image: url('images/arrow.svg');
  827. background-position: center center;
  828. background-repeat: no-repeat;
  829. border-radius: 100%;
  830. border: 0;
  831. bottom: 3em;
  832. display: block;
  833. height: 4em;
  834. left: 50%;
  835. line-height: 4em;
  836. margin-left: -2em;
  837. overflow: hidden;
  838. position: absolute;
  839. text-indent: 4em;
  840. white-space: nowrap;
  841. width: 4em;
  842. &:hover {
  843. background-color: $color-border2-bg;
  844. }
  845. }
  846. }
  847. /* Header */
  848. #header {
  849. height: 100vh;
  850. position: relative;
  851. text-align: center;
  852. &:after {
  853. content: '';
  854. display: inline-block;
  855. height: 100vh;
  856. vertical-align: middle;
  857. }
  858. header {
  859. color: $color-alt-fg;
  860. display: inline-block;
  861. padding-bottom: ($size-element-height + ($size-padding-lr * 2));
  862. vertical-align: middle;
  863. h1, h2, h3, h4, h5, h6, strong, b {
  864. color: $color-alt-fg-bold;
  865. }
  866. a {
  867. color: inherit;
  868. &:hover {
  869. color: $color-alt-fg-bold !important;
  870. }
  871. }
  872. h1 {
  873. font-size: 3em;
  874. line-height: 1.25em;
  875. margin: 0;
  876. &:after {
  877. margin-top: 0.5em;
  878. }
  879. }
  880. p {
  881. color: $color-alt-fg-bold;
  882. font-weight: $font-weight-bold;
  883. margin: ($size-element-margin * 0.75) 0 0 0;
  884. }
  885. }
  886. .container {
  887. background: transparentize($color-bg, 0.05);
  888. bottom: 0;
  889. left: 50%;
  890. margin-left: -17.5em;
  891. padding: $size-padding-lr;
  892. position: absolute;
  893. > :last-child {
  894. margin-bottom: 0;
  895. }
  896. .button {
  897. min-width: 12em;
  898. }
  899. }
  900. }
  901. /* Footer */
  902. #footer {
  903. min-height: 100vh;
  904. padding: 0 0 12em 0;
  905. position: relative;
  906. text-align: center;
  907. .container {
  908. @include padding($size-padding-tb, $size-padding-lr);
  909. background: transparentize($color-bg, 0.05);
  910. box-shadow: inset 0 1px 0 0 $color-border;
  911. }
  912. footer {
  913. bottom: $size-element-margin;
  914. color: $color-alt-fg;
  915. left: 0;
  916. position: absolute;
  917. text-align: center;
  918. width: 100%;
  919. h1, h2, h3, h4, h5, h6, strong, b {
  920. color: $color-alt-fg-bold;
  921. }
  922. a {
  923. color: inherit;
  924. &:hover {
  925. color: $color-alt-fg-bold !important;
  926. }
  927. }
  928. .copyright {
  929. font-size: 0.8em;
  930. line-height: 1em;
  931. padding: 0;
  932. li {
  933. border-left: solid 1px $color-alt-fg-lighter;
  934. display: inline-block;
  935. margin: 0 0 0 1em;
  936. padding: 0 0 0 1em;
  937. &:first-child {
  938. border-left: 0;
  939. margin-left: 0;
  940. padding-left: 0;
  941. }
  942. }
  943. }
  944. }
  945. }