Skip to content

Commit

Permalink
Updated to match black and white color scheme of new CES site.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent committed Jul 22, 2024
1 parent 3662967 commit ed8e611
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 11 deletions.
66 changes: 61 additions & 5 deletions approval_polls/staticfiles/style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,41 @@
.bg-primary {
--bs-bg-opacity: 1;
background-color: #1d4749 !important;
background-color: #000000 !important;
}

.btn-secondary {
background-color: #42c2a1 !important; /* Teal */
border-color: #42c2a1 !important;
background-color: #fff !important; /* Teal */
border-color: #000 !important;
color: #000;
}

.btn-success {
background-color: #000 !important; /* Teal */
border-color: #fff !important;
}

.btn {
background-color: var(--token-80553515-7ab0-44ac-b981-96d7680674fd, #ffffff);
--border-bottom-width: 1px;
--border-color: var(--token-8333892f-efe4-41b8-b3da-b102a8c97a9f, #d4d4d4);
border-radius: 3px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px 0px, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px;
gap: 0px;
padding: 8px;
}

a {
color: #000;
font-weight: 600
}

a:hover {
color: #000;
}

.btn-primary {
background-color: #7ec242 !important;
border-color: #7ec242 !important;
background-color: #000;`
border-color: #fff;
}

.chart div {
Expand Down Expand Up @@ -52,3 +77,34 @@
overflow: hidden;
overflow-y: scroll;
}

body {
font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
}

@font-face {
font-family: Fragment Mono;
font-style: normal;
font-weight: 400;
font-display: block;
src: url(https://fonts.gstatic.com/s/fragmentmono/v4/4iCr6K5wfMRRjxp0DA6-2CLnB45HhrUI.woff2) format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}

@font-face {
font-family: Fragment Mono;
font-style: normal;
font-weight: 400;
font-display: block;
src: url(https://fonts.gstatic.com/s/fragmentmono/v4/4iCr6K5wfMRRjxp0DA6-2CLnB41HhrUI.woff2) format("woff2");
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
font-family: Fragment Mono;
font-style: normal;
font-weight: 400;
font-display: block;
src: url(https://fonts.gstatic.com/s/fragmentmono/v4/4iCr6K5wfMRRjxp0DA6-2CLnB4NHhg.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
10 changes: 6 additions & 4 deletions approval_polls/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
<link type="text/css"
rel="stylesheet"
href="https://cdn.jsdelivr.net/jquery.jssocials/1.4.0/jssocials.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/minty/bootstrap.min.css"
rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<script src="https://js.sentry-cdn.com/78856604267db99554868743d5eb61e5.min.js"
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" rel="stylesheet">
<script src="https://js.sentry-cdn.com/78856604267db99554868743d5eb61e5.min.js"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.7/jstz.min.js"
integrity="sha512-pZ0i46J1zsMwPd2NQZ4IaL427jXE2RVHMk3uv/wPTNlBVp9AbB1L65/4YdrXRPLEmyZCkY9qYOOsQp44V4orHg=="
Expand All @@ -47,7 +49,7 @@
{% get_current_timezone as TIME_ZONE %}
<nav class="navbar navbar-expand-sm navbar-dark bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="{% url 'index' %}">Vote.ElectionScience.Org</a>
<a class="navbar-brand" href="{% url 'index' %}">Vote, by ElectionScience.org</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.9"

services:
web:
build: .
Expand Down

0 comments on commit ed8e611

Please sign in to comment.