Skip to content

Commit

Permalink
jquery.org: remove unused sub-banner, member-level, corporate-level, …
Browse files Browse the repository at this point in the history
…choose-gifts, big-message

No search results for these. Mainly motivated by removing old
references to the now-undefined Klavika font.

Ref #451.
  • Loading branch information
Krinkle committed Apr 13, 2024
1 parent 49a58c9 commit 30f3cab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 266 deletions.
2 changes: 1 addition & 1 deletion themes/brand.jquery.org/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Template: jquery
font-size: 18px;
line-height: 1.2;
}
#banner-secondary.large-banner h1,
#banner-secondary.large-banner h1,
#banner-secondary.large-banner h2 {
font-size: 42px;
text-transform: uppercase;
Expand Down
265 changes: 0 additions & 265 deletions themes/jquery.org/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@ a, #sidebar h3 {
margin-bottom: 20px;
}

.sub-banner {
background-color: lightgray;
text-align: center;
margin: -25px -25px 0;
color: rgb(102,102,102);
font: bold 20px/40px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

#content > div.row {
margin-top: 30px;
}
Expand All @@ -81,228 +73,10 @@ ul.flex-direction-nav {
display: none;
}

.big-message {
font: bold 50px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
color: #ffffff !important;
margin-top: 20px;
}

#content .project h4 {
font: bold 24px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
margin-bottom: 0;
color: #464646;
}

#content .project {
margin-top: 35px;
}

#content .twelve.columns .project {
margin-top: 0;
}

.project img {
float: left;
display: inline;
width: 10%;
}

.project-text {
float: right;
width: 85.5%;
}

.member-level {
margin-bottom: 20px;
background-color: #222;
position: relative;
overflow: hidden;
}

.member-level.last {
margin-right: 0;
}

.member-level-icon {
display: block;
position: absolute;
top: 60px;
right: -50px;
width: 225px;
height: 225px;
opacity: 0.2;
z-index: 1;
}

.member-level button.button.join {
position: relative;
top: 0;
left: 15px;
margin-bottom: 15px;
}

.member-level-icon.fan {
background: url(images/icn-fan.png) center top no-repeat;
}

.member-level-icon.friend {
background: url(images/icn-friend.png) center top no-repeat;
}

.member-level-icon.hero {
background: url(images/icn-hero.png) center top no-repeat;
}

.corporate-level {
margin-bottom: 20px;
position: relative;
padding: 15px;
color: #f3f3f3;
}

.corporate-level .corporate-header {
min-height: 75px;
}

.corporate-level .corporate-header img {
position: absolute;
left: 50%;
margin-left: -150px;
}

#content .member-level h3 {
background-color: rgba(0, 0, 0, 0.66);
color: #ffffff;
text-align: center;
font-size: 30px;
line-height: 48px;
font-weight: bold;
}

.member-level .corporate-level p {
float: none;
}

.member-level .corporate-level p strong {
color: #f3f3f3;
}

#content .member-level .corporate-level ul {
margin-bottom: 10px;
}

.errors li {
color: #a00;
}

.member-level ul.gifts {
float: left;
list-style: none;
position: relative;
z-index: 2;
}

#content .member-level ul.gifts li,
#content .member-level ul.gifts li strong {
padding-left: 0;
padding-right: 15px;
background: none;
color: #f3f3f3;
font: bold "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

.member-level p {
color: #f3f3f3;
font: bold "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
float: left;
display: inline;
padding-left: 15px;
padding-right: 15px;
}

.member-level .choose-gifts button.button.pay {
float: left;
display: inline-block;
position: relative;
z-index: 2;
margin: 0 5% 30px 0;
width: 44%;
max-width: 135px;
}

.member-level form .button {
clear: none;
}

.choose-gifts {
background-color: lightgray;
clear: both;
position: relative;
z-index: 2;
padding-left: 15px;
padding-right: 15px;
padding-top: 15px;
padding-bottom: 45px;
}

.choose-gifts h4 {
font: bold 18px/20px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
margin-bottom: 10px;
}

.choose-gifts label {
color: #ffffff;
margin-right: 20px;
}

.choose-gifts hr {
height: 1px;
margin-top: 15px;
margin-bottom: 15px;
background: #898989;
}

.choose-gifts select {
display: block;
width: 100%;
margin-bottom: 15px;
}

#content .choose-gifts textarea {
width: 100%;
min-width: 200px;
background: white;
border: 1px solid rgba(192,192,192,1);
}

.choose-gifts input[type="name"] {
margin-right: 3px;
}

.choose-gifts input[type="name"], .choose-gifts input[type="email"]{
display: inline;
width: 49%;
padding: 8px 12px;
border: 1px solid rgba(192,192,192,1);
border-radius: 2px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
}

#content .choose-gifts input:focus,
#content .choose-gifts input[type=text]:focus,
#content .choose-gifts textarea:focus {
border: 1px solid #78cff5;
box-shadow: none;
}

#content .choose-gifts input::placeholder {
color: rgba(51,51,51,0.75);
}

#content .choose-gifts textarea::placeholder {
color: rgba(51,51,51,0.75);
}

/*History Page*/

.page-slug-history #content h2 {
Expand Down Expand Up @@ -375,28 +149,6 @@ nav#main ul {
line-height: 1.4em;
padding-bottom: 60px;
}

.member-level {
width: 100%;
margin-bottom: 30px;
}

.sub-banner {
background-color: #d6eef1;
text-align: center;
height: auto;
color: #007d88;
font: 20px/26px "klavika-web";
margin: -30px -15px 0;
padding: 2% 10% 0.5%;
}
}

@media only screen and (max-width: 600px) {
.sub-banner {
margin-left: -10px;
margin-right: -10px;
}
}

/*iPhone Landscape*/
Expand Down Expand Up @@ -432,21 +184,4 @@ nav#main ul {
line-height: 1.1em;
padding-bottom: 60px;
}

.member-level {
width: 100%;
margin-bottom: 30px;
}

.sub-banner {
margin-left: -25px;
margin-right: -25px;
padding-top: 3.5%;
}

.big-message {
font: bold 30px/30px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif !important;
color: #ffffff !important;
margin-top: 20px;
}
}

0 comments on commit 30f3cab

Please sign in to comment.