diff --git a/server/static/sass/index.scss b/server/static/sass/index.scss new file mode 100644 index 0000000..e968de0 --- /dev/null +++ b/server/static/sass/index.scss @@ -0,0 +1,197 @@ +$button_color_bg: #1f8dd6; +$button_color_txt: white; +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} +/* + * -- BASE STYLES -- + * Most of these are inherited from Base, but I want to change a few. + */ +body { + line-height: 1.7em; + font-size: 13px; +} +.navbar { + z-index: 2; +} +a { + text-decoration: none; +} +/* + * -- LAYOUT STYLES -- + * These are some useful classes which I will need + */ +.l-box { + padding: 1em; +} + +.l-box-lrg { + padding: 2em; + border-bottom: 1px solid rgba(0,0,0,0.1); +} + +.is-center { + text-align: center; +} + + +.pure-form input[type] { + border: 2px solid #ddd; + box-shadow: none; + font-size: 100%; + width: 100%; + margin-bottom: 1em; +} + +/* + * -- PURE BUTTON STYLES -- + * I want my pure-button elements to look a little different + */ +.pure-button { + background-color: $button_color_bg; + color: $button_color_txt; + padding: 0.5em 2em; + border-radius: 5px; +} + +a.pure-button-primary { + background: $button_color_bg; + color: $button_color_txt; + border-radius: 5px; + font-size: 120%; +} + +/* + * -- SPLASH STYLES -- + * This is the blue top section that appears on the page. + */ + +.splash-container { + background-image: url('https://www.shockrah.shop/static/images/chalk.jpg'); + background-attachment: fixed; + background-size: cover; + background-repeat: no-repeat; + z-index: 1; + overflow: hidden; + /* The following styles are required for the "scroll-over" effect */ + width: 100%; + height: 100%; + top: 0; + left: 0; + position: fixed !important; + display: flex; + justify-content: center; +} + +.splash { + width: 80%; + height: 50%; + margin: auto; + position: absolute; + top: 100px; left: 0; bottom: 0; right: 0; + text-align: center; + text-transform: uppercase; +} + +/* This is the main heading that appears on the blue section */ +.splash-head { + font-size: 20px; + font-weight: bold; + color: white; + border: 3px solid white; + padding: 1em 1.6em; + font-weight: 450; + border-radius: 5px; + line-height: 1em; +} + +/* This is the subheading that appears on the blue section */ +.splash-subhead { + letter-spacing: 0.05em; + color: white; + font-weight: 450; +} + +/* + * -- CONTENT STYLES -- + * This represents the content area (everything below the blue section) + */ +.content-wrapper { + /* These styles are required for the "scroll-over" effect */ + position: absolute; + top: 87%; + width: 100%; + min-height: 12%; + z-index: 2; + background: white; + +} + +/* We want to give the content area some more padding */ +.content { + padding: 1em 1em 3em; +} + +/* This is the class used for the main content headers (