From 06bd3d7999501ee178826190fbd3b4a9e28cb6fa Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Wed, 21 Jun 2023 22:56:23 -0400 Subject: Create simple template script for deployment --- static/index.css | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 static/index.css (limited to 'static/index.css') diff --git a/static/index.css b/static/index.css new file mode 100644 index 0000000..961d7df --- /dev/null +++ b/static/index.css @@ -0,0 +1,68 @@ +:root { + --twhite: #fff; + --tblue: #4ac2fe; + --tpink: #ef95ae; + --flagheight: 60px; + --flagwidth: 90px; + --bgcolor: #e4e4ff; + --page-width: 50em; +} +html, body { + margin: 16px; + line-height: 1.5em; + background-color: var(--bgcolor); +} +p { margin: 0; } +header { + text-align: center; +} +nav { + text-align: center; + margin: 32px 0; +} +nav ul { + list-style-type: none; + padding-left: 0; +} +nav ul li { + display: inline-block; + padding: 4px; +} +footer { + display: flex; + justify-content: center; + font-size: 0.9em; +} +article { + background-color: white; + padding: 16px; +} +main article { + margin: auto auto; + max-width: var(--page-width); + border-radius: 8px; + margin-bottom: 32px; +} +main article:last-child { + margin-bottom: none; +} +.transflag { + width: var(--flagwidth); + height: var(--flagheight); + margin: 16px auto; +} +.transflag .blue { + width: 100%; + min-height: calc(var(--flagheight) / 5); + background-color: var(--tblue); +} +.transflag .pink { + width: 100%; + min-height: calc(var(--flagheight) / 5); + background-color: var(--tpink); +} +.transflag .white { + width: 100%; + min-height: calc(var(--flagheight) / 5); + background-color: var(--twhite); +} -- cgit v1.2.3-54-g00ecf