From 2ad9c4c03d7ef8356b1ecd6da67ce5d4c7920690 Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 24 Oct 2024 15:14:25 +0200 Subject: [PATCH] playing around with css --- .../include/Webserver/File_cangrow_CSS.h | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/Arduino/CanGrow/include/Webserver/File_cangrow_CSS.h b/Arduino/CanGrow/include/Webserver/File_cangrow_CSS.h index ece01f3..f1ad6c7 100644 --- a/Arduino/CanGrow/include/Webserver/File_cangrow_CSS.h +++ b/Arduino/CanGrow/include/Webserver/File_cangrow_CSS.h @@ -51,8 +51,20 @@ const char* File_cangrow_CSS PROGMEM = R"(body { margin-right: auto; } -h1, h2, h3, h4, h5 { +/*h1, h2, h3, h4, h5 { text-align: center; +}*/ + +h1 { + margin: 15px; +} + +h2 { + margin: 10px; +} + +h3 { + margin: 5px; } a:link, a:visited { @@ -68,7 +80,8 @@ a:active { color: #fff; border-radius: 3px; padding: 4px; - width: fit-content; min-width: 200px; max-width: 420px; + /*width: fit-content; min-width: 200px; max-width: 420px;*/ + display: inline-block; margin: auto; margin-bottom: 5px; font-weight: bold; @@ -112,7 +125,7 @@ a:active { .subnavTitle { font-size: 1em; /*font-weight: bold;*/ - margin-top: -20px; + margin-top: -10px; margin-bottom: 10px; /*text-align: center;*/ } @@ -187,9 +200,9 @@ input[type=text], input[type=date], input[type=number], input[type=password], se } @media only screen and (min-width: 1820px) { - .center, .nav { - /*width: 60%%; min-width: 420px;*/ - } + /*.center, .nav { + width: 60%%; min-width: 420px; + }*/ .subnav li { display: ''; margin-bottom: 3px;