From f17d3fada56e663a704809d8667114ed2cebd314 Mon Sep 17 00:00:00 2001 From: OkunElya Date: Fri, 17 Oct 2025 11:04:36 +1000 Subject: [PATCH] fixing menu --- index.css | 74 ++++++++++++++++++++++++++++++++++++++++++++++-------- index.html | 29 ++++++++++++++++++++- 2 files changed, 92 insertions(+), 11 deletions(-) diff --git a/index.css b/index.css index 1fdbf8d..354bb3d 100644 --- a/index.css +++ b/index.css @@ -9,7 +9,7 @@ display: inline-block; width: 8%; height: 3em; - line-height: 3em; + line-height: 3em; /* to align to center */ text-align: center; vertical-align: middle; margin: 0 1%; @@ -34,32 +34,35 @@ color: black; } + +/* 4 images part */ .images-container { width: 90%; + height: 140pt; margin: auto; overflow: hidden; } .half-size { - width: 43%; - height: 140pt; + width: 49%; float: left; text-align: center; - line-height: 140pt; - margin: 1%; + /* line-height: 140pt; */ + margin: 0.5%; } .quarter-size { - width: 21%; - height: 140pt; + width: 24%; + /* height: 140pt; */ float: left; text-align: center; - line-height: 140pt; - margin: 1%; + /* line-height: 140pt; */ + margin: 0.5%; } .image-column-container { width: 24%; + margin:0.5%; height: 140pt; float: left; } @@ -74,5 +77,56 @@ } .images-container img{ - width: 38vmax; + width:100% +} + +/* main block part */ + +.main-block{ + width:80%; + margin: auto; +} + +.info-block{ + width:30%; + height:40%; +} + +.bg-aqua{ + background: aqua; +} + +.info-block-header{ + display: block; + margin:auto; + width:min-content; + font-size: 1.5em; + font-weight: bold; +} + +.info-block-text{ + text-align: justify; + /* font-size: 0.7em; not sure */ +} +.info-block-image{ + margin: auto; + width:25%; + height:10%; + overflow: hidden; +} +.info-block-image >img{ + width: 100%; +} + +.rounded{ + border-radius: 5%; + overflow: hidden; +} + +.info-block-button{ + float: right; + margin-right: 10%; + color:white; + background-color: blue; + border-radius: 5px; } \ No newline at end of file diff --git a/index.html b/index.html index 0e32704..5e5b6db 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ - +
Arduino @@ -52,6 +52,33 @@
+
+
+
+ ASdasdasd + + Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text + Text Text Text Text Text + +
+ ESP32 +
+ +
+ +
+ +
+ + +
+ + +
+ + +
+