

From 7868ec717588e03fb8003f13958f7b3356879452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAndolin=E2=80=9D?= <“andolini.y@gmail.com”> Date: Tue, 2 Sep 2025 23:58:15 +0200 Subject: [PATCH] I have changed the page --- images/menu.png | Bin 0 -> 4534 bytes index.html | 5 ++- styles/style.css | 104 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 images/menu.png diff --git a/images/menu.png b/images/menu.png new file mode 100644 index 0000000000000000000000000000000000000000..c8f355e0e25f19438a9c7684e24dd29d809b43e1 GIT binary patch literal 4534 zcmc(iYgAL$wt!~>C
fhDg};&1VJE_DiXk;5Z;gUh1bSH
zEyq#|1dCN*Zvs&a*gznbDzy|+lqIhdz#^}Wpn%~KNOE@Ij&bk*^P_u=jJ>l))>?Dz
zwdOa!TnO;VI4P{5l#&OZ;}S^^YG2J(P%he%ClNfC+>iwZ9$$+0Tkj
zvyvR?S(@y27D_{0{%U`w+k={AvXplv9F{d;3-W!NK@^aI$;Iq}oWArt@MuuQaOaBO
zqX2)dmKa93O~VA;8k~yFR|<#{Ironhack News
-
diff --git a/styles/style.css b/styles/style.css
index 9571ab1..1a0bf89 100644
--- a/styles/style.css
+++ b/styles/style.css
@@ -177,3 +177,107 @@ header {
}
/* Write your CSS below */
+
+
+@media screen and (max-width:760px){
+ ul.navbar
+ {
+ display: flex;
+ flex-direction: column;
+ /* background-color: #007bff; */
+ }
+
+ .navbar li
+ {
+ width: 100%;
+ border-bottom:2px solid #ccc;
+
+ }
+
+ .navbar li:last-child
+ {
+ border-bottom: none;
+ }
+
+main
+{
+display: flex;
+flex-direction: column;
+gap: 10px;
+justify-content: space-between;
+justify-content: stretch;
+}
+
+.articles-container
+{
+ flex-direction: column;
+}
+
+main > .main-article,
+main > .articles-container > .article {
+ width: 80vw;
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ justify-content: space-between;
+ padding: 16px;
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+}
+
+article
+{
+
+display: flex;
+flex-direction: column;
+justify-content: flex-start;
+align-items: center;
+}
+
+@media (min-width: 760px) , (max-width: 1024px)
+{
+ ul.navbar
+ {
+ display: flex;
+ flex-direction: row;
+ background-color: #007bff;
+ }
+
+ .navbar li
+ {
+ width: 100%;
+ border-right:2px solid #ccc;
+
+ }
+
+ .navbar li:last-child
+ {
+ border-right: none;
+ }
+}
+
+@media screen and (max-width: 480px)
+{
+ul.navbar
+ {
+ display: flex;
+ flex-direction: row;
+ }
+
+ .navbar li
+ {
+ width: 100%;
+ border-right:2px solid #ccc;
+
+ }
+
+ .navbar li:last-child
+ {
+ border-right: none;
+ }
+
+
+}
+
+
+}