morpheus

A Matrix client written in Go-QT
git clone git://archive.git.mtrnord.blog/Nordgedanken/morpheus.git
Log | Files | Refs | README | LICENSE

_base.scss (13527B)


      1 .heading-font {
      2   font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
      3   font-weight: 200;
      4   letter-spacing: 1px;
      5 }
      6 
      7 .body-font {
      8   font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
      9 }
     10 
     11 .alt-font {
     12   font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
     13   text-transform: uppercase;
     14   letter-spacing: 2px;
     15 }
     16 
     17 html {
     18   height: 100%;
     19   width: 100%;
     20 }
     21 
     22 body {
     23   height: 100%;
     24   width: 100%;
     25   font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
     26 }
     27 
     28 a {
     29   -webkit-transition: all 0.35s;
     30   -moz-transition: all 0.35s;
     31   transition: all 0.35s;
     32   color: $theme-primary;
     33   &:hover, &:focus {
     34     color: #fcbd20;
     35   }
     36 }
     37 
     38 hr {
     39   max-width: 100px;
     40   margin: 25px auto 0;
     41   border-width: 1px;
     42   border-color: rgba(34, 34, 34, 0.1);
     43   &.light {
     44     border-color: white;
     45   }
     46 }
     47 
     48 h1, h2, h3, h4, h5, h6 {
     49   font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
     50   font-weight: 200;
     51   letter-spacing: 1px;
     52 }
     53 
     54 p {
     55   font-size: 18px;
     56   line-height: 1.5;
     57   margin-bottom: 20px;
     58 }
     59 
     60 .navbar-default {
     61   background-color: white;
     62   border-color: rgba(34, 34, 34, 0.05);
     63   -webkit-transition: all 0.35s;
     64   -moz-transition: all 0.35s;
     65   transition: all 0.35s;
     66   font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
     67   font-weight: 200;
     68   letter-spacing: 1px;
     69   .navbar-header {
     70     .navbar-brand {
     71       font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
     72       font-weight: 200;
     73       letter-spacing: 1px;
     74       color: $theme-primary;
     75       &:hover, &:focus {
     76         color: #fcbd20;
     77       }
     78     }
     79     .navbar-toggle {
     80       font-size: 12px;
     81       color: #222222;
     82       padding: 8px 10px;
     83     }
     84   }
     85   .nav > li {
     86     > a {
     87       font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
     88       text-transform: uppercase;
     89       letter-spacing: 2px;
     90       font-size: 11px;
     91       color: #222222;
     92       &:focus {
     93         color: #222222;
     94       }
     95       &:hover, &:focus:hover {
     96         color: $theme-primary;
     97       }
     98     }
     99     &.active > a {
    100       color: $theme-primary !important;
    101       background-color: transparent;
    102       &:focus {
    103         color: $theme-primary !important;
    104         background-color: transparent;
    105       }
    106       &:hover, &:focus:hover {
    107         background-color: transparent;
    108       }
    109     }
    110   }
    111 }
    112 
    113 @media (min-width: 768px) {
    114   .navbar-default {
    115     background-color: transparent;
    116     border-color: transparent;
    117     .navbar-header .navbar-brand {
    118       color: rgba(255, 255, 255, 0.7);
    119       &:hover, &:focus {
    120         color: white;
    121       }
    122     }
    123     .nav > li > a {
    124       color: rgba(255, 255, 255, 0.7);
    125       &:focus {
    126         color: rgba(255, 255, 255, 0.7);
    127       }
    128       &:hover, &:focus:hover {
    129         color: white;
    130       }
    131     }
    132     &.affix {
    133       background-color: white;
    134       border-color: rgba(34, 34, 34, 0.1);
    135       .navbar-header .navbar-brand {
    136         color: #222222;
    137         &:hover, &:focus {
    138           color: $theme-primary;
    139         }
    140       }
    141       .nav > li > a {
    142         color: #222222;
    143         &:focus {
    144           color: #222222;
    145         }
    146         &:hover, &:focus:hover {
    147           color: $theme-primary;
    148         }
    149       }
    150     }
    151   }
    152 }
    153 
    154 header {
    155   position: relative;
    156   width: 100%;
    157   min-height: auto;
    158   overflow-y: hidden;
    159   background: url("../img/bg-pattern.png"), $head-primary;
    160   /* fallback for old browsers */
    161   background: url("../img/bg-pattern.png"), -webkit-linear-gradient(to left, $head-primary, $head-secondary);
    162   /* Chrome 10-25, Safari 5.1-6 */
    163   background: url("../img/bg-pattern.png"), linear-gradient(to left, $head-primary, $head-secondary);
    164   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    165   color: white;
    166   .header-content {
    167     text-align: center;
    168     padding: 150px 0 50px;
    169     position: relative;
    170     .header-content-inner {
    171       position: relative;
    172       max-width: 500px;
    173       margin: 0 auto;
    174       h1 {
    175         margin-top: 0;
    176         margin-bottom: 30px;
    177         font-size: 30px;
    178       }
    179       .list-badges {
    180         margin-bottom: 25px;
    181         img {
    182           height: 50px;
    183           margin-bottom: 25px;
    184         }
    185       }
    186     }
    187   }
    188   .device-container {
    189     max-width: 300px;
    190     margin: 0 auto 100px;
    191     .screen img {
    192       border-radius: 3px;
    193     }
    194   }
    195 }
    196 
    197 @media (min-width: 768px) {
    198   header {
    199     min-height: 100%;
    200     .header-content {
    201       text-align: left;
    202       padding: 0;
    203       height: 100vh;
    204       .header-content-inner {
    205         max-width: none;
    206         margin: 0;
    207         position: absolute;
    208         top: 50%;
    209         transform: translateY(-50%);
    210         h1 {
    211           font-size: 35px;
    212         }
    213       }
    214     }
    215     .device-container {
    216       max-width: none;
    217       max-height: calc(0vh);
    218       margin: 100px auto 0;
    219     }
    220   }
    221 }
    222 
    223 @media (min-width: 992px) {
    224   header .header-content .header-content-inner h1 {
    225     font-size: 50px;
    226   }
    227 }
    228 
    229 section {
    230   padding: 100px 0;
    231   h2 {
    232     font-size: 50px;
    233   }
    234   &.download {
    235     padding: 150px 0;
    236     position: relative;
    237     h2 {
    238       margin-top: 0;
    239       font-size: 50px;
    240     }
    241     .badges .badge-link {
    242       display: block;
    243       margin-bottom: 25px;
    244       &:last-child {
    245         margin-bottom: 0;
    246       }
    247       img {
    248         height: 60px;
    249       }
    250     }
    251   }
    252   &.features {
    253     .section-heading {
    254       margin-bottom: 100px;
    255       h2 {
    256         margin-top: 0;
    257       }
    258       p {
    259         margin-bottom: 0;
    260       }
    261     }
    262     // section-post-heading fatto da Antonio
    263     .section-post-heading {
    264       margin-bottom: 100px;
    265       h2 {
    266         margin-top: 0;
    267       }
    268       p {
    269         margin-bottom: 0;
    270       }
    271     }
    272     .device-container, .feature-item {
    273       max-width: 300px;
    274       margin: 0 auto;
    275     }
    276     .device-container {
    277       margin-bottom: 100px;
    278       margin-top: 100px;
    279       width: 120%;
    280     }
    281     .feature-item {
    282       text-align: center;
    283       margin-bottom: 100px;
    284       h3 {
    285         font-size: 30px;
    286       }
    287       i {
    288         font-size: 80px;
    289         background: -webkit-linear-gradient(to left, $head-primary, $head-secondary);
    290         background: linear-gradient(to left, $head-primary, $head-secondary);
    291         -webkit-background-clip: text;
    292         -webkit-text-fill-color: transparent;
    293       }
    294     }
    295   }
    296   &.cta {
    297     position: relative;
    298     -webkit-background-size: cover;
    299     -moz-background-size: cover;
    300     background-size: cover;
    301     -o-background-size: cover;
    302     background-position: center;
    303     background-image: url('../img/bg-cta.jpg');
    304     padding: 250px 0;
    305     .cta-content {
    306       position: relative;
    307       z-index: 1;
    308       h2 {
    309         margin-top: 0;
    310         margin-bottom: 25px;
    311         color: white;
    312         max-width: 450px;
    313         font-size: 50px;
    314       }
    315     }
    316     .overlay {
    317       height: 100%;
    318       width: 100%;
    319       background-color: rgba(0, 0, 0, 0.5);
    320       position: absolute;
    321       top: 0;
    322       left: 0;
    323     }
    324   }
    325   &.cta-donate {
    326     position: relative;
    327     -webkit-background-size: cover;
    328     -moz-background-size: cover;
    329     background-size: cover;
    330     -o-background-size: cover;
    331     background-position: center;
    332     background-image: url('../img/donate.jpg');
    333     padding: 250px 0;
    334     .cta-content-donate {
    335       position: relative;
    336       z-index: 1;
    337       h2 {
    338         margin-top: 0;
    339         margin-bottom: 25px;
    340         color: white;
    341         max-width: 450px;
    342         font-size: 70px;
    343       }
    344     }
    345     .overlay-donate {
    346       height: 100%;
    347       width: 100%;
    348       background-color: rgba(0, 0, 0, 0.5);
    349       position: absolute;
    350       top: 0;
    351       left: 0;
    352     }
    353   }
    354   &.contact {
    355     text-align: center;
    356     h2 {
    357       margin-top: 0;
    358       margin-bottom: 25px;
    359       i {
    360         color: #dd4b39;
    361       }
    362     }
    363     ul.list-social {
    364       margin-bottom: 0;
    365       li {
    366         a {
    367           display: block;
    368           height: 80px;
    369           width: 80px;
    370           line-height: 80px;
    371           font-size: 40px;
    372           border-radius: 100%;
    373           color: white;
    374         }
    375         &.social-twitter a {
    376           background-color: #1da1f2;
    377           &:hover {
    378             background-color: #0d95e8;
    379           }
    380         }
    381         &.social-facebook a {
    382           background-color: #3b5998;
    383           &:hover {
    384             background-color: #344e86;
    385           }
    386         }
    387         &.social-google-plus a {
    388           background-color: #dd4b39;
    389           &:hover {
    390             background-color: #d73925;
    391           }
    392         }
    393       }
    394     }
    395   }
    396 }
    397 
    398 @media (min-width: 768px) {
    399   section.download .badges .badge-link {
    400     display: inline-block;
    401     margin-bottom: 0;
    402   }
    403 }
    404 
    405 @media (min-width: 768px) {
    406   section.download h2 {
    407     font-size: 70px;
    408   }
    409 }
    410 
    411 @media (min-width: 992px) {
    412   section.features .device-container {
    413     margin-bottom: 0;
    414   }
    415 }
    416 
    417 @media (min-width: 992px) {
    418   section.features {
    419     .device-container, .feature-item {
    420       max-width: none;
    421     }
    422   }
    423 }
    424 
    425 @media (min-width: 768px) {
    426   section.cta .cta-content h2 {
    427     font-size: 80px;
    428   }
    429 }
    430 
    431 footer {
    432   background-color: #222222;
    433   padding: 25px 0;
    434   color: rgba(255, 255, 255, 0.3);
    435   text-align: center;
    436   p {
    437     font-size: 12px;
    438     margin: 0;
    439   }
    440   ul {
    441     margin-bottom: 0;
    442     li a {
    443       font-size: 12px;
    444       color: rgba(255, 255, 255, 0.3);
    445       &:hover, &:focus, &:active, &.active {
    446         text-decoration: none;
    447       }
    448     }
    449   }
    450 }
    451 
    452 .bg-primary {
    453   background: $theme-primary;
    454   background: -webkit-linear-gradient($theme-primary, $theme-secondary);
    455   background: linear-gradient($theme-primary, $theme-secondary);
    456 }
    457 
    458 .text-primary {
    459   color: $theme-primary;
    460 }
    461 
    462 .no-gutter > [class*='col-'] {
    463   padding-right: 0;
    464   padding-left: 0;
    465 }
    466 
    467 .btn-outline {
    468   color: white;
    469   border-color: white;
    470   border: 1px solid;
    471   &:hover, &:focus, &:active, &.active {
    472     color: white;
    473     background-color: $theme-primary;
    474     border-color: $theme-primary;
    475   }
    476 }
    477 
    478 .btn {
    479   font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
    480   text-transform: uppercase;
    481   letter-spacing: 2px;
    482   border-radius: 300px;
    483 }
    484 
    485 .btn-xl {
    486   padding: 15px 45px;
    487   font-size: 11px;
    488 }
    489 
    490 ::-moz-selection, ::selection {
    491   color: white;
    492   text-shadow: none;
    493   background: #222222;
    494 }
    495 
    496 img {
    497   &::selection, &::-moz-selection {
    498     color: white;
    499     background: transparent;
    500   }
    501 }
    502 
    503 body {
    504   webkit-tap-highlight-color: #222222;
    505 }
    506 
    507 
    508 // Added style by Antonio
    509 
    510 .no-padding {
    511     padding: 0;
    512 }
    513 
    514 .portfolio-box {
    515     position: relative;
    516     display: block;
    517     max-width: 650px;
    518     margin: 0 auto;
    519     .portfolio-box-caption {
    520         color: white;
    521         opacity: 0;
    522         display: block;
    523         background: rgba( $theme-primary, .9 );
    524         position: absolute;
    525         bottom: 0;
    526         text-align: center;
    527         width: 100%;
    528         height: 100%;
    529         @include transition-all;
    530         .portfolio-box-caption-content {
    531             width: 100%;
    532             text-align: center;
    533             position: absolute;
    534             top: 50%;
    535             transform: translateY(-50%);
    536             .project-category,
    537             .project-name {
    538                 @include sans-serif-font;
    539                 padding: 0 15px;
    540             }
    541             .project-category {
    542                 text-transform: uppercase;
    543                 font-weight: 600;
    544                 font-size: 14px;
    545             }
    546             .project-name {
    547                 font-size: 18px;
    548             }
    549         }
    550     }
    551     &:hover {
    552         .portfolio-box-caption {
    553             opacity: 1;
    554         }
    555     }
    556     @media (min-width: 768px) {
    557         .portfolio-box-caption {
    558             .portfolio-box-caption-content {
    559                 .project-category {
    560                     font-size: 16px;
    561                 }
    562                 .project-name {
    563                     font-size: 22px;
    564                 }
    565             }
    566         }
    567     }
    568 }
    569 
    570 // post styles
    571 
    572 .intro-header {
    573   background: no-repeat center center;
    574   background-color: #808080;
    575   background-attachment: scroll;
    576   -webkit-background-size: cover;
    577   -moz-background-size: cover;
    578   background-size: cover;
    579   -o-background-size: cover;
    580   margin-bottom: 50px;
    581   .site-heading, .post-heading, .page-heading {
    582     padding: 100px 0 50px;
    583     color: white;
    584   }
    585   .site-heading, .page-heading {
    586     text-align: center;
    587   }
    588   .site-heading h1, .page-heading h1 {
    589     margin-top: 0;
    590     font-size: 50px;
    591   }
    592   .site-heading .subheading, .page-heading .subheading {
    593     font-size: 24px;
    594     line-height: 1.1;
    595     display: block;
    596     font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    597     font-weight: 300;
    598     margin: 10px 0 0;
    599   }
    600   .post-heading {
    601     h1 {
    602       font-size: 35px;
    603     }
    604     .subheading, .meta {
    605       line-height: 1.1;
    606       display: block;
    607     }
    608     .subheading {
    609       font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    610       font-size: 24px;
    611       margin: 10px 0 30px;
    612       font-weight: 600;
    613     }
    614     .meta {
    615       font-family: 'Lora', 'Times New Roman', serif;
    616       font-style: italic;
    617       font-weight: 300;
    618       font-size: 20px;
    619       a {
    620         color: white;
    621       }
    622     }
    623   }
    624 }
    625 
    626 @media only screen and (min-width: 768px) {
    627   .intro-header {
    628     .site-heading, .post-heading, .page-heading {
    629       padding: 150px 0;
    630     }
    631   }
    632 }
    633 
    634 @media only screen and (min-width: 768px) {
    635   .intro-header {
    636     .site-heading h1, .page-heading h1 {
    637       font-size: 80px;
    638     }
    639   }
    640 }
    641 
    642 @media only screen and (min-width: 768px) {
    643   .intro-header .post-heading {
    644     h1 {
    645       font-size: 55px;
    646     }
    647     .subheading {
    648       font-size: 30px;
    649     }
    650   }
    651 }
    652 
    653 @media (max-resolution: 1dppx) {
    654    .device-overwrite {
    655        position: absolute;
    656        top: 50%;
    657        transform: translateY(-50%);
    658        max-width: 100%;
    659    }
    660 }
    661 
    662 .device-overwrite {
    663     top: 50%;
    664     transform: translateY(-50%);
    665     max-width: 100%;
    666 }