alien-minimalistic 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +112 -0
- data/_includes/disqus.html +31 -0
- data/_includes/footer.html +29 -0
- data/_includes/head.html +15 -0
- data/_includes/header.html +46 -0
- data/_includes/icons/icon-about.html +10 -0
- data/_includes/icons/icon-articles.html +9 -0
- data/_includes/icons/icon-contact.html +18 -0
- data/_includes/icons/icon-resume.html +8 -0
- data/_includes/readtime.html +8 -0
- data/_includes/social/social-github.html +14 -0
- data/_includes/social/social-linkedin.html +11 -0
- data/_includes/social/social-rss.html +15 -0
- data/_includes/social/social-twitter.html +13 -0
- data/_layouts/404.html +26 -0
- data/_layouts/about.html +15 -0
- data/_layouts/articles.html +20 -0
- data/_layouts/contact.html +38 -0
- data/_layouts/default.html +19 -0
- data/_layouts/home.html +48 -0
- data/_layouts/post.html +16 -0
- data/_sass/1-tools/_google-font.scss +168 -0
- data/_sass/1-tools/_normalize.scss +341 -0
- data/_sass/1-tools/_syntax-highlighting.scss +63 -0
- data/_sass/1-tools/_tools-dir.sass +4 -0
- data/_sass/1-tools/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/_sass/1-tools/bourbon/_bourbon.scss +87 -0
- data/_sass/1-tools/bourbon/addons/_border-color.scss +26 -0
- data/_sass/1-tools/bourbon/addons/_border-radius.scss +48 -0
- data/_sass/1-tools/bourbon/addons/_border-style.scss +25 -0
- data/_sass/1-tools/bourbon/addons/_border-width.scss +25 -0
- data/_sass/1-tools/bourbon/addons/_buttons.scss +64 -0
- data/_sass/1-tools/bourbon/addons/_clearfix.scss +25 -0
- data/_sass/1-tools/bourbon/addons/_ellipsis.scss +30 -0
- data/_sass/1-tools/bourbon/addons/_font-stacks.scss +31 -0
- data/_sass/1-tools/bourbon/addons/_hide-text.scss +27 -0
- data/_sass/1-tools/bourbon/addons/_margin.scss +26 -0
- data/_sass/1-tools/bourbon/addons/_padding.scss +26 -0
- data/_sass/1-tools/bourbon/addons/_position.scss +48 -0
- data/_sass/1-tools/bourbon/addons/_prefixer.scss +66 -0
- data/_sass/1-tools/bourbon/addons/_retina-image.scss +25 -0
- data/_sass/1-tools/bourbon/addons/_size.scss +51 -0
- data/_sass/1-tools/bourbon/addons/_text-inputs.scss +113 -0
- data/_sass/1-tools/bourbon/addons/_timing-functions.scss +34 -0
- data/_sass/1-tools/bourbon/addons/_triangle.scss +63 -0
- data/_sass/1-tools/bourbon/addons/_word-wrap.scss +29 -0
- data/_sass/1-tools/bourbon/css3/_animation.scss +43 -0
- data/_sass/1-tools/bourbon/css3/_appearance.scss +3 -0
- data/_sass/1-tools/bourbon/css3/_backface-visibility.scss +3 -0
- data/_sass/1-tools/bourbon/css3/_background-image.scss +42 -0
- data/_sass/1-tools/bourbon/css3/_background.scss +55 -0
- data/_sass/1-tools/bourbon/css3/_border-image.scss +59 -0
- data/_sass/1-tools/bourbon/css3/_calc.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_columns.scss +47 -0
- data/_sass/1-tools/bourbon/css3/_filter.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_flex-box.scss +287 -0
- data/_sass/1-tools/bourbon/css3/_font-face.scss +24 -0
- data/_sass/1-tools/bourbon/css3/_font-feature-settings.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/_sass/1-tools/bourbon/css3/_hyphens.scss +4 -0
- data/_sass/1-tools/bourbon/css3/_image-rendering.scss +14 -0
- data/_sass/1-tools/bourbon/css3/_keyframes.scss +36 -0
- data/_sass/1-tools/bourbon/css3/_linear-gradient.scss +38 -0
- data/_sass/1-tools/bourbon/css3/_perspective.scss +8 -0
- data/_sass/1-tools/bourbon/css3/_placeholder.scss +8 -0
- data/_sass/1-tools/bourbon/css3/_radial-gradient.scss +39 -0
- data/_sass/1-tools/bourbon/css3/_selection.scss +42 -0
- data/_sass/1-tools/bourbon/css3/_text-decoration.scss +19 -0
- data/_sass/1-tools/bourbon/css3/_transform.scss +15 -0
- data/_sass/1-tools/bourbon/css3/_transition.scss +71 -0
- data/_sass/1-tools/bourbon/css3/_user-select.scss +3 -0
- data/_sass/1-tools/bourbon/functions/_assign-inputs.scss +11 -0
- data/_sass/1-tools/bourbon/functions/_contains-falsy.scss +20 -0
- data/_sass/1-tools/bourbon/functions/_contains.scss +26 -0
- data/_sass/1-tools/bourbon/functions/_is-length.scss +11 -0
- data/_sass/1-tools/bourbon/functions/_is-light.scss +21 -0
- data/_sass/1-tools/bourbon/functions/_is-number.scss +11 -0
- data/_sass/1-tools/bourbon/functions/_is-size.scss +13 -0
- data/_sass/1-tools/bourbon/functions/_modular-scale.scss +69 -0
- data/_sass/1-tools/bourbon/functions/_px-to-em.scss +13 -0
- data/_sass/1-tools/bourbon/functions/_px-to-rem.scss +15 -0
- data/_sass/1-tools/bourbon/functions/_shade.scss +24 -0
- data/_sass/1-tools/bourbon/functions/_strip-units.scss +17 -0
- data/_sass/1-tools/bourbon/functions/_tint.scss +24 -0
- data/_sass/1-tools/bourbon/functions/_transition-property-name.scss +22 -0
- data/_sass/1-tools/bourbon/functions/_unpack.scss +27 -0
- data/_sass/1-tools/bourbon/helpers/_convert-units.scss +21 -0
- data/_sass/1-tools/bourbon/helpers/_directional-values.scss +96 -0
- data/_sass/1-tools/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/_sass/1-tools/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/_sass/1-tools/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/_sass/1-tools/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/_sass/1-tools/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/_sass/1-tools/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/_sass/1-tools/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/_sass/1-tools/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/_sass/1-tools/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/_sass/1-tools/bourbon/helpers/_render-gradients.scss +26 -0
- data/_sass/1-tools/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/_sass/1-tools/bourbon/helpers/_str-to-num.scss +50 -0
- data/_sass/1-tools/bourbon/settings/_asset-pipeline.scss +7 -0
- data/_sass/1-tools/bourbon/settings/_prefixer.scss +9 -0
- data/_sass/1-tools/bourbon/settings/_px-to-em.scss +1 -0
- data/_sass/2-base/_base-dir.sass +3 -0
- data/_sass/2-base/_standard-colors.sass +3 -0
- data/_sass/2-base/_standard-overrides.sass +48 -0
- data/_sass/2-base/milligram/_Base.sass +24 -0
- data/_sass/2-base/milligram/_Blockquote.sass +12 -0
- data/_sass/2-base/milligram/_Button.sass +75 -0
- data/_sass/2-base/milligram/_Code.sass +22 -0
- data/_sass/2-base/milligram/_Color.sass +11 -0
- data/_sass/2-base/milligram/_Divider.sass +8 -0
- data/_sass/2-base/milligram/_Form.sass +56 -0
- data/_sass/2-base/milligram/_Grid.sass +158 -0
- data/_sass/2-base/milligram/_Image.sass +6 -0
- data/_sass/2-base/milligram/_Link.sass +11 -0
- data/_sass/2-base/milligram/_List.sass +22 -0
- data/_sass/2-base/milligram/_Spacing.sass +27 -0
- data/_sass/2-base/milligram/_Table.sass +19 -0
- data/_sass/2-base/milligram/_Typography.sass +48 -0
- data/_sass/2-base/milligram/_Utility.sass +18 -0
- data/_sass/2-base/milligram/_milligram.sass +19 -0
- data/_sass/3-sections/_404.sass +25 -0
- data/_sass/3-sections/_about.sass +62 -0
- data/_sass/3-sections/_articles.sass +42 -0
- data/_sass/3-sections/_contact.sass +84 -0
- data/_sass/3-sections/_footer.sass +76 -0
- data/_sass/3-sections/_header.sass +241 -0
- data/_sass/3-sections/_home.sass +187 -0
- data/_sass/3-sections/_post.sass +22 -0
- data/_sass/3-sections/_sections-dir.sass +8 -0
- data/_sass/_alien-minimalistic.sass +3 -0
- data/assets/favicon.png +0 -0
- data/assets/hero_background.jpg +0 -0
- data/assets/main.sass +10 -0
- data/assets/patterns/be.js +26 -0
- data/assets/patterns/bn.js +15 -0
- data/assets/patterns/ca.js +22 -0
- data/assets/patterns/cs.js +19 -0
- data/assets/patterns/da.js +18 -0
- data/assets/patterns/de.js +25 -0
- data/assets/patterns/el-monoton.js +22 -0
- data/assets/patterns/el-polyton.js +28 -0
- data/assets/patterns/en-gb.js +20 -0
- data/assets/patterns/en-us.js +23 -0
- data/assets/patterns/eo.js +27 -0
- data/assets/patterns/es.js +29 -0
- data/assets/patterns/et.js +27 -0
- data/assets/patterns/fi.js +19 -0
- data/assets/patterns/fr.js +28 -0
- data/assets/patterns/grc.js +30 -0
- data/assets/patterns/gu.js +14 -0
- data/assets/patterns/hi.js +14 -0
- data/assets/patterns/hu.js +26 -0
- data/assets/patterns/hy.js +15 -0
- data/assets/patterns/it.js +22 -0
- data/assets/patterns/kn.js +15 -0
- data/assets/patterns/la.js +24 -0
- data/assets/patterns/lt.js +19 -0
- data/assets/patterns/lv.js +22 -0
- data/assets/patterns/ml.js +16 -0
- data/assets/patterns/nb-no.js +133 -0
- data/assets/patterns/nl.js +21 -0
- data/assets/patterns/or.js +16 -0
- data/assets/patterns/pa.js +14 -0
- data/assets/patterns/pl.js +29 -0
- data/assets/patterns/pt.js +18 -0
- data/assets/patterns/ro.js +20 -0
- data/assets/patterns/ru.js +24 -0
- data/assets/patterns/sk.js +27 -0
- data/assets/patterns/sl.js +19 -0
- data/assets/patterns/sr-cyrl.js +22 -0
- data/assets/patterns/sr-latn.js +23 -0
- data/assets/patterns/sv.js +21 -0
- data/assets/patterns/ta.js +16 -0
- data/assets/patterns/te.js +14 -0
- data/assets/patterns/tr.js +17 -0
- data/assets/patterns/uk.js +27 -0
- data/assets/profile_picture.png +0 -0
- metadata +253 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
// Table
|
|
3
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
4
|
+
|
|
5
|
+
table
|
|
6
|
+
border-spacing: 0
|
|
7
|
+
width: 100%
|
|
8
|
+
|
|
9
|
+
td,
|
|
10
|
+
th
|
|
11
|
+
border-bottom: .1rem solid $color-quinary
|
|
12
|
+
padding: 1.2rem 1.5rem
|
|
13
|
+
text-align: left
|
|
14
|
+
|
|
15
|
+
&:first-child
|
|
16
|
+
padding-left: 0
|
|
17
|
+
|
|
18
|
+
&:last-child
|
|
19
|
+
padding-right: 0
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
// Typography
|
|
3
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
4
|
+
|
|
5
|
+
b,
|
|
6
|
+
strong
|
|
7
|
+
font-weight: bold
|
|
8
|
+
|
|
9
|
+
p
|
|
10
|
+
margin-top: 0
|
|
11
|
+
|
|
12
|
+
h1,
|
|
13
|
+
h2,
|
|
14
|
+
h3,
|
|
15
|
+
h4,
|
|
16
|
+
h5,
|
|
17
|
+
h6
|
|
18
|
+
font-weight: 300
|
|
19
|
+
letter-spacing: -.1rem
|
|
20
|
+
margin-bottom: 2.0rem
|
|
21
|
+
margin-top: 0
|
|
22
|
+
|
|
23
|
+
h1
|
|
24
|
+
font-size: 4.6rem
|
|
25
|
+
line-height: 1.2
|
|
26
|
+
|
|
27
|
+
h2
|
|
28
|
+
font-size: 3.6rem
|
|
29
|
+
line-height: 1.25
|
|
30
|
+
|
|
31
|
+
h3
|
|
32
|
+
font-size: 2.8rem
|
|
33
|
+
line-height: 1.3
|
|
34
|
+
|
|
35
|
+
h4
|
|
36
|
+
font-size: 2.2rem
|
|
37
|
+
letter-spacing: -.08rem
|
|
38
|
+
line-height: 1.35
|
|
39
|
+
|
|
40
|
+
h5
|
|
41
|
+
font-size: 1.8rem
|
|
42
|
+
letter-spacing: -.05rem
|
|
43
|
+
line-height: 1.5
|
|
44
|
+
|
|
45
|
+
h6
|
|
46
|
+
font-size: 1.6rem
|
|
47
|
+
letter-spacing: 0
|
|
48
|
+
line-height: 1.4
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
// Utility
|
|
3
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
4
|
+
|
|
5
|
+
// Clear a float with .clearfix
|
|
6
|
+
.clearfix
|
|
7
|
+
|
|
8
|
+
&:after
|
|
9
|
+
clear: both
|
|
10
|
+
content: ' ' // The space content is one way to avoid an Opera bug.
|
|
11
|
+
display: table
|
|
12
|
+
|
|
13
|
+
// Float either direction
|
|
14
|
+
.float-left
|
|
15
|
+
float: left
|
|
16
|
+
|
|
17
|
+
.float-right
|
|
18
|
+
float: right
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
// Sass Modules
|
|
3
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
4
|
+
|
|
5
|
+
@import Color
|
|
6
|
+
@import Base
|
|
7
|
+
@import Blockquote
|
|
8
|
+
@import Button
|
|
9
|
+
@import Code
|
|
10
|
+
@import Divider
|
|
11
|
+
@import Form
|
|
12
|
+
@import Grid
|
|
13
|
+
@import Link
|
|
14
|
+
@import List
|
|
15
|
+
@import Spacing
|
|
16
|
+
@import Table
|
|
17
|
+
@import Typography
|
|
18
|
+
@import Image
|
|
19
|
+
@import Utility
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** This is a custom 404 page that Github Pages would load if the user tries
|
|
2
|
+
* to access invalid paths in the website
|
|
3
|
+
*/
|
|
4
|
+
#error-404
|
|
5
|
+
text-align: center
|
|
6
|
+
margin-top: 50px
|
|
7
|
+
|
|
8
|
+
/** The main header of the page that shows the error code 404
|
|
9
|
+
*/
|
|
10
|
+
#header-404
|
|
11
|
+
font-weight: 600
|
|
12
|
+
font-size: 15vw
|
|
13
|
+
|
|
14
|
+
/** The message for the users regarding the 404 error
|
|
15
|
+
*/
|
|
16
|
+
.message-404
|
|
17
|
+
margin: 0px auto 0px auto
|
|
18
|
+
|
|
19
|
+
/** There should be some margin after the first statement
|
|
20
|
+
&:first-of-type
|
|
21
|
+
margin-bottom: 20px
|
|
22
|
+
|
|
23
|
+
/** Margin at the bottom of the message
|
|
24
|
+
&:last-of-type
|
|
25
|
+
margin-bottom: 50px
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/** The about page talks about the background of the author
|
|
2
|
+
*/
|
|
3
|
+
#about
|
|
4
|
+
margin-top: 50px
|
|
5
|
+
margin-bottom: 50px
|
|
6
|
+
|
|
7
|
+
/** The container that holds the profile-picture
|
|
8
|
+
*/
|
|
9
|
+
#about-image
|
|
10
|
+
display: block
|
|
11
|
+
width: 200px
|
|
12
|
+
height: 200px
|
|
13
|
+
margin: auto
|
|
14
|
+
|
|
15
|
+
/** The image element that loads the profile-picture
|
|
16
|
+
*
|
|
17
|
+
* border-radius - Ensures the profile-picture is placed in a circle and
|
|
18
|
+
* not a box
|
|
19
|
+
*/
|
|
20
|
+
#profile-picture
|
|
21
|
+
width: 100%
|
|
22
|
+
height: 100%
|
|
23
|
+
border-radius: 50%
|
|
24
|
+
|
|
25
|
+
/** The container that hold the header and the 'about' content
|
|
26
|
+
*/
|
|
27
|
+
#about-content
|
|
28
|
+
width: 100%
|
|
29
|
+
max-width: 1012px
|
|
30
|
+
margin: 50px auto 50px auto
|
|
31
|
+
|
|
32
|
+
/** The intro statement of the author
|
|
33
|
+
*/
|
|
34
|
+
#about-intro
|
|
35
|
+
font-size: 34px
|
|
36
|
+
font-weight: 600
|
|
37
|
+
color: $color-custom-primary
|
|
38
|
+
|
|
39
|
+
@media screen and (max-width: 768px)
|
|
40
|
+
#about
|
|
41
|
+
|
|
42
|
+
/** Resizing the image container
|
|
43
|
+
*/
|
|
44
|
+
#about-image
|
|
45
|
+
width: 180px
|
|
46
|
+
height: 180px
|
|
47
|
+
|
|
48
|
+
/** Resizing the intro statement's font
|
|
49
|
+
*/
|
|
50
|
+
#about-content
|
|
51
|
+
#about-intro
|
|
52
|
+
font-size: 30px
|
|
53
|
+
|
|
54
|
+
@media screen and (max-width: 400px)
|
|
55
|
+
#about
|
|
56
|
+
/** Making sure the profile picture according to the width and
|
|
57
|
+
* height percentages
|
|
58
|
+
*/
|
|
59
|
+
#profile-picture
|
|
60
|
+
width: 90%
|
|
61
|
+
height: 90%
|
|
62
|
+
border-radius: 50%
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** The articles table of content presents the list of articles on the site to
|
|
2
|
+
* the users
|
|
3
|
+
*/
|
|
4
|
+
#table-of-articles
|
|
5
|
+
width: 90%
|
|
6
|
+
max-width: 1012px
|
|
7
|
+
margin: 50px auto 50px auto
|
|
8
|
+
|
|
9
|
+
/** The articles page header
|
|
10
|
+
*/
|
|
11
|
+
#article-page-header
|
|
12
|
+
margin: 0px auto 0px auto
|
|
13
|
+
font-size: 34px
|
|
14
|
+
font-weight: 600
|
|
15
|
+
text-align: center
|
|
16
|
+
color: $color-custom-primary
|
|
17
|
+
|
|
18
|
+
/** The div holding the article title and date of publication
|
|
19
|
+
*/
|
|
20
|
+
.post
|
|
21
|
+
border-bottom: 1px solid $color-light-grey
|
|
22
|
+
|
|
23
|
+
/** The first instance should be 50px away from the page header
|
|
24
|
+
*/
|
|
25
|
+
&:first-of-type
|
|
26
|
+
margin-top: 50px
|
|
27
|
+
|
|
28
|
+
/** The last instance should not have a border-bottom
|
|
29
|
+
*/
|
|
30
|
+
&:last-of-type
|
|
31
|
+
border: none
|
|
32
|
+
|
|
33
|
+
/** The article title
|
|
34
|
+
*/
|
|
35
|
+
.post-title
|
|
36
|
+
font-size: 18px
|
|
37
|
+
margin-bottom: 0px
|
|
38
|
+
|
|
39
|
+
/** The article data of publication
|
|
40
|
+
*/
|
|
41
|
+
.post-date
|
|
42
|
+
margin-top: 0px
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/** The contact page allows users to send personal message to the author
|
|
2
|
+
*/
|
|
3
|
+
#contact
|
|
4
|
+
margin: 50px auto 0px auto
|
|
5
|
+
|
|
6
|
+
/** The contact page header
|
|
7
|
+
*/
|
|
8
|
+
#contact-page-header
|
|
9
|
+
font-size: 34px
|
|
10
|
+
font-weight: 600
|
|
11
|
+
text-align: center
|
|
12
|
+
color: $color-custom-primary
|
|
13
|
+
|
|
14
|
+
/** The contact page message
|
|
15
|
+
*/
|
|
16
|
+
#contact-page-message
|
|
17
|
+
margin: 20px auto 20px auto
|
|
18
|
+
font-size: 16px
|
|
19
|
+
text-align: center
|
|
20
|
+
|
|
21
|
+
/** The contact form for users to fill up
|
|
22
|
+
*/
|
|
23
|
+
#contact-form
|
|
24
|
+
margin: 60px auto 50px
|
|
25
|
+
max-width: 500px
|
|
26
|
+
|
|
27
|
+
/** The fiels in the contact form
|
|
28
|
+
*/
|
|
29
|
+
.form-field
|
|
30
|
+
.field-name
|
|
31
|
+
color: $color-custom-primary
|
|
32
|
+
|
|
33
|
+
/** The input handlers for the text entered by the users
|
|
34
|
+
*
|
|
35
|
+
* resize - Ensures that the textarea is not resizable
|
|
36
|
+
*/
|
|
37
|
+
.input-handler, .textarea-handler
|
|
38
|
+
width: 100%
|
|
39
|
+
padding: 10px
|
|
40
|
+
resize: none
|
|
41
|
+
border: 1px solid $color-custom-secondary
|
|
42
|
+
|
|
43
|
+
/** The input fields when in focus
|
|
44
|
+
*/
|
|
45
|
+
&:focus
|
|
46
|
+
outline: none
|
|
47
|
+
border-width: 2px
|
|
48
|
+
border-color: $color-custom-primary
|
|
49
|
+
|
|
50
|
+
/** The textarea is generally larger for messages
|
|
51
|
+
*/
|
|
52
|
+
.textarea-handler
|
|
53
|
+
height: 250px
|
|
54
|
+
|
|
55
|
+
/** The div that wraps the send button
|
|
56
|
+
*/
|
|
57
|
+
.submit-wrap
|
|
58
|
+
text-align: center
|
|
59
|
+
|
|
60
|
+
/** The send button for users to send the message to mail
|
|
61
|
+
*/
|
|
62
|
+
[type="submit"]
|
|
63
|
+
width: 33%
|
|
64
|
+
margin: 0
|
|
65
|
+
padding: 0
|
|
66
|
+
outline: none
|
|
67
|
+
font-size: 20px
|
|
68
|
+
background: $color-custom-secondary
|
|
69
|
+
color: white
|
|
70
|
+
|
|
71
|
+
/** The send button when the cursor hovers over it
|
|
72
|
+
*/
|
|
73
|
+
&:hover
|
|
74
|
+
background: $color-custom-primary
|
|
75
|
+
|
|
76
|
+
@media screen and (max-width: 768px)
|
|
77
|
+
#contact
|
|
78
|
+
|
|
79
|
+
/** Making sure there is a small gap on the left and right sides between the
|
|
80
|
+
* form and the screen
|
|
81
|
+
*/
|
|
82
|
+
#contact-form
|
|
83
|
+
width: 90%
|
|
84
|
+
text-align: center
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/** The most important thing about the footer is it is stuck to the bottom of
|
|
2
|
+
* the screen even when the content is less than the height of the screen
|
|
3
|
+
*
|
|
4
|
+
* position - Needed to make the footer stick to the bottom
|
|
5
|
+
* right, bottom, left - Set to 0 to not move the footer if the content is less
|
|
6
|
+
* z-index - Set to place the footer behind the mobile-header-extended-background
|
|
7
|
+
*/
|
|
8
|
+
#site-footer
|
|
9
|
+
position: absolute
|
|
10
|
+
right: 0
|
|
11
|
+
bottom: 0
|
|
12
|
+
left: 0
|
|
13
|
+
width: 100%
|
|
14
|
+
z-index: -1
|
|
15
|
+
|
|
16
|
+
/** As the name suggests, it separates the footer from the rest of the page
|
|
17
|
+
*
|
|
18
|
+
* margin - Set to auto to center the hr in the page
|
|
19
|
+
*/
|
|
20
|
+
#footer-demarcation
|
|
21
|
+
max-width: 1012px
|
|
22
|
+
width: 30%
|
|
23
|
+
margin: auto
|
|
24
|
+
border-top: 1px solid $color-light-grey
|
|
25
|
+
|
|
26
|
+
/** Holds the footer navigation and fine print
|
|
27
|
+
*/
|
|
28
|
+
#footer-nav-container
|
|
29
|
+
width: 50%
|
|
30
|
+
margin: 30px auto 10px auto
|
|
31
|
+
text-align: center
|
|
32
|
+
|
|
33
|
+
/** Holds the the footer navigation
|
|
34
|
+
*/
|
|
35
|
+
#footer-nav-menu-icons-container
|
|
36
|
+
width: 100%
|
|
37
|
+
height: 50px
|
|
38
|
+
|
|
39
|
+
/** The styles for the individual footer icon
|
|
40
|
+
*/
|
|
41
|
+
.footer-menu-icon
|
|
42
|
+
display: inline-block
|
|
43
|
+
width: 50px
|
|
44
|
+
height: 50px
|
|
45
|
+
margin: 0 5px 0 5px
|
|
46
|
+
fill: $color-custom-secondary
|
|
47
|
+
|
|
48
|
+
&:hover
|
|
49
|
+
fill: $color-dark-grey
|
|
50
|
+
|
|
51
|
+
/** Holds the fine print text
|
|
52
|
+
*/
|
|
53
|
+
#fine-print
|
|
54
|
+
margin-top: 30px
|
|
55
|
+
margin-bottom: 30px
|
|
56
|
+
|
|
57
|
+
/** The styles for the fine print test
|
|
58
|
+
*/
|
|
59
|
+
.fint-print-text
|
|
60
|
+
margin: auto
|
|
61
|
+
font-size: 14px
|
|
62
|
+
text-align: center
|
|
63
|
+
|
|
64
|
+
@media screen and (max-width: 768px)
|
|
65
|
+
#site-footer
|
|
66
|
+
|
|
67
|
+
/** Changing the length of the separator with respect to the screen for
|
|
68
|
+
* mobile devices
|
|
69
|
+
*/
|
|
70
|
+
#footer-demarcation
|
|
71
|
+
width: 90%
|
|
72
|
+
|
|
73
|
+
/** Changing the width of the footer's body
|
|
74
|
+
*/
|
|
75
|
+
#footer-nav-container
|
|
76
|
+
width: 90%
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/** Setting the main header background strip at the top
|
|
2
|
+
*
|
|
3
|
+
* position - This will fix the header at the top even while scrolling
|
|
4
|
+
*/
|
|
5
|
+
#site-header
|
|
6
|
+
position: fixed
|
|
7
|
+
width: 100%
|
|
8
|
+
height: 110px
|
|
9
|
+
background: $color-custom-secondary
|
|
10
|
+
|
|
11
|
+
/** The vegburger toggle box and the mobile expanded mode
|
|
12
|
+
* header background div are turned off for the moment
|
|
13
|
+
*/
|
|
14
|
+
#header-vegburger-toggle, #mobile-header-extended-background
|
|
15
|
+
display: none
|
|
16
|
+
|
|
17
|
+
/** The main navigation control container holds the logo
|
|
18
|
+
* and navigation icons
|
|
19
|
+
*
|
|
20
|
+
* max-width - The navgiation container won't expand beyond 1012px
|
|
21
|
+
* margin - Set to auto to center the container inside the header
|
|
22
|
+
*/
|
|
23
|
+
#header-nav-container
|
|
24
|
+
width: 85%
|
|
25
|
+
height: 100%
|
|
26
|
+
max-width: 1012px
|
|
27
|
+
margin: auto
|
|
28
|
+
|
|
29
|
+
/** Setting up the site's logo text
|
|
30
|
+
*
|
|
31
|
+
* margin - Removing the default margins set in the standard overrides
|
|
32
|
+
* line-height - Vertically aligns the text (by setting to height of the div)
|
|
33
|
+
*/
|
|
34
|
+
#logo-text
|
|
35
|
+
float: left
|
|
36
|
+
width: 320px
|
|
37
|
+
height: 100%
|
|
38
|
+
margin: auto
|
|
39
|
+
line-height: 110px
|
|
40
|
+
font-weight: 700
|
|
41
|
+
font-size: 3rem
|
|
42
|
+
|
|
43
|
+
/** Couldn't change the color of the text from the parent h1 tag for some
|
|
44
|
+
* reason
|
|
45
|
+
*/
|
|
46
|
+
a
|
|
47
|
+
color: $color-white
|
|
48
|
+
|
|
49
|
+
&:hover
|
|
50
|
+
a
|
|
51
|
+
color: $color-light-grey
|
|
52
|
+
|
|
53
|
+
/** The vegburger icon is turned off for the moment
|
|
54
|
+
*
|
|
55
|
+
* user-select - Stops highlighting the vegburger icon when selected
|
|
56
|
+
*/
|
|
57
|
+
#vegburger
|
|
58
|
+
display: none
|
|
59
|
+
user-select: none
|
|
60
|
+
|
|
61
|
+
/** Setting up the sub container which holds the navigation icons and menu
|
|
62
|
+
*/
|
|
63
|
+
#header-nav-menu-icons-container
|
|
64
|
+
float: right
|
|
65
|
+
width: 300px
|
|
66
|
+
height: 100%
|
|
67
|
+
|
|
68
|
+
/** Handling the individual menu items
|
|
69
|
+
*
|
|
70
|
+
* float - Not sure why this is required, without it the menu
|
|
71
|
+
* items overflow from the container
|
|
72
|
+
*/
|
|
73
|
+
.header-nav-menu-item
|
|
74
|
+
float: left
|
|
75
|
+
width: 75px
|
|
76
|
+
height: 110px
|
|
77
|
+
|
|
78
|
+
&:hover
|
|
79
|
+
/** Moves the menu icon up when the mouse hovers over the menu item
|
|
80
|
+
*/
|
|
81
|
+
.header-nav-menu-icon
|
|
82
|
+
position: relative
|
|
83
|
+
bottom: 10px
|
|
84
|
+
|
|
85
|
+
/** Displays the menu name when the mouse hovers over the menu item
|
|
86
|
+
*/
|
|
87
|
+
.header-nav-menu-text
|
|
88
|
+
display: block
|
|
89
|
+
|
|
90
|
+
/** Sets up the navigation icon
|
|
91
|
+
*
|
|
92
|
+
* margin - Set to auto to center the icon inside the div
|
|
93
|
+
* fill - Gives a color to the svg icon
|
|
94
|
+
*/
|
|
95
|
+
.header-nav-menu-icon
|
|
96
|
+
width: 60%
|
|
97
|
+
height: 100%
|
|
98
|
+
margin: auto
|
|
99
|
+
fill: $color-white
|
|
100
|
+
|
|
101
|
+
/** Sets up the menu name text
|
|
102
|
+
*
|
|
103
|
+
* position - Set to relative to move the text inside the menu-icon
|
|
104
|
+
* display - Sets the text to none until mouse hover
|
|
105
|
+
* bottom - Offset required to move the text so that it overlaps
|
|
106
|
+
* with the menu icon
|
|
107
|
+
*/
|
|
108
|
+
.header-nav-menu-text
|
|
109
|
+
display: none
|
|
110
|
+
position: relative
|
|
111
|
+
bottom: 33px
|
|
112
|
+
width: 100%
|
|
113
|
+
height: 30%
|
|
114
|
+
margin: 0px
|
|
115
|
+
text-align: center
|
|
116
|
+
font-size: 14px
|
|
117
|
+
color: $color-white
|
|
118
|
+
/**
|
|
119
|
+
* Since the header is positioned to be fixed, the content in the page
|
|
120
|
+
* can slip behind the header at the top as one scrolls down.
|
|
121
|
+
* So, a header-spacer is required to make the content
|
|
122
|
+
* appear after the header at the top.
|
|
123
|
+
*/
|
|
124
|
+
.header-spacer
|
|
125
|
+
height: 110px
|
|
126
|
+
|
|
127
|
+
@media screen and (max-width: 768px)
|
|
128
|
+
/** Changing the header size
|
|
129
|
+
*/
|
|
130
|
+
#site-header
|
|
131
|
+
height: 80px
|
|
132
|
+
|
|
133
|
+
/** When the vegburger icon is pressed, it sets the toggle (checkbox)
|
|
134
|
+
* input to checked. This triggers the nav bar to go into the expanded
|
|
135
|
+
* mode in mobile devices
|
|
136
|
+
*
|
|
137
|
+
* display - The flat black background is made visible
|
|
138
|
+
* position - Fixed so that it moves with the header until it is closed
|
|
139
|
+
* height & width - vh and vw allows for the background to be set to
|
|
140
|
+
* the height and width of the viewport
|
|
141
|
+
* z-index - Puts the background behind the logo and vegburger icon in DOM
|
|
142
|
+
* stack
|
|
143
|
+
*/
|
|
144
|
+
#header-vegburger-toggle:checked + #mobile-header-extended-background
|
|
145
|
+
display: block
|
|
146
|
+
position: fixed
|
|
147
|
+
z-index: 1
|
|
148
|
+
width: 100%
|
|
149
|
+
height: 100%
|
|
150
|
+
width: 100vw
|
|
151
|
+
height: 100vh
|
|
152
|
+
background-color: $color-custom-secondary
|
|
153
|
+
|
|
154
|
+
/** On toggle behind checked, the menu icons and text need to be
|
|
155
|
+
* shown in mobile devices.
|
|
156
|
+
*/
|
|
157
|
+
#header-vegburger-toggle:checked + #mobile-header-extended-background + #header-nav-container
|
|
158
|
+
/** Resetting the height to make the container ready to hold
|
|
159
|
+
* header-nav-menu-icons-container
|
|
160
|
+
*/
|
|
161
|
+
height: 500px
|
|
162
|
+
position: relative
|
|
163
|
+
z-index: 1
|
|
164
|
+
|
|
165
|
+
/** Resets the height of the logo text
|
|
166
|
+
*/
|
|
167
|
+
#logo-text
|
|
168
|
+
height: 80px
|
|
169
|
+
|
|
170
|
+
/** The navigation icons can now be showed
|
|
171
|
+
*/
|
|
172
|
+
#header-nav-menu-icons-container
|
|
173
|
+
display: block
|
|
174
|
+
width: 100%
|
|
175
|
+
height: 300px
|
|
176
|
+
|
|
177
|
+
/** The menu items now need to appear like in a list
|
|
178
|
+
* under the main header
|
|
179
|
+
*
|
|
180
|
+
* border-top: Demarcation between the menu items
|
|
181
|
+
*/
|
|
182
|
+
.header-nav-menu-item
|
|
183
|
+
display: block
|
|
184
|
+
width: 100%
|
|
185
|
+
height: 50px
|
|
186
|
+
margin: 10px 0px 10px 0px
|
|
187
|
+
border-top: 1px solid $color-secondary
|
|
188
|
+
|
|
189
|
+
/** Sets the menu icon
|
|
190
|
+
*/
|
|
191
|
+
.header-nav-menu-icon
|
|
192
|
+
position: static
|
|
193
|
+
float: left
|
|
194
|
+
width: 35px
|
|
195
|
+
height: 100%
|
|
196
|
+
|
|
197
|
+
/** Sets the menu text
|
|
198
|
+
*/
|
|
199
|
+
.header-nav-menu-text
|
|
200
|
+
display: block
|
|
201
|
+
position: static
|
|
202
|
+
float: right
|
|
203
|
+
width: 80%
|
|
204
|
+
height: 100%
|
|
205
|
+
text-align: left
|
|
206
|
+
font-size: 20px
|
|
207
|
+
line-height: 50px
|
|
208
|
+
|
|
209
|
+
/** Sets up the initial look for the header-nav-container
|
|
210
|
+
*/
|
|
211
|
+
#header-nav-container
|
|
212
|
+
#logo-text
|
|
213
|
+
width: 200px
|
|
214
|
+
font-size: 2rem
|
|
215
|
+
line-height: 80px
|
|
216
|
+
|
|
217
|
+
/** Setting up the vegburger icon
|
|
218
|
+
*
|
|
219
|
+
* cursor - Turns the cursor to a pointer while hovering over the icon
|
|
220
|
+
*/
|
|
221
|
+
#vegburger
|
|
222
|
+
display: block
|
|
223
|
+
float: right
|
|
224
|
+
width: 30px
|
|
225
|
+
height: 80px
|
|
226
|
+
margin: 0px
|
|
227
|
+
line-height: 80px
|
|
228
|
+
text-align: center
|
|
229
|
+
font-size: 2.5rem
|
|
230
|
+
color: $color-white
|
|
231
|
+
cursor: pointer
|
|
232
|
+
|
|
233
|
+
/** Icons are not displayed until the vegburger is selected
|
|
234
|
+
*/
|
|
235
|
+
#header-nav-menu-icons-container
|
|
236
|
+
display: none
|
|
237
|
+
|
|
238
|
+
/** Resetting the header-spacer height to match new header's height
|
|
239
|
+
*/
|
|
240
|
+
.header-spacer
|
|
241
|
+
height: 80px
|