From 510ca35c87b6357ee57a40593771d27853553596 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 23 Jun 2022 17:12:10 +0200 Subject: [PATCH] better style --- public/css/style.css | 33 ++++++++++++++++++++++++++------- src/views/index.ejs | 6 +++--- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 03db1c7..affeddf 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,15 +1,34 @@ -.form-control { - width: 50% !important; +/* Center divs */ +.center { text-align: center; + padding-left: 2%; + padding-right: 2%; } +/* Input */ +.form-control[type="text"] { + margin: auto; + width: 50%; + font-size: 24px; +} + +/* Size of block displaying informations */ .firstname-constant { - height: 15em; - min-height: 15em; - max-height: 15em; + height: 13em; } +/* Size of information's text */ .firstname-constant p { - text-align: center; - font-size: 5em; + font-size: 60px; +} + +/* Drop the size of the text when screen is small */ +@media only screen and (max-width : 850px) { + .firstname-constant { + height: 7em; + } + + .firstname-constant p { + font-size: 28px; + } } diff --git a/src/views/index.ejs b/src/views/index.ejs index eab2718..13aa963 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -27,12 +27,12 @@ Banner - + -
+

-
+
<%- readme %>