From 7175a9c8e1bfb2a19cb77d8ce5b8c9609a7b3e4d Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Tue, 1 Aug 2023 15:36:09 -0700 Subject: changed phplatex to use hex --- src/style.php | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 src/style.php (limited to 'src/style.php') diff --git a/src/style.php b/src/style.php new file mode 100644 index 0000000..b55bb90 --- /dev/null +++ b/src/style.php @@ -0,0 +1,136 @@ + +@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap'); + +:root { + --background: #; + --text: #; + --header: #; + --secondary: #; + --highlight: #; +} + +body { + margin: 0px; + background-color: var(--background); +} + +@media (max-aspect-ratio: 6/7) { + .contentpane { + margin: auto; + width: 100%; + min-height: 100%; + } +} + +@media (min-aspect-ratio: 7/7) { + .contentpane { + margin: auto; + width: 60%; + min-height: 100%; + } +} + +p { + text-align: left; + text-indent: 25px; + font-family: 'Quicksand', sans-serif; + font-size: 16pt; + color: var(--text); + padding: 8px 50px 8px 50px; +} + +h1 { + text-align: center; + font-family: 'Quicksand', sans-serif; + font-size: 30pt; + font-weight: 600; + color: var(--header); + padding: 50px 50px 3px 50px; + margin: auto auto 0px auto; +} + +h2 { + text-align: center; + font-family: 'Quicksand', sans-serif; + font-size: 24pt; + font-weight: 600; + color: var(--header); + padding: 8px 50px 8px 50px; +} + +h3 { + text-align: left; + text-indent: 55px; + font-family: 'Quicksand', sans-serif; + font-size: 16pt; + font-weight: 600; + color: var(--text); + padding: 8px 50px 2px 50px; +} + +h3.nav { + text-align: center; + text-indent: 0px; + padding: 3px 50px 8px 50px; + margin: 0px auto auto auto; +} + +ul h3 { + font-style: italic; + text-align: left; + text-indent: 0px; + padding: 8px 50px 8px 50px; +} + +ul h3 a { + font-style: italic; +} + +ul p { + text-indent: 0px; + font-family: 'Quicksand', sans-serif; + font-size: 16pt; + color: var(--text); + padding: 8px 50px 8px 50px; +} + +a { + color: var(--secondary); + font-family: 'Quicksand', sans-serif; + text-decoration: none; +} + +a:hover { + color: var(--highlight); +} +a.backbutton { + font-style: normal; + font-size: 80%; + text-decoration: none; + padding: 0px; +} + +ul { + list-style-position: outside; + padding: 0px 0px 0px 75px; +} + +li { + color: var(--highlight); +} + +hr { + border-color: var(--text); + background-color: var(--text); +} + +.footer { + width: auto; + margin: auto; +} +.ascii { + color: var(--secondary); +} -- cgit v1.2.3-70-g09d2