+ From 16e73fd4b59457a120a484587884ddb91a6ded0f Mon Sep 17 00:00:00 2001 From: Shadi <89422699+shadiwin@users.noreply.github.com> Date: Fri, 19 Nov 2021 09:15:32 +0000 Subject: [PATCH 1/2] Final changes --- css/style.css | 149 ++++++++++++++++++++++++++++++++++++++++++++++++-- index.html | 111 ++++++++++++++++++++++++++++++++----- 2 files changed, 242 insertions(+), 18 deletions(-) diff --git a/css/style.css b/css/style.css index 5cb025cef..87c25d5ca 100755 --- a/css/style.css +++ b/css/style.css @@ -1,9 +1,8 @@ - - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ body { - font-family: 'Roboto', sans-serif; - -webkit-font-smoothing: antialiased; + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; } /** @@ -15,5 +14,147 @@ body { * * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' */ +.topnav { + background-color: rgb(255, 255, 255); + overflow: hidden; + margin-right: 60px; +} + +/* nav bar */ +.topnav a { + float: right; + color: #5a5a5a; + text-align: center; + padding: 1vw 2vw; + text-decoration: none; + font-size: 2vw; + background-color: white; + margin-top: 2vw; +} + +/* the color of links on hover */ +.topnav a:hover { + color: orangered; +} + +/* Adding bold font to the active/current link */ +.topnav a.active { + font-weight: bold; +} +.logo { + margin-left: 4vw; + margin-top: 2vw; + height: 3vw; + width: 2vw; +} +/* styling background image & texts on the image */ + +.big-image { + width: 97%; + margin: 0; +} + +.container { + position: relative; + text-align: center; +} +h1 { + font-family: "Roboto", sans-serif; + font-weight: 50; + font-size: 6vw; + font-stretch: condensed; +} +h5 { + font-family: "Roboto", sans-serif; + font-weight: 50; + font-size: 2.5vw; + font-stretch: condensed; + width: 100%; +} +.text-container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + color: white; + text-align: center; +} +.button1 { + background-color: orangered; + border: 2vw solid orangered; + border-radius: 3%; + width: 30%; + font-size: 1.5vw; +} + +.article-summary { + text-align: center; +} + +#title-main { + color: rgb(70, 69, 69); + text-align: center; + margin-top: 10vw; +} +.icon { + width: 15vw; + height: 15vw; +} +#thumbnail:hover { + position: relative; + top: -2vw; + left: -2vw; + width: 25vw; + height: auto; + display: block; +} +.sub-title { + margin-top: 3vw; + display: block; + font-size: 2vw; + color: rgb(70, 69, 69); +} +#item { + vertical-align: top; + display: inline-block; + text-align: center; + width: 30vw; +} +/* styling the footer */ +.footer { + bottom: 0; + margin-top: 10vw; +} +.social { + max-height: 2vw; + width: 2vw; + padding: 0.2vw; + border-radius: 5vw; + border: solid #dddddd 0.1vw; + margin: 2vw; +} +.social_icon { + max-height: 2vw; + width: auto; +} +p { + text-align: center; + margin-top: 3vw; +} +hr { + width: 80%; + height: 2px; + border-width: 0; + color: rgb(196, 196, 196); + background-color: rgb(196, 196, 196); +} +footer { + display: flex; + justify-content: center; +} +.footer-text { + margin-top: 1vw; + color: rgb(196, 196, 196); +} diff --git a/index.html b/index.html index 3e742ef04..b7d252224 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,102 @@ -
- - + + +
+