-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update CIO4Good project and tabs * Updates to all pages for demo * Deploy state from last Fri * Adjust styling, remove images * Prevent stretched mobile view Benchmarking viz * Delete old comments * Set up S3 storage * Revert Django version, attempt to fix deploy * Revert Django 2.1.1, attempt 2 to fix deploy
- Loading branch information
Showing
35 changed files
with
406 additions
and
579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# custom_storages.py | ||
from django.conf import settings | ||
from storages.backends.s3boto3 import S3Boto3Storage | ||
|
||
class StaticStorage(S3Boto3Storage): | ||
location = settings.STATICFILES_LOCATION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,104 @@ | ||
/* BaseUIKit Styling */ | ||
|
||
.home{ | ||
height: 100vh | ||
} | ||
|
||
.footer-home{ | ||
color: #FFFFFF; | ||
background: #000000; | ||
} | ||
|
||
/* Semantic UI Website Styling */ | ||
|
||
.pusher{ | ||
background-image: url("https://d4gwebsite-bucket.s3.us-east-2.amazonaws.com/static/web/landing-hero.jpg"); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
margin: 0 !important; | ||
padding-bottom: 15%; | ||
} | ||
|
||
h1,h2,h3 { | ||
font-family: 'Open Sans', sans-serif; | ||
} | ||
p,a{ | ||
font-family: 'Roboto', sans-serif; | ||
|
||
} | ||
|
||
.logo{ | ||
width: 50px; | ||
height: 50px; | ||
} | ||
|
||
.home{ | ||
height: 100vh | ||
} | ||
|
||
.footer-home{ | ||
color: #FFFFFF; | ||
background: #000000; | ||
} | ||
} | ||
|
||
.pusher:hover{ | ||
opacity: 0.8; | ||
} | ||
|
||
.ui.container.header.hero{ | ||
padding-top: 10%; | ||
} | ||
|
||
.ui.text.container{ | ||
max-width: 1050px !important; | ||
} | ||
|
||
.ui.vertical.stripe.segment { | ||
padding-top: 2%; | ||
padding-bottom: 2%; | ||
} | ||
|
||
.ui.header { | ||
padding-top: 2%;; | ||
} | ||
|
||
.ui.header.horizontal.divider { | ||
padding-top: 2%; | ||
} | ||
|
||
.top.attached.segment + .ui.bottom.tabular.menu { | ||
position: relative; | ||
width: calc(100% + (100px * 2)); | ||
left: -1px; | ||
} | ||
|
||
#site-title { | ||
font-size: 4em; | ||
} | ||
|
||
#impact-button-container{ | ||
padding: 2%; | ||
} | ||
|
||
/* Landing Page */ | ||
.tool-cards { | ||
display: flex; | ||
justify-content: space-evenly; | ||
} | ||
|
||
#visualization-card { | ||
background-color: #e2f2c7; | ||
padding: 1%; | ||
margin: 4%; | ||
} | ||
|
||
/* Tabs */ | ||
.ui.bottom.attached.tab.segment { | ||
padding: 10px 20px; | ||
margin-bottom: 1%; | ||
} | ||
|
||
/* FAQ */ | ||
.ui.divided.items.faq { | ||
padding: 2%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
boto3==1.13.9 | ||
botocore==1.16.9 | ||
certifi==2019.11.28 | ||
chardet==3.0.4 | ||
codecov==2.0.15 | ||
coverage==5.0.3 | ||
Django==2.2.12 | ||
Django==2.1.1 | ||
django-appconf==1.0.4 | ||
django-compressor==2.4 | ||
django-sass-processor==0.7.4 | ||
django-storages==1.9.1 | ||
django2-semantic-ui==1.2.2 | ||
docutils==0.15.2 | ||
idna==2.8 | ||
jmespath==0.10.0 | ||
libsass==0.19.4 | ||
python-dateutil==2.8.1 | ||
pytz==2019.3 | ||
rcssmin==1.0.6 | ||
requests==2.23.0 | ||
rjsmin==1.1.0 | ||
s3transfer==0.3.3 | ||
six==1.13.0 | ||
sqlparse==0.3.1 | ||
urllib3==1.25.7 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.