Skip to content

Instantly share code, notes, and snippets.

@mclanecreative
Last active January 3, 2016 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mclanecreative/8479430 to your computer and use it in GitHub Desktop.
Save mclanecreative/8479430 to your computer and use it in GitHub Desktop.
Childhood Lost College CSS
/* Credits
v 1.1
Childhood Lost College Version, World Vision
Theme customizations: Adam McLane
Github revision repository: https://gist.github.com/mclanecreative/6237117
*/
/* Header */
#logo {
display: inline-block;
float: leftt;
margin-left: 20%;
padding: 0;
}
#CL_Logo {
margin-top: 10%;
}
#WVlogo {
display: inline-block;
margin: 0;
float: left;
margin-top: -70px;
padding-top: 6px;
background:white;
padding-left:2px;
padding-right:2px;
padding-bottom:2px;
-webkit-border-bottom-right-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-bottomright: 3px;
-moz-border-radius-bottomleft: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
-webkit-box-shadow: 0 8px 6px -6px black;
-moz-box-shadow: 0 6px 6px -6px black;
box-shadow: 0 6px 6px -6px black;
}
#header .surround {
border-top-style: solid;
border-top-color: #ff6801;
border-top-width: 8px;
}
.home .slideshow {
margin: 0 !important;
max-height: 580px;
overflow: hidden;
background: #000;
}
.home .slideshow .slide {
height: 580px;
}
.home .stickercontainer {
position: relative;
top: 6em;
width: 200px;
height: 200px;
margin: auto;
font-size: 2em;
-moz-transform: rotate(-25deg);
-webkit-transform: rotate(-25deg);
-o-transform: rotate(-25deg);
transform: rotate(-25deg);
}
.home .sticker {
position: absolute;
width: 50%;
height: 50%;
top: -10%;
left: 10%;
background: -moz-radial-gradient(center, ellipse cover, #2a7598 0%, #000 400%);
background: -webkit-radial-gradient(center, ellipse cover, #2a7598 0%, #000 400%);
background: -o-radial-gradient(center, ellipse cover, #2a7598 0%, #000 400%);
background: radial-gradient(center, ellipse cover, #2a7598 0%, #000 400%);
box-shadow: 0px 1px 5px -1px #000;
border-radius: 50%;
}
.home .stickertext {
position: absolute;
width: 67%;
height: 100%;
top: 5%;
overflow: hidden;
text-align: center;
font-size: 40%;
color: white;
margin:3px;
}
/* Menu */
#mainNav {
position: relative;
height: 20px;
margin-top: 10px;
top: 50%;
margin-left:22%;
}
#menu-item-191 {
margin-top:1px;
width: 20px;
height: 20px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/twitter-20-hover.png");
text-indent: -9999px;
}
#menu-item-191 a {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/twitter-20.png");
height: 20px;
}
#menu-item-191 a:hover {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/twitter-20-hover.png");
height: 20px;
}
#menu-item-192 {
margin-top:1px;
width: 20px;
height: 20px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/email-20-hover.png");
text-indent: -9999px;
}
#menu-item-192 a {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/email-20.png");
height: 20px;
}
#menu-item-192 a:hover {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/email-20-hover.png");
height: 20px;
}
#menu-item-193 {
margin-top:1px;
width: 20px;
height: 20px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/facebook-20-hover.png");
text-indent: -9999px;
}
#menu-item-193 a {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/facebook-20.png");
height: 20px;
}
#menu-item-193 a:hover {
margin-top:1px;
background-image: url("http://childhoodlost.org/wp-content/uploads/2013/09/facebook-20-hover.png");
height: 20px;
}
.menu-item-157 {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #ff6701;
color: #FFF;
font-size: 14px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.menu-item-157:hover {
background: #f6a22d;
color: #262626;
}
.menu-item-157:active {
border-color: #fff;
background: #fff;
}
.menu-item-157 a {
color: #FFF !important;
margin-left: 8px;
margin-right: 8px;
}
.menu-item-261 {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #2a7598;
color: #FFF;
font-size: 14px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.menu-item-261:hover {
background: #5fa4c4;
color: #262626;
}
.menu-item-261:active {
border-color: #fff;
background: #fff;
}
.menu-item-261 a {
color: #FFF !important;
margin-left: 8px;
margin-right: 8px;
}
.sectionHead h3 {
color: #ff6801 !important;
font-size: 2.8em !important;
text-transform: uppercase;
}
/* Current Project */
#featured_video {
margin-left:20%;
margin-right:20%;
width:60%;
background-color:#fff;
}
#current_project {
background: #544741;
color: #FFF;
font-size: 2em;
text-transform: uppercase;
text-align: center;
padding-bottom: 20px;
padding-top: 20px;
border-top: solid 8px #ff6801;
}
/* Fundraise */
#fundraise_report {
background: #ff6801;
color: #FFF;
font-size: 2em;
text-transform: uppercase;
text-align: center;
padding-bottom: 20px;
padding-top: 20px;
border-bottom: solid 3px #fff;
}
#fundraise_report h1 {
color: #FFF;
font-size: 2em;
text-transform: uppercase;
text-align: center;
}
#fundraise_report h2 {
color: #FFF;
font-size: 1.5em;
text-transform: uppercase;
font-weight: 600;
text-align: center;
}
#fundraise_toraise {
background: #e1e1e1;
color: grey;
font-size: 2em;
text-transform: uppercase;
text-align: center;
padding-bottom: 20px;
padding-top: 20px;
}
/* Progress Report */
#progress_report {
color: #FFF;
font-size: 2em;
width:60%;
margin-left:20%;
margin-right:20%;
text-transform: uppercase;
text-align: center;
padding-bottom: 20px;
padding-top: 20px;
}
#progress_report h1 {
color: #f60;
font-size: 2.4em;
}
#progress_report h4 {
position: relative;
color: #666;
font-size: .9em !important;
text-transform: none;
}
#progress_report h6 {
color: #666;
font-size: 1.2em;
}
#progress_table {
display: table;
width: 60%;
padding-left: 20%;
}
.progress_row {
display: table-row;
}
.progress_cell {
display: table-cell;
margin: 20%;
border-collapse: separate;
}
.progress_cell H1 {
font-family: Diplomata, cursive !important;
color: #FFF;
font-size: .6em;
}
.progress_cell H6 {
color: #FFF;
font-size: 60%;
text-transform: none;
}
.progress_cell_total {
font-family: Diplomata, cursive;
font-size: 1.9em;
text-align: center;
}
.home-signup {
width: 100px;
margin-left: 7px;
margin-right: 7px;
border: 4px solid #fff;
background: #f60;
padding: 7px 20px 5px;
color: #FFF !important;
font-size: 24px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.home-signup a {
color: #FFF;
}
.home-signup:hover {
color: #000;
}
.home-signup:hover {
background: #c1c1c1;
color: #000 !important;
}
.home-signup:active {
border-top-color: #fff;
background: #fff;
}
.home-learnmore a {
color: #ff6801;
font-size: .4em;
}
.home-learnmore a:hover {
color: #eb8e4e;
font-size: .4em;
}
.home-progress-signup {
width: 100px;
margin-left: 7px;
margin-right: 7px;
border: 4px solid #fff;
background: #f60;
padding: 7px 20px 5px;
color: #FFF !important;
font-size: 24px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.home-progress-signup a {
color: #FFF;
}
.home-progress-signup:hover {
color: #000;
}
.home-progress-signup:hover {
background: #c1c1c1;
color: #000 !important;
}
.home-progress-signup:active {
border-top-color: #fff;
background: #fff;
}
.home-progress-learnmore {
font-size: 16px;
position: relative;
alignment-baseline: middle;
}
.home-progress-learnmore:hover {
font-size: 16px;
position: relative;
alignment-baseline: middle;
color: #F93;
}
/* Page Elements */
#pageHead h1 {
font-size:3em;
color:#ff6801;
text-transform:uppercase;
font-weight:600;
}
.inside h2 {
color: #f60;
text-transform: uppercase;
font-size: 2.2em;
}
.projectNav a {
color: #ffffff;
background:#ff6801;
display: inline-block !important;
font-size: 0.85em;
padding-top:1px;
padding-bottom:1px;
padding-right:3px;
padding-left:3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.projectNav a:hover {
color: #ffffff;
background:#f7a128;
display: inline-block !important;
font-size: 0.85em;
padding-top:1px;
padding-bottom:1px;
padding-right:3px;
padding-left:3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/* Footer */
.progress-twitter {
display: inline-block;
width: 50px;
height: 50px;
position: relative;
background: url(http://childhoodlost.org/wp-content/uploads/twitter-hover.png) bottom;
text-indent: -99999px;
}
.progress-twitter:hover {
background-position: 0 0;
}
.progress-facebook {
display: inline-block;
width: 50px;
height: 50px;
position: relative;
background: url(http://childhoodlost.org/wp-content/uploads/facebook-hover.png) bottom;
text-indent: -99999px;
}
.progress-facebook:hover {
background-position: 0 0;
}
.progress-email {
display: inline-block;
width: 50px;
height: 50px;
position: relative;
background: url(http://childhoodlost.org/wp-content/uploads/email-hover.png) bottom;
text-indent: -99999px;
}
.progress-email:hover {
background-position: 0 0;
}
#featuredPages .page p {
display: none;
}
.footer-social {
color: #FFF;
font-size: 24px;
alignment-adjust: middle;
}
#footerlogos {
background: none repeat scroll 0 0 #FFFFFF;
padding: 5px 3px 10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
float:right;
}
/* Responsive Design */
@media screen and max-width 960px {
#WVlogo {
display: none !important;
}
#progress_report h1 {
color: #f60;
font-size: 1em;
}
.progress_cell H1 {
color: #FFF;
font-size: 12px;
}
.progress_cell H6 {
color: #FFF;
font-size: 12px;
text-transform: none;
}
.progress_cell_total {
font-family: Diplomata, cursive;
font-size: .8em;
text-align: center;
}
.home-signup {
display: block;
width: 500px;
margin-left: 30%;
margin-right: 30%;
border: 4px solid #fff;
background: #f60;
padding: 7px 20px 5px;
color: #FFF !important;
font-size: 12px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.home-signup a {
color: #FFF;
}
.home-signup:hover {
color: #000;
}
.home-signup:hover {
background: #c1c1c1;
color: #000 !important;
}
.home-signup:active {
border-top-color: #fff;
background: #fff;
}
face
.home .slideshow {
margin: 0 !important;
max-height: 400px;
overflow: hidden;
background: #000;
}
.home .slideshow .slide {
height: 400px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment