Skip to content

Instantly share code, notes, and snippets.

@jkyin
Last active August 29, 2015 13:57
Show Gist options
  • Save jkyin/9853088 to your computer and use it in GitHub Desktop.
Save jkyin/9853088 to your computer and use it in GitHub Desktop.
/*
Theme Name: StanleyWP
Theme URI: http://gentsthemes.com
Description: Responsive WordPress theme with all the Twitter Bootstrap elements and features.
Author: Brad Williams & Carlos Alvarez & Carlos Alvarez
Author URI: http://gentsthemes.com
Version: 3.0.3
Tags: white, black, gray, light, custom-menu, custom-header, custom-background, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, theme-options, threaded-comments, full-width-template, sticky-post, translation-ready, bootstrap, twitter
Copyright (C) 2011-2014 Gents Themes
License: GNU General Public License, version 3 (GPLv3)
License URI: license.txt
CREATE CHILD THEME.
See: http://codex.wordpress.org/Child_Themes
CSS Rules: Sorted alphabetically for better organization.
*/
blockquote p,
body {
-webkit-overflow-scrolling: touch;
-webkit-font-smoothing: antialiased;
background-color: #ffffff;
color: #333333;
font-family: 'Helvetica', sans-serif;
font-size: 15px;
line-height: 1.7;
font-weight: 400;
word-wrap: break-word
}
body>*:first-child { margin-top: 0 !important }
body>*:last-child { margin-bottom: 0 !important }
/* Titles */
h1, h2, h3, h4, h5, h6 { margin: 1em 0 15px; padding: 0; font-weight: bold; line-height: 1.7; cursor: text; position: relative }
h1 { font-size: 2.5em; border-bottom: 1px solid #ddd }
h2 { font-size: 2em; border-bottom: 1px solid #eee }
h3 { font-size: 1.5em }
h4 { font-size: 1.2em }
h5 { font-size: 1em }
h6 { color: #777; font-size: 1em }
blockquote { border-left: 4px solid #DDD; padding: 0 15px; color: #777; margin: 15px 0 }
blockquote>:first-child { margin-top: 0px }
blockquote>:last-child { margin-bottom: 0px }
.author-avatar img { -webkit-border-radius: 95px; -moz-border-radius: 95px; border-radius: 95px; }
/* Paragraph & Typographic */
p { font-size: 15px; line-height: 1.7; overflow: hidden; word-wrap: break-word }
p a:hover {text-decoration: underline;}
.centered { text-align: center; }
/* Links */
a {
-webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
-o-transition: color 0.1s ease-in, background 0.1s ease-in;
-ms-transition: color 0.1s ease-in, background 0.1s ease-in;
-moz-transition: color 0.1s ease-in, background 0.1s ease-in;
color: #1abc9c;
transition: color 0.1s ease-in, background 0.1s ease-in;
word-wrap: break-word;
}
a:hover,
a:focus { color: #4183c4; outline: 0; text-decoration: underline; }
a:before,
a:after {
-webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
-o-transition: color 0.1s ease-in, background 0.1s ease-in;
-ms-transition: color 0.1s ease-in, background 0.1s ease-in;
-moz-transition: color 0.1s ease-in, background 0.1s ease-in;
transition: color 0.1s ease-in, background 0.1s ease-in;
}
hr {
border: 0;
border-top: 1px solid #ccc;
display: block;
height: 1px;
margin: 1em 0;
padding: 0;
}
.navbar { margin-bottom: 0px; text-transform: capitalize; }
.navbar-inverse { padding-bottom: 70px; padding-top: 70px; }
.navbar-inverse { background-color: #1abc9c; border-color: #16a085; }
.navbar-inverse .navbar-nav > li > a { color: white; }
.navbar-inverse .navbar-nav > li > a:hover { color: #222222; }
.navbar-brand { font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.navbar-inverse .navbar-brand { color: white; }
.navbar-inverse .navbar-toggle { border-color: transparent; }
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover { background-color: transparent; color: #222222; }
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus { background-color: transparent; color: #222222; }
.progress-bar-theme { background-color: #1abc9c; }
/* Helpers */
.mt { margin-bottom: 40px; margin-top: 40px; }
.pt { padding-bottom: 50px; padding-top: 50px; }
/* +++++ WRAP SECTIONS +++++ */
#ww { background-color: #f2f2f2; padding-bottom: 70px; padding-top: 70px; }
#footer { background-color: #2f2f2f; padding-bottom: 50px; padding-top: 50px; }
#footer p { color: white; }
#footer h4 { color: white; padding-bottom: 20px; text-transform: capitalize; }
/* +++++ Color Wraps / Blog Page +++++ */
#grey { background-color: #f2f2f2; padding-bottom: 60px; padding-top: 60px; }
#white { background-color: #ffffff; padding-bottom: 60px; padding-top: 60px; }
/* Blog Date*/
bd {
color: #d2d2d2;
font-size: 12px;
font-weight: 700;
text-transform: capitalize;
}
/* Blog Author*/
ba { font-size: 12px; padding-left: 5px; text-transform: capitalize; }
/* Blog Quote */
.bq { font-size: 22px; padding-top: 30px; }
/* Blog Tags */
bt { font-size: 12px; }
/* ================== PORTFOLIO IMAGES HOVER EFFECT ================== */
/* Effects also are controled by hover.zoom.js */
.zoom {
background: transparent url(images/loader.gif) no-repeat center;
display: block;
overflow: hidden;
position: relative;
}
.zoom img { display: none; }
.zoomOverlay {
background-image: url(images/zoom.png);
background-position: center;
background-repeat: no-repeat;
bottom: 0;
display: none;
left: 0;
position: absolute;
right: 0;
top: 0;
}
.zoom2 { opacity: 1; }
.zoom2:hover { opacity: 0.5; }
/* glyphicon Configuration */
.glyphicon { color: #1abc9c; font-size: 40px; }
/* WP User Avatar */
.wp-user-avatar {margin: 0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment