Clarify inline comments

master
Nienke 9 years ago
parent bb95546a3c
commit 28fc54fde2

@ -6,7 +6,13 @@
* 3. Import vendors (all third-party CSS) * 3. Import vendors (all third-party CSS)
*/ */
/** /**
* 1. The page base. * Shadow text mixin.
*/
/**
* Breakpoint mixin and variable for responsive layouts.
*/
/**
* The page base.
*/ */
@import url(vendors/normalize.css); @import url(vendors/normalize.css);
@import url(vendors/flaticon.css); @import url(vendors/flaticon.css);
@ -27,7 +33,7 @@ body {
align-items: center; } align-items: center; }
/** /**
* 1. First section of the main page, containing the logo, login/registration buttons, and a down arrow. * First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/ */
.intro-page { .intro-page {
background: linear-gradient(#070a15, #252b46); background: linear-gradient(#070a15, #252b46);
@ -39,7 +45,7 @@ body {
min-height: 100vh; } } min-height: 100vh; } }
/** /**
* 1. Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver). * Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver).
*/ */
.info-page { .info-page {
background: linear-gradient(#F1D4AF, #eee9d9); background: linear-gradient(#F1D4AF, #eee9d9);
@ -56,7 +62,7 @@ body {
margin: 50px; } margin: 50px; }
/** /**
* 1. Third section of the main page, containing the link to the Github page. * Third section of the main page, containing the link to the Github page.
*/ */
.footer-page { .footer-page {
flex: 1; flex: 1;
@ -69,7 +75,7 @@ body {
height: 100%; } } height: 100%; } }
/** /**
* 1. Login and register pages. * Login and register pages.
*/ */
.login-page { .login-page {
background: linear-gradient(#070a15, #252b46); background: linear-gradient(#070a15, #252b46);
@ -132,10 +138,16 @@ button {
font-size: 1.5em; font-size: 1.5em;
font-family: "Montserrat"; } font-family: "Montserrat"; }
/**
* Main
*/
body { body {
font-family: 'Karla', sans-serif; font-family: 'Karla', sans-serif;
font-size: 100%; } font-size: 100%; }
/**
* First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/
.intro-page-logo { .intro-page-logo {
font-family: 'Montserrat', serif; font-family: 'Montserrat', serif;
font-size: 12em; font-size: 12em;
@ -161,6 +173,9 @@ body {
.fa-angle-double-down { .fa-angle-double-down {
color: #424769; } color: #424769; }
/**
* Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver).
*/
.info-page h1 { .info-page h1 {
font-family: 'Rubik'; font-family: 'Rubik';
color: #dab199; color: #dab199;
@ -186,6 +201,9 @@ body {
[class^="flaticon-"]:after, [class*=" flaticon-"]:after { [class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 5em; } } font-size: 5em; } }
/**
* Third section of the main page, containing the link to the Github page.
*/
.footer-page a { .footer-page a {
color: black; } color: black; }
@ -205,6 +223,9 @@ body {
font-size: 1em; font-size: 1em;
margin: 20px; } } margin: 20px; } }
/**
* Login and register pages.
*/
.login-page-logo { .login-page-logo {
font-family: 'Montserrat', serif; font-family: 'Montserrat', serif;
font-size: 6em; font-size: 6em;

@ -1,7 +1,7 @@
{ {
"version": 3, "version": 3,
"mappings": "AAAA;gFACgF;AAEhF;;;;GAIG;ACPH;;GAEG;ADiBK,kCAAuB;AACvB,iCAAsB;AACtB,uFAA+E;ACjBvF,IAAK;EACH,gBAAgB,EAAE,OAAO;;AAG3B,cAAe;EACb,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,IAAI;EACb,sBAAsB,EAAE,MAAM;EAC9B,cAAc,EAAE,MAAM;;AAGxB,6DAAU;EACR,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,YAAY;EACrB,eAAe,EAAE,MAAM;EACvB,WAAW,EAAE,MAAM;;AAGrB;;GAEG;AAEH,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,MAAM,EAAE,KAAK;EACb,cAAc,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM;ECjB9B,0BAAoC;IDYtC,WAAY;MAOT,UAAU,EAAE,KAAK;;AAIpB;;GAEG;AAEH,UAAW;EAET,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,GAAG;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AIpD,SAAS,EAAE,GAAG;;AAIlB;;GAEG;AAEF,cAAe;EACd,KAAK,EAAE,KAAK;;AAGd,oDAAmB;EACjB,WAAW,EAAE,aAAa;EAC1B,KAAK,EAAE,OAAO;EACd,WAAW,EAAE,OAAO;EACpB,cAAc,EAAE,SAAS;;AAG3B,eAAgB;EAEd,SAAS,EAAE,KAAK;;AAGlB,eAAgB;EAEd,SAAS,EAAE,KAAK;EJtEhB,0BAAoC;IIoEtC,eAAgB;MAIZ,SAAS,EAAE,GAAG;MACd,MAAM,EAAE,IAAI;;AAIhB;;GAEG;AAEF,gBAAiB;EAChB,WAAW,EAAE,mBAAmB;EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;EJhGd,WAAW,EAFC,uOAAmD",
"sources": ["main.scss","partials/_base.scss","modules/_modules.scss","partials/_navigation.sass","partials/_forms.sass","partials/_typography.scss"], "sources": ["main.scss","modules/_modules.scss","partials/_base.scss","partials/_navigation.sass","partials/_forms.sass","partials/_typography.scss"],
"names": [], "names": [],
"file": "main.css" "file": "main.css"
} }

@ -1,3 +1,7 @@
/**
* Shadow text mixin.
*/
@mixin long-shadow-text ($distance, $blur, $color) { @mixin long-shadow-text ($distance, $blur, $color) {
$shadows: null; $shadows: null;
$color: darken($color, 10); $color: darken($color, 10);
@ -9,6 +13,11 @@
text-shadow: $shadows; text-shadow: $shadows;
} }
/**
* Breakpoint mixin and variable for responsive layouts.
*/
$break-small: 1200px; $break-small: 1200px;
@mixin break-small { @mixin break-small {

@ -1,5 +1,5 @@
/** /**
* 1. The page base. * The page base.
*/ */
body { body {
@ -21,7 +21,7 @@ body {
} }
/** /**
* 1. First section of the main page, containing the logo, login/registration buttons, and a down arrow. * First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/ */
.intro-page { .intro-page {
@ -36,7 +36,7 @@ body {
} }
/** /**
* 1. Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver). * Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver).
*/ */
.info-page { .info-page {
@ -57,7 +57,7 @@ body {
} }
/** /**
* 1. Third section of the main page, containing the link to the Github page. * Third section of the main page, containing the link to the Github page.
*/ */
.footer-page { .footer-page {
@ -73,7 +73,7 @@ body {
} }
/** /**
* 1. Login and register pages. * Login and register pages.
*/ */
.login-page { .login-page {

@ -1,10 +1,16 @@
// main /**
* Main
*/
body { body {
font-family: 'Karla', sans-serif; font-family: 'Karla', sans-serif;
font-size: 100%; font-size: 100%;
} }
// first section with logo and navigation /**
* First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/
.intro-page-logo { .intro-page-logo {
font-family: 'Montserrat', serif; font-family: 'Montserrat', serif;
font-size: 12em; font-size: 12em;
@ -33,7 +39,10 @@ body {
color: #424769; color: #424769;
} }
// second section containing information columns /**
* Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver).
*/
.info-page h1 { .info-page h1 {
font-family: 'Rubik'; font-family: 'Rubik';
color: #dab199; color: #dab199;
@ -60,7 +69,10 @@ body {
} }
} }
// third section containing the footer /**
* Third section of the main page, containing the link to the Github page.
*/
.footer-page a { .footer-page a {
color: black color: black
} }
@ -86,7 +98,10 @@ body {
} }
} }
// login and register pages. forms make-up can be found in forms.sass. /**
* Login and register pages.
*/
.login-page-logo { .login-page-logo {
font-family: 'Montserrat', serif; font-family: 'Montserrat', serif;
font-size: 6em; font-size: 6em;

Loading…
Cancel
Save