Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Commit

Permalink
Cleaned out unnecessary code / files (ei: ads)
Browse files Browse the repository at this point in the history
  • Loading branch information
websanova committed Aug 13, 2013
1 parent bb77cd3 commit 81b997a
Show file tree
Hide file tree
Showing 17 changed files with 352 additions and 169 deletions.
Binary file removed assets/img/addthis-github.png
Binary file not shown.
5 changes: 0 additions & 5 deletions assets/jquery.1.9.1.min.js

This file was deleted.

121 changes: 113 additions & 8 deletions assets/demo.css → demo/demo.css
Expand Up @@ -21,6 +21,14 @@ code {
border-radius: 5px;
}

h2 {
display: inline-block;
}

.no-margin-top {
margin-top: 0px;
}

/*** header ***/

header {
Expand Down Expand Up @@ -52,26 +60,60 @@ header {
background-image: url('./img/websanova-logo-small-full-black.png');
}
#header-links {
display: none;
position: absolute;
right: 10px;
width: 100%;
left: 0px;
top: 40px;
}
#header-links a {
font-size: 10px;
display: block;
font-size: 9px;
font-weight: bold;
font-family: Verdana;
color: #FAFAFA;
text-transform: uppercase;
margin-left: 20px;
margin-left: 0px;
text-align: center;
background-color: #1B1B1B;
border-top: solid 1px #CACACA;
line-height: 14px;
padding: 10px;
}
#header-links a:hover {
color: #636363;
}

/*** menu ***/

#header-menu-button {
position: absolute;
right: 6px;
top: 6px;
display: block;
color: #757575;
background-color: #e1e1e1;
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
background-image: linear-gradient(top, #ebebeb, #e1e1e1);
box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
border: none;
border-radius: 3px;
-webkit-border-radius: 3px;
padding: 6px 10px;
font-size: 11px;
line-height: 16px;
cursor: pointer;
}

/*** content ***/

#plugin-name {
padding-bottom: 30px;
font-size: 30px;
font-size: 24px;
border-bottom: solid #CACACA 1px;
}
#github-button {
Expand All @@ -86,12 +128,12 @@ header {
#addthis-toolbox {
position: absolute;
right: 15px;
top: 44px;
top: 40px;
}
#content {
position: relative;
background: #FEFEFE;
max-width: 600px;
max-width: 728px;
padding: 20px;
margin: 30px auto;
}
Expand Down Expand Up @@ -146,16 +188,79 @@ footer {
#github-icon { background-image: url('./img/github-icon.png'); width: 20px; }
#rss-icon { background-image: url('./img/rss-icon.png'); }


/*** media ***/

@media screen and (min-width: 600px) {
#header-logo {
left: 50px;
}
#header-links {
#footer-icons {
left: auto;
right: 50px;
}
#footer-icons {
#header-links {
display: block !important;
width: auto;
top: 0px;
left: auto;
right: 50px;
}
#header-links a {
display: inline;
font-size: 10px;
margin-left: 20px;
text-align: left;
background-color: none;
border-top: 0px;
margin-left: 10px;
line-height: inherit;
padding: 0px;
}
#header-menu-button {
display: none;
}
#plugin-name {
font-size: 30px;
}
#addthis-toolbox {
top: 44px;
}
}

/*** ads ***/

.websanova-plugins-page-horizontal-responsive { display:block; margin:0 auto; width: 320px; height: 50px; }
@media(min-width: 520px) { .websanova-plugins-page-horizontal-responsive { width: 468px; height: 60px; } }
@media(min-width: 800px) { .websanova-plugins-page-horizontal-responsive { width: 728px; height: 90px; } }

.adsblock {
position: relative;
margin: 0 auto;
}
.ads2block {
margin-top: 20px;
}
.adsblock-mobile-banner {
width: 320px;
height: 50px;
}
.adsblock-banner {
display: none;
width: 468px;
height: 60px;
}
.adsblock-leaderboard {
display: none;
width: 728px;
height: 90px;
}
@media (min-width:520px) {
.adsblock-mobile-banner { display: none; }
.adsblock-banner { display: block; }
}
@media (min-width:800px) {
.adsblock-mobile-banner { display: none; }
.adsblock-banner { display: none; }
.adsblock-leaderboard { display: block; }
}
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 81b997a

Please sign in to comment.