diff --git a/src/thsf/static/css/colors.css b/src/thsf/static/css/colors.css new file mode 100644 index 0000000..47b860c --- /dev/null +++ b/src/thsf/static/css/colors.css @@ -0,0 +1,49 @@ +@font-face { + font-family: pfdintextcomppromedium; + src: url(../fonts/PFDinTextCompPro-Medium.ttf); +} + +@font-face { + font-family: pfdintextcompprothin; + src: url(../fonts/PFDinTextCompPro-Thin.ttf); +} + +:root { + --main-bg-color: #e6007e; + --alt-bg-color: #E59730; + --alt2-bg-color: #9EBF43; + --alt3-bg-color: #3096E5; + --main-color: #ffffff; + --alt-main-color: #1A000D; +} + +.white { + color: var(--main-color); +} + +.black { + color: var(--alt-main-color); +} + +.thin { + font-family: pfdintextcompprothin; +} + +.bold { + font-family: pfdintextcomppromedium; +} + +.bg1 { + background-color: var(--alt-bg-color); + border-color: var(--alt-bg-color); +} + +.bg2 { + background-color: var(--alt2-bg-color); + border-color: var(--alt2-bg-color); +} + +.bg3 { + background-color: var(--alt3-bg-color); + border-color: var(--alt3-bg-color); +} diff --git a/src/thsf/static/css/custom.css b/src/thsf/static/css/custom.css new file mode 100644 index 0000000..f997125 --- /dev/null +++ b/src/thsf/static/css/custom.css @@ -0,0 +1,59 @@ +.logo { + width: inherit; +} + +.header { + display: flex; + flex-direction: row; + justify-content: center; + gap: 0; + text-align: center; + font-size: 9.75em; + font-weight: bold; + padding: 0; +} + +.header > span { + margin: 0; +} + +.subheader { + margin: -1em 0 0 0; + font-size: 3.47em; +} + +.place { + margin: 0; + font-size: 2.145em; +} + +.important { + font-family: pfdintextcomppromedium; +} + +.left { + float: left; + margin-right: 0.5em; +} + +.right { + float: right; + margin-left: 0.5em; +} + +.logo_partner { + max-width: 250px; + max-height: 250px; + margin: 1em; +} + +.button { + font-size: 2.5em; + transition-property: color; + transition-duration: 1s; +} + +.button:hover { + color: var(--main-color); + cursor: pointer; +} diff --git a/src/thsf/static/css/elements.css b/src/thsf/static/css/elements.css new file mode 100644 index 0000000..b5a7f2e --- /dev/null +++ b/src/thsf/static/css/elements.css @@ -0,0 +1,18 @@ +a { + font-family: pfdintextcomppromedium; + font-weight: 250; + color: var(--alt-main-color); + transition-property: color; + transition-duration: 1s; + text-decoration: wavy; +} + +a:hover { + color: var(--main-color); + cursor: pointer; +} + +.content > p, +.content > h2 { + margin-top: 0.5em; +} diff --git a/src/thsf/static/css/planning.css b/src/thsf/static/css/planning.css index c755133..561bdaa 100644 --- a/src/thsf/static/css/planning.css +++ b/src/thsf/static/css/planning.css @@ -1,12 +1,3 @@ -#schedule { - margin: 2em 0 2em; - font-size: 2em; - font-family: pfdintextcompprothin; - color: var(--main-color); - width: 20em; - text-align:justify; - text-justify:inter-word; -} .slot { display: flex; @@ -15,7 +6,6 @@ text-align: center; flex-direction: row; margin: 0.3em 0; - width: 20em; } .slot_info, diff --git a/src/thsf/static/css/style.css b/src/thsf/static/css/style.css index 12a2649..354e6f5 100644 --- a/src/thsf/static/css/style.css +++ b/src/thsf/static/css/style.css @@ -1,22 +1,3 @@ -@font-face { - font-family: pfdintextcomppromedium; - src: url(../fonts/PFDinTextCompPro-Medium.ttf); -} - -@font-face { - font-family: pfdintextcompprothin; - src: url(../fonts/PFDinTextCompPro-Thin.ttf); -} - -:root { - --main-bg-color: #e6007e; - --alt-bg-color: #E59730; - --alt2-bg-color: #9EBF43; - --alt3-bg-color: #3096E5; - --main-color: #ffffff; - --alt-main-color: #1A000D; -} - * { box-sizing: border-box; } @@ -24,158 +5,10 @@ body { background-color: var(--main-bg-color); font-family: pfdintextcomppromedium; - text-align: center; -} - -.white { - color: var(--main-color); -} - -.black { - color: var(--alt-main-color); -} - -.thin { - font-family: pfdintextcompprothin; -} - -.bold { - font-family: pfdintextcomppromedium; -} - -.button { - font-size: 2.5em; - transition-property: color; - transition-duration: 1s; -} - -.button:hover { - color: var(--main-color); - cursor: pointer; -} - -.logo { - width: inherit; -} - -.bg1 { - background-color: var(--alt-bg-color); - border-color: var(--alt-bg-color); -} - -.bg2 { - background-color: var(--alt2-bg-color); - border-color: var(--alt2-bg-color); -} - -.bg3 { - background-color: var(--alt3-bg-color); - border-color: var(--alt3-bg-color); -} - -a { - font-family: pfdintextcomppromedium; - font-weight: 250; - color: var(--alt-main-color); - transition-property: color; - transition-duration: 1s; - text-decoration: wavy; -} - -a:hover { - color: var(--main-color); - cursor: pointer; -} - -#main_wrapper { display: flex; flex-direction: row; justify-content: center; align-items: center; align-content: center; - margin-bottom: 5em; -} - -#center_wrapper, #header_wrapper { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -#header { - display: flex; - flex-direction: row; - justify-content: center; - gap: 0; text-align: center; - font-size: 9.75em; - font-weight: bold; - padding: 0; -} - -#header > span { - margin: 0; -} - -#subheader { - margin: -1em 0 0 0; - font-size: 3.47em; -} - -#place { - margin: 0; - font-size: 2.145em; -} - -#logo_wrapper { - margin-top: 1em; - width: 40em; -} - -#navbar_wrapper { - position: fixed; - bottom: 0; - padding: 1em 0; - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - gap: 2em; - background-color: var(--main-bg-color); - width: 100vw; -} - -#blah { - margin: 2em 0 2em; - font-size: 2em; - font-family: pfdintextcompprothin; - color: var(--main-color); - width: 20em; - text-align:justify; - text-justify:inter-word; -} - -#blah > p, #blah.h2 { - margin-top: 0.5em; -} - -.important { - font-family: pfdintextcomppromedium; -} - -.left { - float: left; - margin-right: 0.5em; -} - -.right { - float: right; - margin-left: 0.5em; -} - -.logo_partner { - max-width: 250px; - max-height: 250px; - margin: 1em; } diff --git a/src/thsf/static/css/wrappers.css b/src/thsf/static/css/wrappers.css new file mode 100644 index 0000000..74c459b --- /dev/null +++ b/src/thsf/static/css/wrappers.css @@ -0,0 +1,45 @@ +.page_wrapper { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + align-content: center; + text-align: center; + padding-bottom: 5em; +} + +.center_wrapper, +.header_wrapper { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; +} + +.logo_wrapper { + margin-top: 1em; + width: 40em; +} + +.navbar_wrapper { + position: fixed; + bottom: 0; + padding: 1em 0; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + gap: 2em; + background-color: var(--main-bg-color); + width: 100vw; +} + +.content { + font-size: 2em; + font-family: pfdintextcompprothin; + color: var(--main-color); + width: 20em; + text-align:justify; + text-justify: inter-word; +} diff --git a/src/thsf/templates/base.html b/src/thsf/templates/base.html index 0d099bf..3b2096d 100644 --- a/src/thsf/templates/base.html +++ b/src/thsf/templates/base.html @@ -4,6 +4,14 @@ THSF 2023: S/Extraire + + + + -
-
-
-