diff --git a/index.html b/index.html new file mode 100644 index 0000000..ab9d84d --- /dev/null +++ b/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + HTML first assignment + + + +
+
+ + + + + + ABOUT US + BLOGS + HOME +
+ +

BE CREATIVE!

+ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod + empor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo

+ +
+ + + +
+ +
+ +

OUR SERVICES

+
+
+

TITLE HERE

+

Lorem ipsum dolor sit amet, + consectetur adipiscing elit, + sed do eiusmod tempor + incididunt ut + labore et dolore magna aliqua. + Ut enim ad minim veniam

+ +
+
+

TITLE HERE

+

Lorem ipsum dolor sit amet, + consectetur adipiscing elit, + sed do eiusmod tempor + incididunt ut + labore et dolore magna aliqua. + Ut enim ad minim veniam

+ + +
+
+

TITLE HERE

+

Lorem ipsum dolor sit amet, + consectetur adipiscing elit, + sed do eiusmod tempor + incididunt ut + labore et dolore magna aliqua. + Ut enim ad minim veniam

+ +
+
+ + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..d748b88 --- /dev/null +++ b/style.css @@ -0,0 +1,189 @@ +@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap"); + +body { + margin: 0; + font-family: "Montserrat", sans-serif; +} + +.topnav { + overflow: hidden; + background-color: hsl(0, 0%, 20%, 0.5); + position: sticky; +} +.logo { + float: left; +} +.topnav a { + float: right; + display: block; + color: #f2f2f2; + text-align: end; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* .topnav .icon { + display: none; +} */ + +.hero { + width: 100%; + height: 550px; + + background-image: url("table1.png"); + background-color: rgb(6, 5, 5); + background-repeat: no-repeat; + background-attachment: fixed; + background-size: cover; +} + +h1 { + text-align: center; + margin-top: 50px; + font-weight: 900; + font-size: 60px; + color: white; +} +h2 { + text-align: center; + margin-top: 50px; + font-weight: 900; + font-size: 60px; +} +.row { + display: flex; + justify-content: space-around; +} +.col { + width: 30%; + height: auto; + border: 2px solid rgb(27, 26, 26); + text-align: center; +} +h3 { + text-align: center; +} +p { + padding: 10px; + text-align: center; +} +button { + margin-bottom: 40px; + border: 2px solid #121212; +} +.button:hover { + background-color: #121212; + color: white; + cursor: pointer; +} +.btn-div { + text-align: center; +} +.btn-hero { + width: 150px; + border: 2px solid white; + background-color: transparent; + color: white; + padding: 5px; +} +.btn-hero:hover { + cursor: pointer; + background-color: white; + color: #121212; +} +.hero-text { + color: white; + margin-inline: 20%; + line-height: 2rem; + letter-spacing: 1px; +} +.footer { + display: flex; + justify-content: space-between; + padding-inline: 40px; + margin-top: 200px; + height: 50px; + background-color: rgba(0, 0, 0, 0.85); + color: white; + align-items: center; +} +.social-icon { +} +@media screen and (max-width: 600px) { + .topnav a:not(:first-child) { + display: none; + } + .topnav a.icon { + display: inline; + background-color: transparent; + } +} + +@media screen and (max-width: 600px) { + .topnav.responsive { + position: relative; + } + .topnav.responsive .icon { + position: sticky; + right: 40%; + top: 0; + color: #ddd; + } + .topnav.responsive a { + float: none; + display: block; + text-align: right; + } + h1 { + font-size: 30px; + } + h2 { + text-align: center; + margin-top: 50px; + font-weight: 600; + font-size: 30px; + } + .hero-text { + color: white; + margin-inline: 5%; + line-height: 1.5rem; + } + .row { + display: flex; + flex-direction: column; + } + .col { + width: 80%; + height: auto; + margin: auto; + margin-bottom: 40px; + border: 2px solid rgb(27, 26, 26); + text-align: center; + } + .footer { + display: block; + padding-block: 20px; + } + .social-icons { + display: flex; + justify-content: space-evenly; + } + .copyright { + text-align: center; + margin-top: 10px; + } + .btn-hero { + width: 200px; + border: 2px solid white; + background-color: transparent; + color: white; + padding: 5px; + cursor: pointer; + } +} diff --git a/table.jpg b/table.jpg new file mode 100644 index 0000000..6180365 Binary files /dev/null and b/table.jpg differ diff --git a/table1.png b/table1.png new file mode 100644 index 0000000..5c1131f Binary files /dev/null and b/table1.png differ