Home Color
+Lorem ipsum dolor sit amet, consectetur adipisicing elit.?
+ Read More +diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6f3a2913 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 75e9841e..4c156a2a 100644 --- a/css/style.css +++ b/css/style.css @@ -6,3 +6,104 @@ * for example: General styles, Navigation styles, Hero styles, Footer etc. * */ + * { + padding: 0; + margin: 0; + box-sizing: border-box; +} +header{ + width: 100%; + +} +nav{ + width: 100%; + background-color: rgba(0,0,0,0,0.5); + display: flex; + justify-content: space-between; + align-items: center; + margin: 10px; +} +nav .logo{ + width: 25%; + + font-size: 22px; + font-weight: bold; + padding: 40px; +} +nav .menu{ + width: 40%; + font-weight: bold; + display: flex; +} + +nav .menu a{ + width: 25%; + color: black; + font-size: 22px; + text-decoration: none; +} + +nav .menu a:hover { + color: blue; +} + + +section:nth-child(1){ + color: #fff; + margin: 5px; + padding: 6rem 2rem; + text-align: center; + font-weight: bold; + background-image: url(/home\ decor.jpeg); + background-repeat: no-repeat; + background-size: cover; +} +section h1{ + font-size: 50px; + margin-top: 5px; + text-shadow: 3px 1px black; +} +section h3{ + font-size: 20px; + margin-top: 5px; + text-shadow: 3px 1px black; +} + +.second-section { + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +article { + display: flex; + flex-direction: column; + margin: 5px; + border: 1px solid black; + border-radius: 5px; + padding: 2rem 1rem; +} + +article:first-child { + background-color: yellow; +} + +.article-summery { + font-size: 20px; +} + +span { + cursor: pointer; + color: blue; + margin-top: 5px; +} + +span:hover { + text-decoration: underline; +} + +footer { + margin-top: 50px; + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/home decor.jpeg b/home decor.jpeg new file mode 100644 index 00000000..8eb1bf2c Binary files /dev/null and b/home decor.jpeg differ diff --git a/index.html b/index.html index 67dfc7f5..68fd6952 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,44 @@
- - +Lorem ipsum dolor sit amet, consectetur adipisicing elit.?
+ Read More +Lorem ipsum dolor sit amet, consectetur adipisicing elit.?
+ Read More +Lorem ipsum dolor sit amet, consectetur adipisicing elit.?
+ Read More +