Responsified the home page

master
Nienke 9 years ago
parent 4ec9879dea
commit 4194ca5bed

@ -28,29 +28,6 @@ ul.topnav li a:hover {
ul.topnav li.icon {
display: none; }
@media screen and (max-width: 680px) {
ul.topnav li:not(:first-child) {
display: none; }
ul.topnav li.icon {
float: right;
display: inline-block; } }
@media screen and (max-width: 680px) {
ul.topnav.responsive {
position: relative; }
ul.topnav.responsive li.icon {
position: absolute;
right: 0;
top: 0; }
ul.topnav.responsive li {
float: none;
display: inline; }
ul.topnav.responsive li a {
display: block;
text-align: left; } }
input {
padding: 10px;
box-sizing: border-box;
@ -75,7 +52,8 @@ button {
body {
background-color: #7aa2cb;
font-family: 'Karla', sans-serif; }
font-family: 'Karla', sans-serif;
font-size: 100%; }
.flexcontainer {
display: flex;
@ -90,6 +68,9 @@ body {
background: linear-gradient(#070a15, #252b46);
height: 100vh;
flex-direction: column; }
@media (max-width: 768px) {
.intro-page {
height: 100%; } }
.intro-page-logo {
font-family: 'Montserrat', serif;
@ -97,21 +78,37 @@ body {
text-transform: uppercase;
color: #E08E79;
text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84, 11px 11px 0px #e9bd84, 12px 12px 0px #e9bd84, 13px 13px 0px #e9bd84, 14px 14px 0px #e9bd84, 15px 15px 0px #e9bd84, 16px 16px 0px #e9bd84, 17px 17px 0px #e9bd84, 18px 18px 0px #e9bd84, 19px 19px 0px #e9bd84, 20px 20px 0px #e9bd84, 21px 21px 0px #e9bd84, 22px 22px 0px #e9bd84, 23px 23px 0px #e9bd84, 24px 24px 0px #e9bd84, 25px 25px 0px #e9bd84, 26px 26px 0px #e9bd84, 27px 27px 0px #e9bd84, 28px 28px 0px #e9bd84, 29px 29px 0px #e9bd84, 30px 30px 0px #e9bd84; }
@media (max-width: 768px) {
.intro-page-logo {
font-size: 3em;
padding: 20px;
text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84, 11px 11px 0px #e9bd84, 12px 12px 0px #e9bd84, 13px 13px 0px #e9bd84, 14px 14px 0px #e9bd84, 15px 15px 0px #e9bd84, 16px 16px 0px #e9bd84, 17px 17px 0px #e9bd84, 18px 18px 0px #e9bd84, 19px 19px 0px #e9bd84, 20px 20px 0px #e9bd84; } }
.intro-page-welcome-text {
font-family: 'Inconsolata', serif;
font-size: 2em;
text-transform: uppercase;
color: #fff; }
@media (max-width: 768px) {
.intro-page-welcome-text {
font-size: 1em;
padding-top: 10px; } }
.fa-angle-double-down {
color: #424769;
margin-top: 50px; }
@media (max-width: 768px) {
.fa-angle-double-down {
margin: 0px; } }
.info-page {
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
height: 80vh; }
@media (max-width: 768px) {
.info-page {
flex-direction: column;
height: 100%; } }
.info-page h1 {
font-family: 'Rubik';
@ -121,20 +118,27 @@ body {
text-transform: lowercase; }
.info-page-item {
padding: 50px;
font-size: 0.9em;
line-height: 1.6em;
color: #8b6d5c; }
color: #8b6d5c;
padding: 50px; }
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 10em;
color: #fff; }
@media (max-width: 768px) {
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 5em; } }
.footer-page {
background-color: #e2f2f0;
flex-direction: column;
height: 20vh; }
@media (max-width: 768px) {
.footer-page {
height: 100%; } }
.footer-page a {
color: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BAAmB;EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;EAzId,WAAW,EAFC,uOAAmD;;AA8IjE,gBAAiB;EACf,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,UAAU;EACtB,aAAa,EAAE,GAAG;EAClB,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,iBAAiB;EAChC,YAAY,EAAE,iBAAiB;EAC/B,WAAW,EAAE,CAAC;;AAIhB,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,MAAM",
"sources": ["main.scss","navigation.sass","forms.sass"],
"names": [],
"file": "main.css"

@ -10,6 +10,7 @@
body {
background-color: #7aa2cb;
font-family: 'Karla', sans-serif;
font-size:100%;
}
.flexcontainer {
@ -34,12 +35,23 @@ body {
text-shadow: $shadows;
}
$break-small: 768px; // blaze it
@mixin break-small {
@media (max-width: #{$break-small}) {
@content;
}
}
// first section with logo and navigation
.intro-page {
@extend .flexpage;
background: linear-gradient(#070a15, #252b46);
height: 100vh;
flex-direction: column;
@include break-small {
height: 100%;
}
}
.intro-page-logo {
@ -48,6 +60,11 @@ body {
text-transform: uppercase;
color: #E08E79;
@include long-shadow-text(30, 0, #F1D4AF);
@include break-small {
font-size: 3em;
padding: 20px;
@include long-shadow-text(20, 0, #F1D4AF);
}
}
.intro-page-welcome-text {
@ -55,10 +72,18 @@ body {
font-size: 2em;
text-transform: uppercase;
color: #fff;
@include break-small {
font-size: 1em;
padding-top: 10px;
}
}
.fa-angle-double-down {
color: #424769;
margin-top: 50px;
@include break-small {
margin: 0px;
}
}
// second section containing information columns
@ -67,6 +92,10 @@ body {
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
height: 80vh;
@include break-small {
flex-direction: column;
height: 100%;
}
}
.info-page h1 {
@ -78,16 +107,21 @@ body {
}
.info-page-item {
padding: 50px;
font-size: 0.9em;
line-height: 1.6em;
color: #8b6d5c;
padding: 50px;
@include break-small {
}
}
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 10em;
color: #fff;
@include break-small {
font-size: 5em;
}
}
// third section containing the footer
@ -96,6 +130,9 @@ body {
background-color: #e2f2f0;
flex-direction: column;
height: 20vh;
@include break-small {
height: 100%;
}
}
.footer-page a {

@ -24,28 +24,4 @@ ul.topnav li a:hover {
ul.topnav li.icon {
display: none; }
@media screen and (max-width: 680px) {
ul.topnav li:not(:first-child) {
display: none; }
ul.topnav li.icon {
float: right;
display: inline-block; } }
@media screen and (max-width: 680px) {
ul.topnav.responsive {
position: relative; }
ul.topnav.responsive li.icon {
position: absolute;
right: 0;
top: 0; }
ul.topnav.responsive li {
float: none;
display: inline; }
ul.topnav.responsive li a {
display: block;
text-align: left; } }
/*# sourceMappingURL=navigation.css.map */

@ -1,6 +1,6 @@
{
"version": 3,
"mappings": "AAAA,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,eAAe;EACvB,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,OAAO;;AAEhB,oBAAoB;EAClB,gBAAgB,EAAE,OAAO;EACzB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI;;AAEf,oCAAmC;EACjC,8BAA8B;IAC5B,OAAO,EAAE,IAAI;;EACf,iBAAiB;IACf,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;AAEzB,oCAAmC;EACjC,oBAAoB;IAClB,QAAQ,EAAE,QAAQ;;EAEpB,4BAA4B;IAC1B,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;;EAER,uBAAuB;IACrB,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,MAAM;;EAEjB,yBAAyB;IACvB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,IAAI",
"mappings": "AAAA,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,eAAe;EACvB,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,OAAO;;AAEhB,oBAAoB;EAClB,gBAAgB,EAAE,OAAO;EACzB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI",
"sources": ["navigation.sass"],
"names": [],
"file": "navigation.css"

@ -23,27 +23,3 @@ ul.topnav li a:hover
ul.topnav li.icon
display: none
@media screen and (max-width:680px)
ul.topnav li:not(:first-child)
display: none
ul.topnav li.icon
float: right
display: inline-block
@media screen and (max-width:680px)
ul.topnav.responsive
position: relative
ul.topnav.responsive li.icon
position: absolute
right: 0
top: 0
ul.topnav.responsive li
float: none
display: inline
ul.topnav.responsive li a
display: block
text-align: left

Loading…
Cancel
Save