Skip to content

Commit

Permalink
remove unused css
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Schubert committed Dec 12, 2014
1 parent 266cb1d commit 2c68f92
Showing 1 changed file with 28 additions and 294 deletions.
322 changes: 28 additions & 294 deletions app/assets/stylesheets/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ nav.navbar-fixed-top {
}
}

#masthead, #footer {
h1, p {
color: #111;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
z-index: 30;

a {
color: #fff;
font-weight: bold;
}
}
}

#masthead {
background-color: #fcfcfc;
border-bottom: 1px solid #999;
Expand All @@ -25,12 +38,23 @@ nav.navbar-fixed-top {
background-image: -ms-radial-gradient(50% 50%, circle cover, #fcfcfc, #e6e6e6 100%);
background-image: radial-gradient(50% 50%, circle cover, #fcfcfc, #e6e6e6 100%);

h1, h2 {
text-align: center;
}

h1 {
color: #111;
font-size: 54px;
line-height: 1.3;
margin-bottom: 0;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px white;
}

h2 {
color: #347caa;
font-size: 1.7em;
font-weight: normal;
margin-top: 5px;
text-align: center;
}
}
}
Expand Down Expand Up @@ -59,301 +83,11 @@ footer {
}
}





#masthead h1,
#footer h1,
#masthead p,
#footer p {
color: #111;
z-index: 30;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }

#masthead p a,
#footer p a {
color: #fff;
font-weight: bold; }

#masthead h1,
#masthead p {
text-align: center;
margin-bottom: 9px; }

#masthead h1 {
font-size: 54px;
line-height: 1.3;
margin-bottom: 0;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px white;
color: #111;
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(black)); }

#masthead p {
font-weight: 300; }

#masthead p.lead {
font-size: 20px;
line-height: 27px; }

.potential_supporter {
text-align: center;
border: 2px dotted #ddd;
height: 200px;
border-radius: 5px;
padding-top: 50px; }
.potential_supporter h6 {
padding: 10px; }

#donations {
text-align: center; }

section {
padding-top: 50px; }

.click {
font-weight: bold;
font-style: normal;
color: #347caa; }

.more-info {
.more-info {
color: #808080;
font-style: italic;
color: #808080; }

#carousel {
text-align: center;
margin-top: -15px; }

#carousel > div {
position: relative;
max-height: 575px;
height: 600px; }

#cubbies-overlay-container {
position: absolute;
display: inline-block;
z-index: 5; }

.rectangle_overlay {
-webkit-box-shadow: 0 2px 20px black;
-moz-box-shadow: 0 2px 20px black;
box-shadow: 0 2px 20px black;
border: 1px solid #777;
border-bottom: 1px solid #444;
top: 405px;
width: 500px;
background-color: #fff;
background-color: rgba(255, 255, 255, 0.98);
text-align: left;
padding: 30px;
z-index: 3;
position: absolute;
height: 112px;
text-align: left; }
.rectangle_overlay h2 {
color: #111;
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.8)), to(black)); }
.rectangle_overlay h4 {
line-height: normal;
margin-bottom: 15px;
font-weight: normal; }

.hidden {
display: none; }

#overlay_container {
-webkit-transition: opacity 0.1s linear;
-moz-transition: opacity 0.1s linear;
-o-transition: opacity 0.1s linear;
transition: opacity 0.1s linear; }

.zero-opacity {
opacity: 0; }

/* hack to enable hardware acceleration on webkit browsers */
.accel {
-webkit-transform: translateZ(0); }

#backing-rectangle {
background-color: #838383;
width: 100%;
position: absolute;
top: 355px;
height: 160px;
right: 50px;
border-right: 1px solid #666;
border-bottom: 2px solid #fff;
border-top: 1px solid #666;
z-index: 2;
background-image: linear-gradient(bottom, #838383 16%, #7d7d7d 83%);
background-image: -o-linear-gradient(bottom, #838383 16%, #7d7d7d 83%);
background-image: -moz-linear-gradient(bottom, #838383 16%, #7d7d7d 83%);
background-image: -webkit-linear-gradient(bottom, #838383 16%, #7d7d7d 83%);
background-image: -ms-linear-gradient(bottom, #838383 16%, #7d7d7d 83%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.16, #838383), color-stop(0.83, #7d7d7d));
box-shadow: inset 0 1px 8px #555; }

#carousel-pagers {
position: absolute;
left: 20px;
top: 400px;
z-index: 4; }
#carousel-pagers a {
-webkit-transition: color 0.2s linear;
-moz-transition: color 0.2s linear;
-o-transition: color 0.2s linear;
transition: color 0.2s linear;
color: #777;
display: block;
font-weight: bold;
text-shadow: 0 -1px 0 #444444;
padding: 1px;
margin: 2px; }
#carousel-pagers a:hover {
text-decoration: none;
color: #555; }
#carousel-pagers a.active {
color: #fff; }

#triangle-top {
border-color: transparent transparent #6f6f6f transparent;
border-style: solid;
border-width: 50px;
height: 0px;
width: 50px;
z-index: 1;
position: absolute;
top: 305px;
right: 40px; }

#triangle-bottom {
border-color: #6f6f6f transparent transparent transparent;
-webkit-transform: rotate(90deg);
border-style: solid;
border-width: 50px;
height: 0px;
width: 50px;
z-index: 1;
position: absolute;
top: 440px;
right: 40px; }

#triangle-fill {
position: absolute;
display: inline-block;
height: 100px;
width: 50px;
top: 405px;
background-color: #6f6f6f; }

.cubbies-screenshot {
position: absolute;
z-index: 2;
top: 20px;
right: 60px; }

.featured-users {
position: absolute;
z-index: 2;
top: 20px;
right: 80px; }

.distributed {
position: absolute;
z-index: 2;
top: 0px;
right: 140px; }

.center {
text-align: center; }

.inset {
text-align: center;
margin-top: 20px;
margin-bottom: -40px; }

#get-involved-subnav {
text-align: center; }
#get-involved-subnav ul.pills {
margin: 0; }
#get-involved-subnav .tabs > li, #get-involved-subnav .pills > li {
float: none;
display: inline-block; }

#start-contributing h6 {
text-align: center; }

#contributor-count {
position: absolute;
width: 100%;
text-align: center;
bottom: 10px;
color: #666;
text-shadow: 0 0px 3px #fff; }

#locale-switcher {
text-align: right;
border-left: 1px solid #eee;
height: 5em;

ul {
text-align: left;

.current a {
font-weight: bold;
}
}

// Hacks to make it work with the f*cked up bootstrap
.dropdown-toggle:after {
content:'';
border-top-color: black;
}

.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}

.btn-group {
position: relative;
display: inline-block;
}
.open {
& > .dropdown-menu {
display: block;
}
}
}

#CC-licence {
margin: 12em 0 3em 0;
.center {
text-align: center;
font-size: 10px;

img {
border: 0;
margin: 0 10px;
vertical-align: middle;
}

span {
font-size: 10px;
color: #666;
}

a {
font-size: 10px;
color: #666;
}
}

0 comments on commit 2c68f92

Please sign in to comment.