flask-site/static/css/style.css

589 lines
No EOL
7.7 KiB
CSS

body {
font-family:'Open Sans', Tahoma, Geneva, sans-serif;
margin:0;
padding:0;
background-color:#fff;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Ubuntu', sans-serif;
}
a {
-webkit-transition: color 0.5s, background-color 0.5s; /* Safari */
transition: color 0.5s, background-color 0.5s;
}
pre {
max-width: 565px;
white-space: pre-wrap;
width: 95%;
margin: auto;
}
th {text-align: left;}
td {
padding: 5px 20px;
}
td ul {
display: inline-block;
margin: 5px;
}
input, textarea {
background-color: #FFF;
color: #002900;
border: 1px solid #002900;
border-radius: 15px;
padding: 5px;
display: block;
margin: 5px auto;
width: 95%;
max-width: 450px;
text-align: center;
}
input[type='submit'] {
color: #FFFFFF;
background-color: #002900;
max-width: 464px;
cursor: pointer;
}
#nav {
position:fixed;
top:0;
margin:0;
background-color:#002900;
height:60px;
width:100vw;
z-index:99;
}
.main-nav {
position:fixed;
top:0;
left: 0;
right: 0;
height:50px;
width:100vw;
max-width: 1100px;
margin:auto;
padding:12px 0;
z-index:99;
}
.main-nav h1 {
top:20px;
color:white;
text-align:left;
display:inline;
padding:10px;
width:200px;
font-size:30px;
}
.main-nav h1 a:link, .main-nav h1 a:visited, .main-nav h1 a:hover, .main-nav h1 a:active {
color:white;
text-decoration:none;
}
#menu-container {
overflow-x: hidden;
display: inline;
}
.main-nav ul {
float:right;
margin-top:-5px;
margin:0;
padding:0;
list-style-type:none;
}
.main-nav li {
display:inline-block;
margin:0 auto;
padding:0;
width: 120px;
}
.main-nav li a {
display:block;
}
.main-nav li a:link, .main-nav li a:visited {
text-decoration:none;
text-align:center;
color:white;
padding:5px;
margin:0 auto;
font-size:16px;
font-weight:bold;
border-radius: 40px;
width: 80%;
}
.main-nav li a:hover, .main-nav li a:active {
background-color:#5C995C;
}
.main-nav p {
margin:0 0 0 15px;
padding:0;
color:white;
font-size:12px;
}
.main-nav p a {
text-decoration:none;
color:white;
}
#menu {
display:inline-block;
}
#menu-icon {
display:none;
}
.nav-spacer {
width: 100%;
height: 100px;
}
.container {
min-height: 100vh - 60px;
padding-top: 60px;
}
.content {
width:90%;
max-width:1100px;
margin:auto;
}
.content h1, .content h2 {
color:#002900;
text-align:left;
padding: 5px;
border-bottom: 1px solid #002900;
}
.flash {
width: 80%;
background-color: rgb(175, 255, 175);
color: rgb(0, 41, 0);
border: 1px solid rgb(0, 41, 0);
max-width: 400px;
text-align: center;
padding: 10px;
margin: 20px auto 0px;
}
#changing-text {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
left: 0;
right: 0;
}
.section {
border-radius: 40px;
padding:1px 15px 15px 15px;
}
.blog-entry {
margin: 5px 20px 15px;
padding: 0 20px;
}
.blog-entry:last-of-type {
margin-bottom: 5px;
}
.blog-entry h3, .blog-entry h5, .blog-entry p {
margin: 5px 0;
}
.blog-entry h5 {
font-style: italic;
}
.one-half {
width: 45%;
margin: 0 2.5%;
float: left;
}
.one-third {
width: 30%;
margin: 5px 1.5%;
float: left;
text-align: center;
}
h1.entry-title {
padding: 5px;
border-bottom: 1px solid black;
text-align: left;
}
a.view-more {
display: block;
float: right;
}
#home {
color:white;
}
a.insta-link {
display: inline-block;
float: left;
position: relative;
padding: 10px;
width: 155px;
margin: auto;
}
a.insta-link img {
border-radius: 50%;
}
a.insta-link span {
border-radius: 50%;
color: #fff;
opacity: 0;
position: absolute;
-webkit-transition:opacity 0.25s linear;
transition:opacity 0.25s linear;
}
a.insta-link:hover span {
opacity: 1;
}
span.insta-caption-bg {
background-color: rgba(0, 0, 0, 0.75);
top: 0;
bottom: 0;
left: 0;
width: 150px;
height: 150px;
right: 0;
margin: 10px;
}
span.insta-caption {
text-align: center;
position: absolute;
top: 50%;
left: 0;
right: 0;
width: 130px;
margin: 0 20px;
height: auto;
max-height: 130px;
font-size: 14px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
div#instafeed {
overflow: hidden;
}
#home img {
border-radius:50%;
height:auto;
width:150px;
display:inline-block;
float:none;
margin:10px;
}
#about {
background-color:white;
padding:1px 15px 15px 15px;
}
.desktop {
display:inline-block;
width:70%;
}
.glance {
display:inline-block;
width:20%;
}
.glance p {
text-align:center;
}
.glance ul {
margin:auto;
display:inline-block;
}
#projects {
background-color:#002900;
color:white;
margin:50px auto;
overflow: hidden;
}
#projects h2 {
color: #ffffff;
border-bottom: 1px solid white;
}
#projects h3 {
margin: 10px auto;
}
#projects p {
margin: 5px auto;
}
#projects a:hover {
color: #fff;
}
.project {
width:75%%;
margin: 0 auto 10px;
text-align: left;
overflow: hidden;
}
.project li {
float:left;
width:50%;
}
.project-logo {
height: auto;
width: 95%;
max-width: 200px;
max-height: 100px;
margin: auto;
border: 1px solid white;
}
.project-description {
margin: 5px 5px 50px;
overflow: hidden;
float: left;
}
.project-description:last-of-type {
margin: 5px;
}
.project-description h3 {
margin-top: 0;
}
.project-description .project-logo {
border: 1px solid black;
}
.ff-store-link {
height: auto;
width: 40%;
margin: auto;
max-width: 172px;
}
.chrome-webstore-link {
height: auto;
width: 51%;
margin: auto;
max-width: 206px;
}
.project h4 {
text-align:center;
}
.logo-link {
float: left;
margin-right: 20px;
}
footer {
display: block;
width: 100%;
background-color: #002900;
border-top: 3px solid #fff;
text-align: center;
overflow: hidden;
color: #fff;
}
a#menu-icon {
color: #fff;
}
a.social-link {
font-size: 20px;
margin: 0 5px;
}
a.social-link:link, a.social-link:visited {
color: #fff;
}
a.social-link:hover, a.social-link:active {
color: #476C47;
}
.section a:link, .section a:visited {
color: #476C47;
}
.section a:hover, .section a:active {
color: #000;
}
.entry-footer {
border-radius: 50px;
}
.entry-footer span {
margin: auto 5px;
}
.entry-footer a:link, .entry-footer a:visited {
color: #5C995C;
}
.entry-footer a:hover, .entry-footer a:active {
color: #fff;
}
/* Admin Styles */
.admin-table {
width: 100%;
}
.admin-table th, .admin-table td {
padding: 10px 5px;
}
.admin-table tr:first-child th, {
padding-bottom: 5px;
}
.admin-table tr:first-child td {
padding-top: 5px;
}
.admin-table th:first-child, .admin-table td:first-child {
width: 50%;
}
@media screen and (max-width:1024px) {
.main-nav, #nav {
position: absolute;
}
#menu {
display:none;
opacity:0;
width:100%;
position: absolute;
top: 60px;
padding:0;
background-color:#002900;
float:none;
-webkit-transition: opacity 0.5s ease;
transition: opacity 0.5s ease;
}
#menu-icon {
position:absolute;
right:30px;
display:inline;
width:auto;
margin: 2px 10px;
font-size: 24px;
}
.main-nav li {
display:block;
margin:0 auto;
padding:0;
background-color:#002900;
width:100%;
}
.main-nav li a {
width:90%;
margin: 0 auto;
}
.desktop {
display:none;
}
.glance {
width:95%;
margin:auto;
}
.project {
display:block;
width:95%;
margin:auto;
}
.project-logo {
display: block;
float:none;
margin:auto;
}
.social-link {
font-size: 30px;
}
}
@media all and (max-width: 768px) {
.one-half {
width: 95%;
text-align: center;
}
th, td {
float: left;
clear: left;
margin-left: 20px;
}
}
@media all and (max-width: 870px) {
.one-third {
width: 45%;
margin: 5px 2.5% 40px;
}
}
@media all and (max-width: 782px) {
.customize-support #nav, .customize-support .main-nav {
top: 46px;
}
}
@media all and (max-width: 700px) {
.one-third {
width: 90%;
margin: 5px 5% 40px;
}
}