diff --git a/week-06/css/styles.css b/week-06/css/styles.css new file mode 100644 index 0000000..9d75287 --- /dev/null +++ b/week-06/css/styles.css @@ -0,0 +1,236 @@ +/* main body */ +body { + font-family: 'Raleway', sans-serif; +} + +/* unordered list */ +ul { + padding-left: 0; +} + +/* header 1 & 2 */ +h1, h2 { + font-family: 'Cinzel Decorative', cursive; +} + +/* link */ +a { + color: whitesmoke; + text-decoration: none; + padding: 10px 15px; +} + +/* Nav Bar */ +nav { + padding: 0; +} + +.banner { + margin: 0 0 30px; +} + +/* base class details */ +.home_article { + margin: 5px; + background-color: LightGray; + padding: 10px; +} + +.koos { + font-size: 24px; + font-weight: bold; +} + +/* flex container */ +.navContainer { + /*border-radius: 10px;*/ + background: rgb(46, 44, 47); + background: linear-gradient(0deg, rgba(46, 44, 47, 1) 0%, rgba(110, 121, 122, 1) 50%, rgba(46, 44, 47, 1) 100%); + /*box-shadow: 0 -5px 3px -3px black, 0 5px 3px -3px black;*/ + display: flex; + justify-content: flex-start; + align-items: center; + font-family: "Raleway", sans-serif; +} + +/* prime header */ +.prime { + font-family: 'Cabin Sketch', cursive; +} + +/* flex item */ +.navItem { + background: rgb(46, 44, 47); + background: linear-gradient(0deg, rgba(46, 44, 47, 1) 0%, rgba(110, 121, 122, 1) 50%, rgba(46, 44, 47, 1) 100%); + display: flex; + flex-grow: inherit; +} + +/* hover style */ +.navItem:hover { + background: rgb(34, 34, 34); + background: linear-gradient(0deg, rgba(34, 34, 34, 1) 0%, rgba(84, 84, 84, 1) 50%, rgba(34, 34, 34, 1) 100%); + box-shadow: inset 0 0 10px #000000; +} + +/* active style */ +.active { + background: rgb(34, 34, 34); + background: linear-gradient(0deg, rgba(34, 34, 34, 1) 0%, rgba(84, 84, 84, 1) 50%, rgba(34, 34, 34, 1) 100%); + box-shadow: inset 0 0 10px #000000; +} + +/* change font style */ +.kyk { + font-style: italic; +} + +.center { + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Mobile devices */ +@media screen and (max-width: 480px) { + body { + background-color: red; + } + + /* flex container */ + .navContainer { + height: 40px; + font-size: 0.9rem; + } + + h1 { + font-size: medium; + } + + .banner { + margin: 0 0 10px; + } +} + +/* iPads, Tablets. */ +@media screen and (min-width: 481px) { + body { + background-color: orange; + } + + /* add radius to article style */ + .home_article { + border-radius: 14px; + } + + /* flex container */ + .navContainer { + height: 40px; + font-size: 1rem; + } + + /* flex item */ + .navItem { + height: 40px; + } + + .banner { + margin: 0 0 15px; + } +} + +/* Small screens, laptops */ +@media screen and (min-width: 769px) { + body { + background-color: #589ddb; + } + + /* increase the font size of class piet */ + .piet { + font-size: 20px; + } + + .navContainer { + height: 50px; + font-size: 1.4rem; + } + + /* flex item */ + .navItem { + height: 50px; + } + + .banner { + margin: 0 0 20px; + } +} + +/* Desktops, large screens. */ +@media screen and (min-width: 1025px) { + + h1 { + font-size: 60px; + } + + body { + background-color: green; + } + + main { + display: table; + } + + #left { + float: left; + width: 47%; + } + + #right { + float: right; + width: 47%; + } + + .piet { + font-size: 28px; + text-shadow: 1px 2px 2px; + } + + /* change font style */ + .kyk { + text-shadow: 0 0; + } + + /* flex container */ + .navContainer { + height: 50px; + font-size: 1.6rem; + } + + /* flex item */ + .navItem { + height: 50px; + } +} + +/* Extra large screens, TV. */ +@media screen and (min-width: 1201px) { + + h1 { + font-size: 72px; + } + + body { + background-color: white; + } + + /* flex container */ + .navContainer { + height: 60px; + font-size: 2rem; + } + + /* flex item */ + .navItem { + height: 60px; + } +} diff --git a/week-06/html/about.html b/week-06/html/about.html new file mode 100644 index 0000000..5be1580 --- /dev/null +++ b/week-06/html/about.html @@ -0,0 +1,73 @@ + + + + + + + + About + + + + + + + + + + + + + + +
+

About

+ + +
+ + +
+ + +
+ +

First Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ +

Second Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ + + + + diff --git a/week-06/html/contact.html b/week-06/html/contact.html new file mode 100644 index 0000000..e74d3b5 --- /dev/null +++ b/week-06/html/contact.html @@ -0,0 +1,73 @@ + + + + + + + + Contact + + + + + + + + + + + + + + +
+

Contact

+ + +
+ + +
+ + +
+ +

First Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ +

Second Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ + + + + diff --git a/week-06/html/examples.html b/week-06/html/examples.html new file mode 100644 index 0000000..c06b67c --- /dev/null +++ b/week-06/html/examples.html @@ -0,0 +1,73 @@ + + + + + + + + Examples + + + + + + + + + + + + + + +
+

Examples

+ + +
+ + +
+ + +
+ +

First Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ +

Second Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ + + + + diff --git a/week-06/html/index.html b/week-06/html/index.html new file mode 100644 index 0000000..fe12fa0 --- /dev/null +++ b/week-06/html/index.html @@ -0,0 +1,85 @@ + + + + + + + + Llewellyn van der Merwe: Week 6 + + + + + + + + + + + + + + +
+

Llewellyn van der Merwe

+ + +
+ + +
+ + +
+ +
+ +

First Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam + pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+ +

Second Header

+ +

Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida + magna vehicula quam pulvinar varius. + Vestibulum venenatis quam enim, a eleifend tortor blandit non.

+
+
+
+ + + + + diff --git a/week-06/images/image1.jpg b/week-06/images/image1.jpg new file mode 100644 index 0000000..b1b7ed5 Binary files /dev/null and b/week-06/images/image1.jpg differ diff --git a/week-06/images/image2.jpg b/week-06/images/image2.jpg new file mode 100644 index 0000000..3fe1b2f Binary files /dev/null and b/week-06/images/image2.jpg differ diff --git a/week-06/images/image3.jpg b/week-06/images/image3.jpg new file mode 100644 index 0000000..b6724d3 Binary files /dev/null and b/week-06/images/image3.jpg differ