remove _site
|
@ -1,21 +0,0 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017 William Zhang
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -1,18 +0,0 @@
|
|||
# SGA Website #
|
||||
|
||||
## Installing ##
|
||||
* `bundle install --path gems/`
|
||||
|
||||
## Running ##
|
||||
* `bundle exec jekyll serve --port $PORT` where `$PORT` is desired port.
|
||||
|
||||
## Editing Data ##
|
||||
|
||||
### Officer Information ###
|
||||
* Officer information is contained within .json files in the _data/about subdirectory. Changes made in these files will be reflected on the generated website.
|
||||
* Each type of officer has a separate .json file, ExComm has `excomm.json`, for example.
|
||||
* Sponsors have a -1 year to filter out the graduation year field in the generated website.
|
||||
* Officer bios are optional.
|
||||
|
||||
### Forms ###
|
||||
* This feature is currently being worked on.
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.5.2">Jekyll</generator><link href="http://localhost:8000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:8000/" rel="alternate" type="text/html" /><updated>2018-05-02T15:42:13-04:00</updated><id>http://localhost:8000/</id><title type="html">TJSGA</title><subtitle>Thomas Jefferson High School Student Government Association
|
||||
</subtitle></feed>
|
|
@ -1 +0,0 @@
|
|||
<!DOCTYPE html> <html> <head> <link href="css/about.css" rel="stylesheet" /> <meta charset="UTF-8"> <meta content="" name="description"> <meta content="William Zhang" name="author"> <meta name="theme-color" content="#1976D2" /> <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" /> <link href="icons/favicon.ico" rel="icon" type="image/ico"> <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/> <link href="css/header.css" rel="stylesheet"/> <link href="css/main.css" rel="stylesheet"/> <link href="css/footer.css" rel="stylesheet"/> <link href="css/responsive.css" rel="stylesheet"/> <title>About - TJSGA</title> </head> <body> <header> <div id="banner"> <button id="menu-toggle"> <i></i> </button> </div> <nav id="menu"> <a class="menu-item" href="/"> <button class="menu-item fluid">Home</button> </a> <a class="menu-item" href="about"> <button class="menu-item fluid">About</button> </a> <a id="logo-wrapper" href="/"> <div id="logo"> </div> </a> <a class="menu-item" href="resources"> <button class="menu-item fluid">Resources</button> </a> <a class="menu-item" href="forms"> <button class="menu-item fluid">Forms</button> </a> </nav> <div id="dome"> </div> </header> <div id="wrapper" class="fluid"> <section id="forms"> <div class="list"> <h2>General</h2> <ul> <li> <a href="https://docs.google.com/forms/d/18KRo3RritoN6RddNvI-l2zZs1h_1mmVWWgRQGOk2vvQ/viewform"> Feedback and Suggestions </a> </li> </ul> </div> <div class="list"> <h2>Events</h2> <ul> <li> <a href="https://docs.google.com/document/d/1rjzg8tW_NH52lUESdEZMJRsc2Bd-lntKaFYqZ1srmOQ/edit"> February Frenzy Volleyball Tournament 2018 </a> </li> </ul> </div> </section> </div> <footer> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="fb"> </button> </a> <a href="https://twitter.com/tjSGA" target="_blank"> <button class="social" id="tw"> </button> </a> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="flickr"> </button> </a> <a href="mailto:sga.tjhsst@gmail.com" target="_blank"> <button class="social" id="mail"> </button> </a> </footer> <script src="js/sidebar-min.js"></script> </body> </html>
|
|
@ -1 +0,0 @@
|
|||
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta content="" name="description"> <meta content="William Zhang" name="author"> <meta name="theme-color" content="#1976D2" /> <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" /> <link href="icons/favicon.ico" rel="icon" type="image/ico"> <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/> <link href="css/header.css" rel="stylesheet"/> <link href="css/main.css" rel="stylesheet"/> <link href="css/footer.css" rel="stylesheet"/> <link href="css/responsive.css" rel="stylesheet"/> <title>Home - TJSGA</title> </head> <body> <header> <div id="banner"> <button id="menu-toggle"> <i></i> </button> </div> <nav id="menu"> <a class="menu-item" href="/"> <button class="menu-item fluid">Home</button> </a> <a class="menu-item" href="about"> <button class="menu-item fluid">About</button> </a> <a id="logo-wrapper" href="/"> <div id="logo"> </div> </a> <a class="menu-item" href="resources"> <button class="menu-item fluid">Resources</button> </a> <a class="menu-item" href="forms"> <button class="menu-item fluid">Forms</button> </a> </nav> <div id="dome"> </div> </header> <div id="wrapper" class="fluid"> <section id="intro"> <div id="intro-text" class="fluid"> <h2 id="intro-title">Welcome!</h2> <div id="letter"> <p> Welcome to Thomas Jefferson High School for Science and Technology's school-wide Student Government Association's new home on the web! As you know, TJ is going through some very exciting times, and we want you to be a part of it with us. </p> <p> Here at Jefferson, we not only challenge ourselves academically, but also extracurricularly. And so, tjSGA is pushing forward this year to not only continue school-wide traditions such as Homecoming Week, Dancing with the Faculty, Service Week, and J-Day, but also both establish new and revive discontinued traditions such as the February Snow Ball and March Volleyball tournament. Moreover, as we face obstacles such as the stigma against mental illness and TJ Renovation restrictions, we hope to continually find effective solutions for the student body. </p> <p> Please don't hesitate to contact me or SGA at anytime with any concerns, suggestions, or questions and we'll do our best to address them. </p> <p> Sincerely,<br /> Tim Cho<br /> SGA President 2016-17 </p> </div> </div> <div id="intro-image" class="fluid"> <img src="img/group.jpg" alt="TJSGA Group Photo" /> </div> </section> <hr /> <section id="updates"> <div id="tweets"> <h2>Twitter</h2> <a class="twitter-timeline" data-height="640" data-theme="dark" data-link-color="#2B7BB9" href="https://twitter.com/tjSGA">Tweets by tjSGA</a> <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> </div> <div id="feedback"> <h2>Feedback</h2> <iframe src="https://docs.google.com/forms/d/18KRo3RritoN6RddNvI-l2zZs1h_1mmVWWgRQGOk2vvQ/viewform?embedded=true" width="100%" height="640" frameborder="0" marginheight="0" marginwidth="0"> Loading... </iframe> </div> </section> <hr /> <section id="calendar"> <iframe src="https://calendar.google.com/calendar/b/3/embed?showTitle=0&showPrint=0&height=600&wkst=1&bgcolor=%23ffffff&src=sga.tjhsst%40gmail.com&color=%23711616&ctz=America%2FNew_York" style="border-width:0" width="800" height="600" frameborder="0" scrolling="no"></iframe> </section> </div> <footer> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="fb"> </button> </a> <a href="https://twitter.com/tjSGA" target="_blank"> <button class="social" id="tw"> </button> </a> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="flickr"> </button> </a> <a href="mailto:sga.tjhsst@gmail.com" target="_blank"> <button class="social" id="mail"> </button> </a> </footer> <script src="js/sidebar-min.js"></script> </body> </html>
|
|
@ -1 +0,0 @@
|
|||
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta content="" name="description"> <meta content="William Zhang" name="author"> <meta name="theme-color" content="#1976D2" /> <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" /> <link href="icons/favicon.ico" rel="icon" type="image/ico"> <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/> <link href="css/header.css" rel="stylesheet"/> <link href="css/main.css" rel="stylesheet"/> <link href="css/footer.css" rel="stylesheet"/> <link href="css/responsive.css" rel="stylesheet"/> <title>Resources - TJSGA</title> </head> <body> <header> <div id="banner"> <button id="menu-toggle"> <i></i> </button> </div> <nav id="menu"> <a class="menu-item" href="/"> <button class="menu-item fluid">Home</button> </a> <a class="menu-item" href="about"> <button class="menu-item fluid">About</button> </a> <a id="logo-wrapper" href="/"> <div id="logo"> </div> </a> <a class="menu-item" href="resources"> <button class="menu-item fluid">Resources</button> </a> <a class="menu-item" href="forms"> <button class="menu-item fluid">Forms</button> </a> </nav> <div id="dome"> </div> </header> <div id="wrapper" class="fluid"> <section id="resources"> <div class="list"> <h2>General</h2> <ul> <li> <a href="https://ion.tjhsst.edu/static/WiFiFAQ.pdf" target="_blank"> TJ Wi-Fi FAQs: FCPSonboard </a> </li> <li> <a href="https://integrity.tjhsst.edu" target="_blank"> Academic Integrity Guide </a> </li> </ul> </div> <div class="list"> <h2>Mental Health</h2> <ul> <li> <a href="https://tjmindmatters.weebly.com" target="_blank"> TJ Mind Matters </a> </li> <li> <a href="https://tjmindmatters.weebly.com/dos-and-donts.html"> How to Help a Friend </a> </li> <li> <a href="https://tjmindmatters.weebly.com/from-tj-to-tj" target="_blank"> Read & Submit From TJ, to TJ Letters </a> </li> <li> <a href="https://tjmindmatters.weebly.com/youth-mental-health-first-aid.html" target="_blank"> Register for YMHFA Training </a> </li> <li> <a href="http://tjmindmatters.weebly.com/blog" target="_blank"> TJ Mind Matters Blog </a> </li> </ul> </div> <div class="links"> <h2>Course for Action</h2> <div class="desc"> An SGA initiative, designed by the students, for the students. Learn about the courses available at TJHSST from students who've taken them and the teachers that teach them! <span> Visit the YouTube channel <a href="https://youtube.com/channel/UCGvdoktHFvLHpqBaj17zKwQ" target="_blank"> here. </a> </span> </div> </div> <div class="links"> <h2>Student Advocacy</h2> <div class="desc"> At Jefferson, students have rights and responsibilities that they are guaranteed as a part of their educational experience. <a href="https://ion.tjhsst.edu/uploads/advocacy.pdf" target="_blank"> The Student Advocacy Guidlines </a> were created to help students be aware of how they can proactively manage their learning, self-advocate, and succeed in school. </div> <div class="desc"> Use <a href="https://docs.google.com/forms/d/1clH0ga4U2G2hu2gW3EZpwW9BCJDU76RytTTJCKaheao/viewform" target="_blank"> this form </a> to report divergences from the Student Advocacy Guidelines. Submissions will be kept strictly confidential, but name & grade are required for follow-up of the situation. </div> </div> </section> </div> <footer> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="fb"> </button> </a> <a href="https://twitter.com/tjSGA" target="_blank"> <button class="social" id="tw"> </button> </a> <a href="https://facebook.com/tjsga" target="_blank"> <button class="social" id="flickr"> </button> </a> <a href="mailto:sga.tjhsst@gmail.com" target="_blank"> <button class="social" id="mail"> </button> </a> </footer> <script src="js/sidebar-min.js"></script> </body> </html>
|
|
@ -1,6 +0,0 @@
|
|||
User-agent: Google
|
||||
Disallow: /icons
|
||||
|
||||
User-agent: *
|
||||
Disallow: /img
|
||||
Disallow: /icons
|
10
_site/run.sh
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
#export LC_ALL=C.UTF-8
|
||||
#export LANG=C.UTF-8
|
||||
#export FLASK_APP=ghswebsite
|
||||
#export APP_SETTINGS="config.ProductionConfig"
|
||||
#/web/activities/ghs/public/env/bin/python run.py $PORT
|
||||
#export PATH=$PATH:/home/2018wzhang/.gem/ruby/2.3.0/bin;
|
||||
#/home/2018wzhang/.gem/ruby/2.3.0/bin/bundler exec jekyll serve --port $PORT
|
||||
/web/activities/sga/sgawebsite/manage.py runserver $PORT
|
||||
#/web/activities/ghs/public/env/bin/python /web/activities/ghs/public/ghswebsite/app.py $PORT
|
|
@ -1,3 +0,0 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
|
@ -1,5 +0,0 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class MainConfig(AppConfig):
|
||||
name = 'main'
|
|
@ -1,3 +0,0 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
|
@ -1,3 +0,0 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
|
@ -1,3 +0,0 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
|
@ -1,22 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sgawebsite.settings")
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError:
|
||||
# The above import may fail for some other reason. Ensure that the
|
||||
# issue is really that Django is missing to avoid masking other
|
||||
# exceptions on Python 2.
|
||||
try:
|
||||
import django
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
"forget to activate a virtual environment?"
|
||||
)
|
||||
raise
|
||||
execute_from_command_line(sys.argv)
|
|
@ -1,21 +0,0 @@
|
|||
"""sgawebsite URL Configuration
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/1.11/topics/http/urls/
|
||||
Examples:
|
||||
Function views
|
||||
1. Add an import: from my_app import views
|
||||
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
|
||||
Class-based views
|
||||
1. Add an import: from other_app.views import Home
|
||||
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
|
||||
Including another URLconf
|
||||
1. Import the include() function: from django.conf.urls import url, include
|
||||
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.conf.urls import url
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^admin/', admin.site.urls),
|
||||
]
|
|
@ -1,16 +0,0 @@
|
|||
"""
|
||||
WSGI config for sgawebsite project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sgawebsite.settings")
|
||||
|
||||
application = get_wsgi_application()
|
|
@ -1,99 +0,0 @@
|
|||
#contact {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin-bottom: 2.5vh;
|
||||
}
|
||||
|
||||
#contact>.desc {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.quote {
|
||||
color: #fff;
|
||||
font-style: italic;
|
||||
display: inline-block;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.officers-image,
|
||||
.excomm-image,
|
||||
.senators-image,
|
||||
.sponsors-image {
|
||||
width: 17vw;
|
||||
max-width: 200px;
|
||||
height: 17vw;
|
||||
max-height: 200px;
|
||||
margin-bottom: 1vh;
|
||||
}
|
||||
|
||||
.officers-image:after,
|
||||
.excomm-image:after,
|
||||
.senators-image:after,
|
||||
.sponsors-image:after {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
background-image: url('../img/profile.jpg');
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.officers-image img,
|
||||
.excomm-image img,
|
||||
.senators-image img,
|
||||
.sponsors-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.officers-text,
|
||||
#excomm-desc,
|
||||
.excomm-text,
|
||||
#senators-desc,
|
||||
.senators-text,
|
||||
#sponsors-desc,
|
||||
.sponsors-text {
|
||||
font-size: 1.1em;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.officers-text>span,
|
||||
.excomm-text>span,
|
||||
.senators-text>span,
|
||||
.sponsors-text>span {
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.officers-intro,
|
||||
.excomm-intro,
|
||||
.senators-intro,
|
||||
.sponsors-intro {
|
||||
text-align: center;
|
||||
margin: 1.5vw;
|
||||
width: 17vw;
|
||||
max-width: 200px;
|
||||
flex-wrap: wrap;
|
||||
flex-basis: 50%;
|
||||
}
|
||||
|
||||
#excomm-desc,
|
||||
#senators-desc,
|
||||
#sponsors-desc {
|
||||
margin: 0 10vw;
|
||||
}
|
||||
|
||||
#contact>h2,
|
||||
#officers>h2,
|
||||
#excomm>h2,
|
||||
#senators>h2,
|
||||
#sponsors>h2 {
|
||||
text-align: center;
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
footer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: calc((2.75em + 42px) / 4) 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background-color: #393939;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
button.social {
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
border-radius: 50%;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin: 3px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button.social#fb {
|
||||
background: url('../icons/fb.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
button.social#tw {
|
||||
background: url('../icons/tw.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
button.social#flickr {
|
||||
background: url('../icons/flickr.png');
|
||||
background-size: cover;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
button.social#mail {
|
||||
background: url('../icons/mail.jpg');
|
||||
background-size: cover;
|
||||
}
|
|
@ -1,130 +0,0 @@
|
|||
header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#banner {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
vertical-align: middle;
|
||||
font-size: 2.5em;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#logo {
|
||||
width: 15vh;
|
||||
height: 12vh;
|
||||
background-image: url('../img/logo.png');
|
||||
background-size: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#menu-toggle {
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
outline: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#menu-toggle:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
#menu-toggle:active {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
#menu-toggle>i {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: block;
|
||||
background-image: url('../icons/menu.png');
|
||||
background-size: 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
nav#menu {
|
||||
width: 100%;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
border-bottom: 3px solid rgb(164, 38, 44);
|
||||
}
|
||||
|
||||
a.menu-item {
|
||||
width: 12vw;
|
||||
color: #000;
|
||||
font-size: 1em;
|
||||
z-index: 10;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
button.menu-item {
|
||||
cursor: pointer;
|
||||
font-size: 1.8em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
outline: none;
|
||||
color: #000;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button.menu-item:hover {
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
button.menu-item:active {
|
||||
font-size: 1.4em;
|
||||
color: #9f9f9f;
|
||||
}
|
||||
|
||||
#dome:before {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
min-height: 280px;
|
||||
top: 0vh;
|
||||
content: '';
|
||||
display: block;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
-webkit-filter: blur(10px);
|
||||
filter: blur(10px);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
#dome {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
min-height: 280px;
|
||||
color: #000;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
#dome:after {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
min-height: 280px;
|
||||
top: 0vh;
|
||||
content: '';
|
||||
display: block;
|
||||
background-color: #010318;
|
||||
background-image: url('../img/bg.jpg');
|
||||
background-size: cover;
|
||||
background-position-x: center;
|
||||
background-position-y: 0;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
z-index: -2;
|
||||
}
|
|
@ -1,254 +0,0 @@
|
|||
/*http://meyerweb.com/eric/tools/css/reset/*/
|
||||
html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
|
||||
font: inherit;
|
||||
font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
|
||||
font-size: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
border: 0
|
||||
}
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-touch-callout: none
|
||||
}
|
||||
|
||||
.fluid {
|
||||
-webkit-transition: all .1s ease;
|
||||
-moz-transition: all .1s ease;
|
||||
-ms-transition: all .1s ease;
|
||||
-o-transition: all .1s ease;
|
||||
transition: all .1s ease;
|
||||
}
|
||||
|
||||
.fluid-slow {
|
||||
-webkit-transition: all .5s ease;
|
||||
-moz-transition: all .5s ease;
|
||||
-ms-transition: all .5s ease;
|
||||
-o-transition: all .5s ease;
|
||||
transition: all .5s ease;
|
||||
}
|
||||
|
||||
hr {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
float: left;
|
||||
border: none;
|
||||
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
|
||||
}
|
||||
|
||||
a {
|
||||
color: #3A96DD;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
button.flip>i {
|
||||
height: 3vh;
|
||||
width: 3vh;
|
||||
display: block;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
button.expand>i {}
|
||||
|
||||
i.left {
|
||||
background-image: url("../icons/ic_keyboard_arrow_left_black_48px.svg");
|
||||
}
|
||||
|
||||
i.right {
|
||||
background-image: url("../icons/ic_keyboard_arrow_right_black_48px.svg");
|
||||
}
|
||||
|
||||
i.expand {
|
||||
background-image: url("../icons/ic_expand_less_white_48px.svg");
|
||||
}
|
||||
|
||||
button.flip {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
height: 6vh;
|
||||
width: 3vh;
|
||||
outline: none;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
button.flip.left {
|
||||
top: calc(50% - 3vh);
|
||||
left: 0;
|
||||
}
|
||||
|
||||
button.flip.right {
|
||||
top: calc(50% - 3vh);
|
||||
right: 0;
|
||||
}
|
||||
|
||||
button.flip:hover {
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
button.flip:active {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
button.expand {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
height: 6vh;
|
||||
width: 4vh;
|
||||
outline: none;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
span>a:hover {
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
span>a:active {
|
||||
color: #393939;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
background-color: #4C4A48;
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wrapper:before {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
top: 0vh;
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#intro,
|
||||
#calendar,
|
||||
#updates,
|
||||
#officers,
|
||||
#excomm,
|
||||
#senators,
|
||||
#sponsors,
|
||||
#resources,
|
||||
#forms {
|
||||
/*max-width: 1200px;*/
|
||||
display: flex;
|
||||
margin: 0 12.5vw;
|
||||
width: 75vw;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
flex-flow: row wrap;
|
||||
}
|
||||
|
||||
#intro,
|
||||
#calendar,
|
||||
#updates,
|
||||
#resources,
|
||||
#forms {
|
||||
padding: 2.5vh 0;
|
||||
}
|
||||
|
||||
#resources,
|
||||
#forms {
|
||||
min-height: calc(60vh - ((2.75em + 42px) / 4));
|
||||
}
|
||||
|
||||
#sponsors {
|
||||
padding-bottom: 2.5vh;
|
||||
}
|
||||
|
||||
section h1 {
|
||||
font-size: 3.5em;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
section h2,
|
||||
#intro-title {
|
||||
width: 100%;
|
||||
font-size: 2.1em;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
margin: 2.5vh 0;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#intro-text {
|
||||
text-align: center;
|
||||
flex-grow: calc(50% - 8vw);
|
||||
margin: 0 2vw;
|
||||
}
|
||||
|
||||
#intro-image {
|
||||
text-align: center;
|
||||
flex-grow: calc(50% - 8vw);
|
||||
}
|
||||
|
||||
#intro-image>img {
|
||||
margin-top: calc(5vh + 3.1em);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tweets, #feedback {
|
||||
text-align: center;
|
||||
margin: 0 2vw;
|
||||
}
|
||||
|
||||
|
||||
#letter {
|
||||
width: 100%;
|
||||
font-size: 1.2em;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
color: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#letter>p {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-size: 1.1em;
|
||||
color: #fff;
|
||||
margin: 0.5em 5vw;
|
||||
}
|
||||
|
||||
.list>ul {
|
||||
font-size: 1.1em;
|
||||
margin: 0 2vw 0 8vw;
|
||||
}
|
||||
|
||||
.desc>span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.links>h2,
|
||||
.list>h2 {
|
||||
text-align: center;
|
||||
}
|
|
@ -1,189 +0,0 @@
|
|||
@media screen and (max-width: 1150px) {
|
||||
#dome:after {
|
||||
background-position-y: 0;
|
||||
}
|
||||
#banner {
|
||||
height: 48px;
|
||||
display: block;
|
||||
top: 0;
|
||||
position: fixed;
|
||||
box-shadow: 0 28rem 79rem 0 rgba(91, 194, 182, .08), 0 40rem 32rem 0 rgba(0, 0, 0, .04);
|
||||
border-bottom: 3px solid rgb(164, 38, 44);
|
||||
}
|
||||
#banner #logo {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: none;
|
||||
}
|
||||
#menu-toggle {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
#banner>h1 {
|
||||
position: absolute;
|
||||
left: 48px;
|
||||
width: calc(100% - 48px);
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#menu>a {
|
||||
width: 100%;
|
||||
min-height: 75px;
|
||||
height: 10vh;
|
||||
flex-basis: auto;
|
||||
}
|
||||
button.menu-item {
|
||||
font-size: 1.2em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
button.menu-item:hover {
|
||||
color: #fff;
|
||||
background-color: rgb(164, 38, 44);
|
||||
}
|
||||
button.menu-item:active {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
#logo-wrapper {
|
||||
display: none;
|
||||
}
|
||||
nav#menu {
|
||||
width: 30vw;
|
||||
max-width: 200px;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
left: -30vw;
|
||||
padding-top: 48px;
|
||||
display: block;
|
||||
position: fixed;
|
||||
z-index: 2;
|
||||
transition: all 130ms ease;
|
||||
background-color: #fff;
|
||||
border: none;
|
||||
}
|
||||
#menu-toggle {
|
||||
display: block;
|
||||
}
|
||||
.officers-intro,
|
||||
.excomm-intro,
|
||||
.senators-intro,
|
||||
.sponsors-intro {
|
||||
width: 22vw;
|
||||
max-width: 200px;
|
||||
}
|
||||
.officers-image,
|
||||
.excomm-image,
|
||||
.senators-image,
|
||||
.sponsors-image {
|
||||
width: 22vw;
|
||||
height: 22vw;
|
||||
}
|
||||
#intro-image {
|
||||
}
|
||||
#intro-image > img {
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
#tweets, #feedback {
|
||||
margin: 0 2vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
#intro-text,
|
||||
#intro-image,
|
||||
#tweets,
|
||||
#feedback,
|
||||
.list,
|
||||
.links {
|
||||
width: 100%;
|
||||
}
|
||||
section {
|
||||
max-width: 750px;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#banner > h1 {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
#banner > h1 {
|
||||
display: none;
|
||||
}
|
||||
#dome:after {
|
||||
background-position-y: 5vh;
|
||||
}
|
||||
.officers-intro,
|
||||
.excomm-intro,
|
||||
.senators-intro,
|
||||
.sponsors-intro {
|
||||
width: 97vw;
|
||||
max-width: 200px;
|
||||
}
|
||||
.officers-image,
|
||||
.excomm-image,
|
||||
.senators-image,
|
||||
.sponsors-image {
|
||||
width: 97vw;
|
||||
height: 97vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
ul {
|
||||
margin: 0 10vw;
|
||||
}
|
||||
#dome {
|
||||
display: none;
|
||||
}
|
||||
#wrapper {
|
||||
height: auto;
|
||||
min-height: calc(100vh - 130px);
|
||||
}
|
||||
#wrapper,
|
||||
footer {
|
||||
top: 48px;
|
||||
}
|
||||
#intro,
|
||||
#updates,
|
||||
#officers,
|
||||
#excomm,
|
||||
#senators,
|
||||
#sponsors,
|
||||
#resources,
|
||||
#forms {
|
||||
margin: 0 10vw;
|
||||
width: 80vw;
|
||||
}
|
||||
#intro-text {
|
||||
margin: 0 5vw;
|
||||
}
|
||||
nav#menu {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1150px) {
|
||||
#intro-text,
|
||||
#intro-image,
|
||||
.list,
|
||||
.links {
|
||||
width: 37.5vw;
|
||||
max-width: 550px;
|
||||
}
|
||||
.desc,
|
||||
.list>ul {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1800px) {
|
||||
#letter {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
#excomm-desc,
|
||||
#senators-desc,
|
||||
#sponsors-desc {
|
||||
margin: 0 20vw;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 795 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 944 B |
Before Width: | Height: | Size: 91 B |
|
@ -1,4 +0,0 @@
|
|||
<svg fill="#000000" height="48" viewBox="0 0 24 24" width="48" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 849 B |
Before Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 28 MiB |
Before Width: | Height: | Size: 267 KiB |
Before Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB |
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
FILES=.
|
||||
for f in $FILES/*.jpg
|
||||
do
|
||||
mkdir -p $FILES/out;
|
||||
convert $f -sampling-factor 4:2:0 -strip -resize 300x300 -quality 85 -interlace JPEG -colorspace sRGB ${f%.*}-new.jpg;
|
||||
mv $FILES/*-new.jpg $FILES/out/$f;
|
||||
|
||||
done
|
||||
|
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.5 KiB |
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
convert $1 -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB $2
|
2
_site/sgawebsite/static/js/sidebar-min.js
vendored
|
@ -1,2 +0,0 @@
|
|||
function toggleSidebar(e){""!=sb.style.left&&"-30vw"!=sb.style.left||!e?(sb.style.disabled=!0,sb.style.left="-30vw"):(sb.style.disabled=!1,sb.style.left="0px")}var mb=document.querySelector("#menu-toggle"),sb=document.querySelector("nav#menu"),tb=document.querySelector("#logo"),dm=document.querySelector("#dome"),wr=document.querySelector("#wrapper")
|
||||
mb.addEventListener("click",function(){toggleSidebar(!0)},!1),wr.addEventListener("click",function(){toggleSidebar(!1)},!1),tb.addEventListener("click",function(){toggleSidebar(!1)},!1),dm.addEventListener("click",function(){toggleSidebar(!1)},!1),mb.addEventListener("touchleave",function(){toggleSidebar(!0)},!1),wr.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),tb.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),dm.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),sb.style.disabled=!0
|
|
@ -1,42 +0,0 @@
|
|||
var mb = document.querySelector("#menu-toggle"),
|
||||
sb = document.querySelector("nav#menu"),
|
||||
tb = document.querySelector("#logo"),
|
||||
dm = document.querySelector("#dome"),
|
||||
wr = document.querySelector("#wrapper");
|
||||
|
||||
mb.addEventListener("click", function () {
|
||||
toggleSidebar(true)
|
||||
}, false);
|
||||
wr.addEventListener("click", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
tb.addEventListener("click", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
dm.addEventListener("click", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
mb.addEventListener("touchleave", function () {
|
||||
toggleSidebar(true)
|
||||
}, false);
|
||||
wr.addEventListener("touchleave", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
tb.addEventListener("touchleave", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
dm.addEventListener("touchleave", function () {
|
||||
toggleSidebar(false)
|
||||
}, false);
|
||||
sb.style.disabled = true;
|
||||
|
||||
|
||||
function toggleSidebar(toggleOpenAllowed) {
|
||||
if ((sb.style.left == "" || sb.style.left == "-30vw") && toggleOpenAllowed) {
|
||||
sb.style.disabled = false;
|
||||
sb.style.left = "0px";
|
||||
} else {
|
||||
sb.style.disabled = true;
|
||||
sb.style.left = "-30vw";
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="" name="description">
|
||||
<meta content="William Zhang" name="author">
|
||||
<meta name="theme-color" content="#1976D2" />
|
||||
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" />
|
||||
<link href="icons/favicon.ico" rel="icon" type="image/ico">
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/>
|
||||
<link href="css/header.css" rel="stylesheet"/>
|
||||
<link href="css/main.css" rel="stylesheet"/>
|
||||
<link href="css/footer.css" rel="stylesheet"/>
|
||||
<link href="css/responsive.css" rel="stylesheet"/>
|
||||
|
||||
</head>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
.container {
|
||||
margin: 10px auto;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin: 30px 0;
|
||||
font-size: 4em;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
|
||||
<p><strong>Page not found :(</strong></p>
|
||||
<p>The requested page could not be found.</p>
|
||||
</div>
|