diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..4406a13 --- /dev/null +++ b/css/style.css @@ -0,0 +1,295 @@ +@font-face { + font-family: headersFont; + src: url(fonts/ARCADE.TTF); +} + +h1 { + font-family: headersFont; + font-size: 100px; + color: yellow; + display: flex; + align-items: center; + justify-content: center; +} + +html { + background-color: cornflowerblue; +} + +#char-container { + position: absolute; + top: 300px; + left: 400px; +} + +#char-head { + width: 400px; + height: 300px; + background-color: #ffc993; + border-radius: 50px 50px; + z-index: 1; +} + +#char-ear-left { + position: absolute; + top: 124px; + left: -22px; + width: 42px; + height: 66px; + border-color: #ffc993; + border-radius: 33px / 42px; + background-color: #ffc993; + z-index: 0; +} + +#char-ear-right { + position: absolute; + top: 124px; + left: 380px; + width: 42px; + height: 66px; + border-color: #ffc993; + border-radius: 33px / 42px; + background-color: #ffc993; + z-index: 0; +} + +#char-hair { + width: 400px; + height: 90px; + background-color: #000000; + border-radius: 45px 45px; +} + +#char-eyebrown-left { + position: absolute; + top: 150px; + left: 90px; + border-style: solid; + border-width: 20px 0 0 50px; + border-color: transparent transparent transparent #ca815e; +} + +#char-eyebrown-right { + position: absolute; + top: 150px; + left: 270px; + border-style: solid; + border-width: 0 0 20px 50px; + border-color: transparent transparent #ca815e transparent; +} + +#char-eye-left { + position: absolute; + top: 176px; + left: 108px; + width: 36px; + height: 36px; + border-radius: 50%; + background-color: #000000; +} + +#char-pupil-left { + position: absolute; + top: 8px; + left: 8px; + width: 20px; + height: 20px; + border-radius: 50%; + background-color: #ffffff; +} + +#char-eye-right { + position: absolute; + top: 176px; + left: 264px; + width: 36px; + height: 36px; + border-radius: 50%; + background-color: #000000; +} + +#char-pupil-right { + position: absolute; + top: 8px; + left: 8px; + width: 20px; + height: 20px; + border-radius: 50%; + background-color: #ffffff; +} + +#char-mouth { + position: absolute; + top: 228px; + left: 164px; + width: 80px; + height: 30px; + border-radius: 0 0 80px 80px; + background-color: #000000; +} + +#char-tooth-left { + position: absolute; + top: 0px; + left: 24px; + width: 12px; + height: 14px; + background-color: #ffffff; +} + +#char-tooth-right { + position: absolute; + top: 0px; + left: 44px; + width: 12px; + height: 14px; + background-color: #ffffff; +} + +#char-main-body { + position: absolute; + width: 400px; + height: 400px; +} + +#char-body { + position: absolute; + top: 0px; + left: 110px; + width: 180px; + height: 200px; + border-radius: 20px; + background-color: #632e90; +} + +#char-arm-left { + position: absolute; + top: 40px; + left: 70px; + width: 50px; + height: 124px; + border-radius: 53px 53px; + background-color: #632e90; + transform: rotate(310deg); + z-index: 1; +} + +#char-arm-right { + position: absolute; + top: 40px; + left: 280px; + width: 50px; + height: 124px; + border-radius: 53px 53px; + background-color: #632e90; + transform: rotate(50deg); +} + +#char-forearm-left { + position: absolute; + top: -40px; + width: 50px; + height: 90px; + border-radius: 53px 53px; + background-color: #ffc993; +} + +#char-forearm-right { + position: absolute; + top: -40px; + width: 50px; + height: 90px; + border-radius: 53px 53px; + background-color: #ffc993; +} + +#char-lower { + position: absolute; +} + +#char-pants-middle { + position: absolute; + width: 170px; + height: 48px; + top: 200px; + left: 115px; + border-radius: 10px 10px; + background-color: #e31e5e; +} + +#char-pants-left { + position: absolute; + top: 200px; + left: 114px; + width: 70px; + height: 100px; + border-radius: 10px 10px; + background-color: #e31e5e; +} + +#char-pants-right { + position: absolute; + top: 200px; + left: 220px; + width: 70px; + height: 100px; + border-radius: 10px 10px; + background-color: #e31e5e; +} + +#char-leg-left { + position: absolute; + top: 100px; + left: 13px; + width: 44px; + height: 40px; + background-color: #ffc993; +} + +#char-leg-right { + position: absolute; + top: 100px; + left: 13px; + width: 44px; + height: 40px; + background-color: #ffc993; +} + +#char-sock-left { + position: absolute; + top: 140px; + left: 13px; + width: 44px; + height: 20px; + background-color: #0072bb; +} + +#char-sock-right { + position: absolute; + top: 140px; + left: 13px; + width: 44px; + height: 20px; + background-color: #0072bb; +} + +#char-shoe-left { + position: absolute; + top: 160px; + left: -27px; + width: 84px; + height: 34px; + border-radius: 25px 0 0 0; + background-color: #8e8e8e; +} + +#char-shoe-right { + position: absolute; + top: 160px; + left: 13px; + width: 84px; + height: 34px; + border-radius: 0 25px 0 0; + background-color: #8e8e8e; +} diff --git a/fonts/ARCADE.TTF b/fonts/ARCADE.TTF new file mode 100644 index 0000000..7c169d4 Binary files /dev/null and b/fonts/ARCADE.TTF differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..f558ab1 --- /dev/null +++ b/index.html @@ -0,0 +1,61 @@ + + + + + + + The HTML5 Herald + + + + + + + + +

PLAY && LEARN

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/js/script.js b/js/script.js new file mode 100644 index 0000000..e69de29