diff --git a/html-ideas/css/style.css b/html-ideas/css/style.css new file mode 100644 index 0000000000000000000000000000000000000000..fa21137093b3043fc84e8022ecf0dcaad7142386 --- /dev/null +++ b/html-ideas/css/style.css @@ -0,0 +1,136 @@ +* { + box-sizing: border-box; + padding: 0; + margin: 0; +} +.center { + text-align: center; +} +body { + background-color: rgb(83, 27, 27); + margin: 2%; +} +header { + background-color: blueviolet; + .header1 { + text-align: center; + padding: 10px; + margin: 0; + } + .ulHeader { + display: flex; + list-style: none; + justify-content: center; + padding: 0px; + + .liHeader { + flex: 1 1 0px; + padding-left: 10px; + padding-right: 10px; + background-color: white; + border: outset black 2px; + text-align: center; + } + .liHeader:hover { + background-color: rgb(66, 66, 66); + color: white; + border: inset black 2px; + } + } + +} + +.mainBlock { + display: flex; + min-width: 200px; + flex-wrap: wrap; + margin-top: 20px; + margin-bottom: 100px; +} +.mainBlock .trailStats{ + background-color: rgb(253, 153, 173); + flex: 0 0 0px; + min-width: 350px; + min-height: 350px; + margin: auto; + margin-bottom: 10px; + box-shadow: 0px 0px 20px rgb(20, 20, 20); + border-radius: 30px; + .stats { + display: block; + width: 200px; + margin: auto; + } + .textStats { + display: block; + text-align: left; + margin: 20px; + } +} +.mainBlock .trailInfo{ + background-color: rgb(253, 153, 173); + flex: 0 0 0px; + min-width: 350px; + min-height: 350px; + margin: auto; + margin-bottom: 10px; + box-shadow: 0px 0px 20px rgb(20, 20, 20); + border-radius: 30px; + .trailInfoTxt { + margin: 15px; + } +} +.titleH1 { + padding: 0px; + margin: 10px 30px 20px 30px; + text-align: center; + font-size: 40px; + font-style: italic; + border-bottom: solid black 1px; +} +.mainBlock p { + font-size: 25px; + text-align: left; + padding: 1px; +} +main .badgesBlock{ + bottom: 0%; + background-color: rgb(253, 227, 232); + flex: 0 0 0px; + min-width: 500px; + min-height: 100px; + margin: auto; + margin-bottom: 10px; + box-shadow: 0px 0px 20px rgb(20, 20, 20); + border-radius: 30px; +} +.badgeImg { + width: 60px; + margin: 10px; +} + +footer { + bottom: 0%; + left: 0%; + position: fixed; + width: 100%; + min-width: 300px; +} +footer .footerBar { + display: flex; + list-style: none; + padding: 0; + margin: 0; + +} +footer .footerButton { + padding: 20px; + text-align: center; + flex: 1 1 0px; + color:crimson; + background-color: white; + +} +footer .footerButton:hover { + background-color: black; +} \ No newline at end of file diff --git a/html-ideas/home.html b/html-ideas/home.html new file mode 100644 index 0000000000000000000000000000000000000000..7c4f6cee604ad30653ceba5a76b85ab593c69dbd --- /dev/null +++ b/html-ideas/home.html @@ -0,0 +1,69 @@ +<!DOCTYPE html> +<html> + +<head> + <title>Website Web</title> + <link rel="stylesheet" href="./css/style.css"> +</head> + +<body> + <header> + <h1 class="header1">SMART-CITIES</h1> + </header> + + <main> + <div class="trailList"> + <ul class="ulHeader"> + <li class="liHeader">Trail 1</li> + <li class="selected">Trail 2</li> + <li class="liHeader">Trail 3</li> + <li class="liHeader">Trail 4</li> + </ul> + </div> + <section class="mainBlock"> + <article class="trailStats"> + <h1 class="titleH1">Trail Stats</h1> + <img src="images/stats.png" alt="Stats" class="stats"> + <div class="textStats"> + <p><b>Explored:</b> 60%</p> + <p><b>Landmarks Visited:</b> 3/5</p> + <p><b>Shops Visited:</b> 6/10</p> + </div> + </article> + <article class="trailInfo"> + <h1 class="titleH1">Trail Info</h1> + <p class="trailInfoTxt">Lorem ipsum dolor sit amet, + consectetur adipiscing elit, + sed do eiusmod tempor incididunt ut labore et + dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi + ut aliquip ex ea commodo consequat. + Duis aute irure dolor in reprehenderit in + voluptate velit esse cillum dolore eu fugiat + nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> + </article> + <article class="badgesBlock"> + <h1 class="titleH1">Badges</h1> + <div class="badgesList"> + <img src="images/badges.png" alt="Badge" class="badgeImg"> + <img src="images/badges.png" alt="Badge" class="badgeImg"> + <img src="images/badges.png" alt="Badge" class="badgeImg"> + <img src="images/badges.png" alt="Badge" class="badgeImg"> + <img src="images/badges.png" alt="Badge" class="badgeImg"> + </div> + + </article> + </section> + </main> + + <footer> + <ul class="footerBar"> + <li class="footerButton">Home</li> + <li class="footerButton">About</li> + <li class="footerButton">Map</li> + <li class="footerButton">Facilities</li> + <li class="footerButton">Search</li> + </ul> + </footer> +</body> +</html> \ No newline at end of file diff --git a/html-ideas/images/badges.png b/html-ideas/images/badges.png new file mode 100644 index 0000000000000000000000000000000000000000..57e379c719f5fe28ba827d7007be9637cfd9ff73 Binary files /dev/null and b/html-ideas/images/badges.png differ diff --git a/html-ideas/images/stats.png b/html-ideas/images/stats.png new file mode 100644 index 0000000000000000000000000000000000000000..39904f1cfc911df01306fb85ab78b015e7d0386c Binary files /dev/null and b/html-ideas/images/stats.png differ