From 0caab93c11b08d33d1fb56431050964d64cfc00a Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 14 May 2023 02:50:07 +0200 Subject: [PATCH] basic css --- index.html | 3 ++- ui.css | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 ui.css diff --git a/index.html b/index.html index 4205d3a..8b33a93 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ Ada - +

Site of a random human

@@ -34,5 +34,6 @@

If you want to contact me (don't hesitate), i y have a mail TODO. I have some useless project on my Github

+
diff --git a/ui.css b/ui.css new file mode 100644 index 0000000..d4815b2 --- /dev/null +++ b/ui.css @@ -0,0 +1,27 @@ + +:root { + --main-width: 85vw; + } + + /* large screen */ + @media only screen and (min-width: 868px) { + :root { + --main-width: 50vw; + } + } + + + + html { + font-family: Noto Sans; + scroll-behavior: smooth; + color: #C71585; + } + + .content { + max-width: var(--main-width); + margin-left: auto; + margin-right: auto; + } + + \ No newline at end of file