diff --git a/src/assets/main.css b/src/assets/main.css index 0a4e976..e7628ba 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -17,6 +17,25 @@ body background: var(--background-color); } +.container +{ + display: flex; + padding: 0 1vw 3vh 1vw; +} + +@media screen and (min-width: 1501px) { + .container + { + flex-direction: row; + } +} + +@media screen and (max-width: 1500px) { + .container { + flex-direction: column; + } +} + .colored-text { color: var(--secondary-color); diff --git a/src/components/Calendar.vue b/src/components/Calendar.vue index 6029cf7..d8f2279 100644 --- a/src/components/Calendar.vue +++ b/src/components/Calendar.vue @@ -105,11 +105,15 @@ .day-picker, .day-names { display: grid; - grid-template-columns: repeat(7, 2fr); + grid-template-columns: repeat(7, 1fr); row-gap: 20px; width: 100%; } +.day-picker { + grid-template-rows: repeat(6, 1fr); +} + .day-names { padding: 20px 0 20px 0; } diff --git a/src/components/NavLink.vue b/src/components/NavLink.vue index eabebf3..3447f70 100644 --- a/src/components/NavLink.vue +++ b/src/components/NavLink.vue @@ -13,21 +13,6 @@ const props = defineProps<{ diff --git a/src/views/CreateView.vue b/src/views/CreateView.vue index 47f241f..f01e193 100644 --- a/src/views/CreateView.vue +++ b/src/views/CreateView.vue @@ -2,35 +2,65 @@ import Calendar from "@/components/Calendar.vue"; import TextBlock from "@/components/TextBlock.vue"; +import NavLink from "@/components/NavLink.vue"; diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 7224f75..2c7ce24 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -21,8 +21,8 @@ import TextBlock from "@/components/TextBlock.vue";

Meet up now !

- - + +
@@ -36,7 +36,6 @@ import TextBlock from "@/components/TextBlock.vue"; justify-content: center; align-items: center; height: 100%; - padding: 0 1vw 0 1vw; } .container { @@ -52,7 +51,6 @@ import TextBlock from "@/components/TextBlock.vue"; .actions-group { flex-direction: column; - padding: 30px; min-width: 250px; } @@ -96,19 +94,17 @@ import TextBlock from "@/components/TextBlock.vue"; } /* MEDIA QUERIES */ -@media screen and (min-width: 1500px) { - .container { - flex-direction: row; - } +@media screen and (min-width: 1501px) { .introduction { + padding: 0 0 1vw 0; width: 50%; min-height: 40vh; } .actions-group { - width: 25%; - min-height: 35vh; + width: 35%; + min-height: 40vh; } .introduction h1 @@ -117,13 +113,10 @@ import TextBlock from "@/components/TextBlock.vue"; } } -@media screen and (max-width: 1501px) { - .container { - flex-direction: column; - } +@media screen and (max-width: 1500px) { .introduction, .actions-group { - width: 95%; + width: 100%; } .introduction { @@ -140,4 +133,19 @@ import TextBlock from "@/components/TextBlock.vue"; } } +@media screen and (min-width: 801px) { + .button { + width: 15vw; + min-width: 15vw; + } +} + +@media screen and (max-width: 800px) { + .button { + width: 50vw; + min-width: 50vw; + } + +} +