templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         {% block stylesheets %}{% endblock %}
  7.         <style>
  8.             html {
  9.                 font-size: 1px;
  10.             }
  11.             body {
  12.                 font-family: 'Quicksand', sans-serif;
  13.                 font-weight: 700;
  14.                 line-height: 1.5;
  15.                 font-size: 12rem;
  16.                 /*background: linear-gradient(180deg, #d15221, #130045) top left no-repeat #130045;*/
  17.                 /*    background: linear-gradient(180deg, #0062C2, #180080) top left no-repeat #180080;*/
  18.                 background-size: 100% 760rem;
  19.                 background-attachment: fixed;
  20.                 margin: 0;
  21.                 padding: 0;
  22.             }
  23.             h1 {
  24.                 font-size: 20rem;
  25.                 margin: 0;
  26.                 font-weight: inherit;
  27.             }
  28.             h2 {
  29.                 margin: 0;
  30.                 font-size: 16rem;
  31.                 font-weight: inherit;
  32.             }
  33.             a {
  34.                 cursor: pointer;
  35.                 color: inherit;
  36.             }
  37.             button {
  38.                 border: none;
  39.                 cursor: pointer;
  40.                 font-family: 'Quicksand', sans-serif;
  41.                 font-weight: 700;
  42.                 outline: none;
  43.             }
  44.             ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  45.                 font-family: 'Quicksand', sans-serif;
  46.                 color: #808080;
  47.             }
  48.             ::-moz-placeholder { /* Firefox 19+ */
  49.                 font-family: 'Quicksand', sans-serif;
  50.                 color: #808080;
  51.             }
  52.             :-ms-input-placeholder { /* IE 10+ */
  53.                 font-family: 'Quicksand', sans-serif;
  54.                 color: #808080;
  55.             }
  56.             :-moz-placeholder { /* Firefox 18- */
  57.                 font-family: 'Quicksand', sans-serif;
  58.                 color: #808080;
  59.             }
  60.             .wrap {
  61.                 width: 800rem;
  62.                 margin-left: auto;
  63.                 margin-right: auto;
  64.                 box-sizing: border-box;
  65.             }
  66.             .header {
  67.                 background: black;
  68.                 margin-top: 28rem;
  69.                 margin-bottom: 6rem;
  70.                 position: relative;
  71.                 padding: 16rem 0;
  72.             }
  73.             .headerContent {
  74.                 color: white;
  75.                 display: flex;
  76.                 align-items: center;
  77.             }
  78.             .headerText {
  79.                 color: #fff;
  80.                 text-transform: uppercase;
  81.                 font-size: 12rem;
  82.                 margin-left: 8rem;
  83.                 line-height: 1.2;
  84.             }
  85.             .fos_user_resetting_request > div, #registration_form_inner_wrap > div, #fos_user_resetting_form > div {
  86.                 display: flex;
  87.                 position: relative;
  88.                 padding: 18rem;
  89.             }
  90.             .fos_user_resetting_request > div:last-child, .fos_user_registration_register > div:last-child, .fos_user_resetting_reset > div:last-child {
  91.                 padding: 18rem;
  92.             }
  93.             .fos_user_resetting_request label, .fos_user_registration_register label, .fos_user_resetting_reset label{
  94.                 flex: 1;
  95.                 display: flex;
  96.                 flex-direction: column;
  97.                 max-width: 48%;
  98.             }
  99.             .fos_user_registration_register ul {
  100.                 position:absolute;
  101.                 left: 50%;
  102.                 margin-top: 20rem;
  103.             }
  104.             .fos_user_resetting_request input, .fos_user_registration_register input, .fos_user_resetting_reset input {
  105.                 flex: 1;
  106.                 display: flex;
  107.                 flex-direction: column;
  108.                 border: none;
  109.                 border-bottom: 1rem solid #a6a6a7;
  110.                 outline: none;
  111.                 font-family: 'Quicksand', sans-serif;
  112.                 font-size: 12rem;
  113.             }
  114.             .fos_user_resetting_request input[type=submit], .fos_user_registration_register input[type=submit], .fos_user_resetting_reset input[type=submit] {
  115.                 display: inline-block;
  116.                 justify-content: flex-end;
  117.                 height: 36rem;
  118.                 line-height: 36rem;
  119.                 padding: 0 18rem;
  120.                 box-sizing: border-box;
  121.                 text-decoration: none;
  122.                 vertical-align: middle;
  123.                 background-color: black;
  124.                 color: #fff;
  125.                 flex: inherit;
  126.                 font-size: 12rem;
  127.             }
  128.             .fos_user_resetting_request input[type=checkbox], .fos_user_registration_register input[type=checkbox], .fos_user_resetting_reset input[type=checkbox] {
  129.                 position: absolute;
  130.                 left:50%;
  131.                 top:18rem;
  132.             }
  133.             input[type=checkbox] + label {
  134.                 color: #ccc;
  135.                 font-style: italic;
  136.             }
  137.             input[type=checkbox]:checked + label {
  138.                 content: '';
  139.                 color: #f00;
  140.                 font-style: normal;
  141.             }
  142.             .input {
  143.                 border: none;
  144.                 border-bottom: 1rem solid #a6a6a7;
  145.                 width: 100%;
  146.                 outline: none;
  147.                 font-family: 'Quicksand', sans-serif;
  148.             }
  149.             .floatLabel {
  150.                 color: #808080;
  151.                 margin-bottom: -2rem;
  152.             }
  153.             .formBlock {
  154.                 background: #fff;
  155.             }
  156.             .contentBlock, .formBlock p {
  157.                 background: #fff;
  158.                 padding: 18rem;
  159.             }
  160.             .formBlock h2 {
  161.                 margin-bottom: 18rem;
  162.             }
  163.             .titleBlock {
  164.                 padding: 0 18rem;
  165.                 margin-bottom: 4rem;
  166.             }
  167.             .row {
  168.                 display: flex;
  169.             }
  170.             .column {
  171.                 flex: 1;
  172.                 padding: 18rem;
  173.                 display: flex;
  174.                 flex-direction: column;
  175.             }
  176.             .leftColumn {
  177.                 margin-bottom: 30rem;
  178.             }
  179.             .columnBody {
  180.                 flex: 1;
  181.             }
  182.             .formFooter {
  183.                 margin-top: 30rem;
  184.             }
  185.             .errorMessage {
  186.                 height: 36rem;
  187.                 text-align: right;
  188.             }
  189.             .buttons {
  190.                 flex-grow: 1;
  191.                 display: flex;
  192.                 justify-content: flex-end;
  193.             }
  194.             .button {
  195.                 height: 36rem;
  196.                 line-height: 36rem;
  197.                 padding: 0 18rem;
  198.                 box-sizing: border-box;
  199.                 text-decoration: none;
  200.                 display: inline-block;
  201.                 vertical-align: middle;
  202.             }
  203.             .buttonPrimary {
  204.                 background-color: black;
  205.                 color: #fff;
  206.             }
  207.         </style>
  208.         <!-- Global site tag (gtag.js) - Google Analytics -->
  209.         <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163615288-1"></script>
  210.         <script>
  211.             window.dataLayer = window.dataLayer || [];
  212.             function gtag(){dataLayer.push(arguments);}
  213.             gtag('js', new Date());
  214.             gtag('config', 'UA-163615288-1', {'anonymize_ip': true});
  215.         </script>
  216.     </head>
  217.     <body>
  218.         {% block body %}{% endblock %}
  219.         {% block javascripts %}{% endblock %}
  220.         <script>
  221.             var DEFAULT_VIEW_WIDTH = 1280;
  222.             var DEFAULT_VIEW_HEIGHT = 760;
  223.             document.addEventListener('DOMContentLoaded', function() {
  224.                 updateAppScale();
  225.                 window.addEventListener('resize', updateAppScale);
  226.             });
  227.             function updateAppScale() {
  228.                 //scale the app to fit inside the window (contained)
  229.                 var heightRatio = window.innerHeight / DEFAULT_VIEW_HEIGHT;
  230.                 var widthRatio = window.innerWidth / DEFAULT_VIEW_WIDTH;
  231.                 document.documentElement.style.fontSize = Math.min(heightRatio, widthRatio) + 'px';
  232.             }
  233.         </script>
  234.     </body>
  235. </html>