Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- See, Qntra totally has modern CSS!
- Theme based on Automattic's Toolbox, shame they abandoned their only decent theme
- Version: 1.4
- License: GNU General Public License v2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
- */
- /* =Structure
- -------------------------------------------------------------- */
- body {
- background: #C0C0C0;
- }
- #page {
- display: block;
- margin: 2em auto;
- padding: 1.5em;
- max-width: 1200px;
- min-width: 800px;
- background: #fff;
- font-family: Georgia, "Times New Roman", Times, Serif;
- }
- #primary {
- float: left;
- width: 70%;
- background: #fff;
- }
- #content {
- margin: 0.5em 0;
- }
- #main {
- background: #fff;
- }
- #main .widget-area {
- float: right;
- overflow: hidden;
- width: 29%;
- min-width: 220px;
- background: #fff;
- }
- #colophon {
- clear: both;
- display: block;
- width: 100%;
- }
- /* aka "clearfix" */
- .group:after {
- content: "";
- display: table;
- clear: both;
- }
- sup, sub {
- vertical-align: baseline;
- position: relative;
- top: -0.4em;
- }
- sub { top: 0.4em; }
- pre {
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4-6 */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word; /* Internet Explorer 5.5+ */
- }
- a {
- color: #3939DE;
- }
- a:visited {
- color: #5A2E82;
- }
- /* Text meant only for screen readers */
- .screen-reader-text,
- .assistive-text {
- position: absolute !important;
- clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
- clip: rect(1px, 1px, 1px, 1px);
- }
- /* Alignment */
- .alignleft {
- display: inline;
- float: left;
- }
- .alignright {
- display: inline;
- float: right;
- }
- .aligncenter {
- clear: both;
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
- /* =Header
- -------------------------------------------------------------- */
- #branding {
- margin-bottom: 20px;
- }
- #branding img {
- display: block;
- float: left;
- }
- #site-title {
- font-size: 2em;
- font-weight: bold;
- margin: 0 0 .2em 2.2em;
- }
- .sub-title {
- margin: -0.25em 0 .2em 4.1em;
- font-size: 1.1em;
- font-weight: normal;
- }
- #site-title a {
- text-decoration: none;
- }
- .entry-title a {
- text-decoration: none;
- }
- #site-description {
- font-size: 1em;
- font-weight: normal;
- margin: 0 0 1em;
- }
- /* =Menu
- -------------------------------------------------------------- */
- #access {
- background: #fff;
- display: block;
- margin: 1em -1.5em;
- padding: 0.5em 1.5em 0.75em;
- border-bottom: 5px solid #C0C0C0;
- font-family: Helvetica, Arial, sans-serif;
- }
- #access ul {
- list-style: none;
- margin: 0;
- padding-left: 0;
- }
- #access li {
- float: left;
- position: relative;
- }
- #access a {
- display: block;
- line-height: 2em;
- font-size: .825em;
- padding-right: 2em;
- text-decoration: none;
- font-weight: bold;
- text-transform: uppercase;
- }
- #access li.current_page_item a {
- color: #222;
- }
- #access ul ul {
- box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- display: none;
- float: left;
- position: absolute;
- top: 2em;
- left: 0;
- z-index: 99999;
- }
- #access ul ul ul {
- left: 100%;
- top: 0;
- }
- #access ul ul a {
- background: #dedede;
- line-height: 1em;
- padding: .5em .5em .5em 1em;
- width: 10em;
- height: auto;
- }
- #access li:hover > a,
- #access ul ul :hover > a {
- background: #dedede;
- }
- #access ul ul a:hover {
- color: #cecece;
- }
- #access ul li:hover > ul {
- display: block;
- }
- /* =Content
- -------------------------------------------------------------- */
- .sticky {
- }
- .post {
- margin: 0 2em 3em 0;
- }
- .post p {
- font-size: 0.95em;
- line-height: 1.6em;
- }
- .post blockquote {
- border-left: 4px solid #eee;
- font-style: italic;
- margin: 0;
- padding: 0 0 0 1.6em;
- }
- .entry-title {
- margin: 0 0 0.2em 0;
- }
- .entry-meta {
- clear: both;
- display: block;
- font-size: 0.8em;
- color: #999;
- }
- .single-author .entry-meta .byline {
- display: none;
- }
- #content nav {
- display: block;
- overflow: hidden;
- }
- #content nav .nav-previous {
- float: left;
- width: 50%;
- }
- #content nav .nav-next {
- float: right;
- text-align: right;
- width: 50%;
- }
- #content #nav-above {
- display: none;
- }
- .paged #content #nav-above,
- .single #content #nav-above {
- display: block;
- }
- #nav-below {
- margin: 1em 0 0;
- }
- .page-link {
- clear: both;
- margin: 0 0 1em;
- }
- .page .edit-link {
- clear: both;
- display: block;
- }
- /* 404 page */
- .error404 .widget {
- float: left;
- width: 33%;
- }
- .error404 .widget .widgettitle,
- .error404 .widget ul {
- margin-right: 1em;
- }
- .error404 .widget_tag_cloud {
- clear: both;
- float: none;
- width: 100%;
- }
- /* Notices */
- .post .notice,
- .error404 #searchform {
- background: #eee;
- display: block;
- padding: 1em;
- }
- /* Image Attachments */
- .image-attachment div.entry-meta {
- float: left;
- }
- .image-attachment nav {
- float: right;
- margin: 0 0 1em 0;
- }
- .image-attachment .entry-content {
- clear: both;
- }
- .image-attachment .entry-content .entry-attachment {
- background: #eee;
- margin: 0 0 1em;
- padding: 1em;
- text-align: center;
- }
- .image-attachment .entry-content .attachment {
- display: block;
- margin: 0 auto;
- text-align: center;
- }
- /* Aside Posts */
- .format-aside .entry-header {
- display: none;
- }
- .single .format-aside .entry-header {
- display: block;
- }
- .format-aside .entry-content,
- .format-aside .entry-summary {
- padding-top: 1em;
- }
- .single .format-aside .entry-content,
- .single .format-aside .entry-summary {
- padding-top: 0;
- }
- /* Gallery Posts */
- .format-gallery .gallery-thumb {
- float: left;
- margin: 0 1em 0 0;
- }
- /* Image Posts */
- .format-image .entry-header {
- display: none;
- }
- .single .format-image .entry-header {
- display: block;
- }
- .format-image .entry-content,
- .format-image .entry-summary {
- padding-top: 1em;
- }
- .single .format-image .entry-content,
- .single .format-image .entry-summary {
- padding-top: 0;
- }
- /* =Images
- -------------------------------------------------------------- */
- a img {
- border: none;
- }
- p img {
- margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
- }
- /*
- Resize images to fit the main content area.
- - Applies only to images uploaded via WordPress by targeting size-* classes.
- - Other images will be left alone. Use "size-auto" class to apply to other images.
- */
- img.size-auto,
- img.size-full,
- img.size-large,
- img.size-medium,
- .attachment img,
- .widget-area img,
- .wp-caption {
- max-width: 100%; /* When images are too wide for containing element, force them to fit. */
- height: auto; /* Override height to match resized width for correct aspect ratio. */
- }
- img.alignleft {
- margin-right: 1em;
- }
- img.alignright {
- margin-left: 1em;
- }
- .wp-caption {
- padding: .5em;
- text-align: center;
- }
- .wp-caption img {
- margin: .25em;
- }
- .wp-caption .wp-caption-text {
- margin: .5em;
- }
- .gallery-caption {
- }
- .wp-smiley {
- margin: 0;
- }
- /* =Forms
- -------------------------------------------------------------- */
- #searchform label {
- display: none;
- }
- #searchform input#s {
- width: 60%;
- }
- input[type=text],
- input#s {
- margin: 0 1em 0 0;
- width: 60%;
- }
- textarea {
- width: 80%;
- }
- /* Class for labelling required form items */
- .required {
- color: #cc0033;
- }
- /* =Comments
- -------------------------------------------------------------- */
- article.comment {
- display: block;
- }
- #respond input[type=text] {
- display: block;
- width: 60%;
- }
- #respond textarea {
- display: block;
- margin: 0 0 1em;
- width: 80%;
- }
- #respond .form-allowed-tags {
- clear: both;
- width: 80%;
- }
- #respond .form-allowed-tags code {
- display: block;
- }
- /* =Widgets
- -------------------------------------------------------------- */
- .widget {
- display: block;
- margin: 0.95em 1em 1em;
- }
- .widget_recent_comments {
- margin-top: 3em;
- }
- .widget-area .widget_search {
- overflow: hidden;
- }
- .widget-area .widget_search input {
- float: left;
- }
- .widget-title {
- margin: 0 0 1em 0;
- padding: 0 0 0.25em 0;
- font-weight: bold;
- text-transform: uppercase;
- font-size: 1em;
- color: #222;
- border-bottom: 1px solid #dbdbdb;
- }
- #secondary {
- font-size: 1em;
- }
- #secondary ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #secondary ul li {
- margin: 0 0 0.75em 0;
- font-size: 0.85em;
- }
- #secondary ul li a {
- text-decoration: none;
- }
- /* =Footer
- -------------------------------------------------------------- */
- #colophon {
- display: block;
- clear: both;
- padding: 0.25em;
- padding-left: 0.5em;
- width: 100%;
- background: #fff
- }
- /* reflow on small screen */
- @media (max-width: 800px) {
- #page {
- display: block;
- margin: 1em;
- min-width: 0;
- font-size: 2em;
- }
- #site-title {
- margin-left: 1.1em;
- line-height: 0.75em;
- }
- .sub-title {
- margin-left: 2.8em;
- margin-top: 0;
- font-size: 0.8em;
- line-height: 1.2em
- }
- #primary {
- float: none;
- width: 100%;
- background: #fff;
- }
- #content {
- margin: 0;
- }
- #main .widget-area {
- float: none;
- width: 100%;
- overflow: hidden;
- background: #fff;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement