Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: FreePixel
- Theme URI: http://wordpressakademia.hu/
- Description: WordPress Akadémia gyakorló sablon
- Author: Szőke István
- Author URI: http://www.szokeistvan.hu/
- Version: 1.0
- */
- html,
- button,
- input,
- select,
- textarea {
- color: #222;
- }
- body {
- font-size: 14px;
- line-height: 1.4;
- background: url(img/bg.png) repeat;
- }
- ::-moz-selection {
- background: #b3d4fc;
- text-shadow: none;
- }
- ::selection {
- background: #b3d4fc;
- text-shadow: none;
- }
- hr {
- display: block;
- height: 1px;
- border: 0;
- border-top: 1px solid #ccc;
- margin: 1em 0;
- padding: 0;
- }
- img {
- vertical-align: middle;
- }
- fieldset {
- border: 0;
- margin: 0;
- padding: 0;
- }
- textarea {
- resize: vertical;
- }
- .chromeframe {
- margin: 0.2em 0;
- background: #ccc;
- color: #000;
- padding: 0.2em 0;
- }
- /* ==========================================================================
- Author's custom styles
- ========================================================================== */
- a {color: #2d615e;}
- .main {
- width: 1000px;
- margin: 0 auto;
- }
- header.top {
- float: left;
- width: 1000px;
- height: 188px;
- }
- header h1.logo {
- margin:0;
- padding:0;
- }
- header h1.logo a {
- display: block;
- float: left;
- width: 309px;
- height: 49px;
- background: url(img/logo.png) no-repeat;
- text-indent: -9999px;
- margin: 47px 0 0 30px;
- }
- header .searchform {
- float: right;
- margin-top: 50px;
- }
- header .searchform input[type="text"] {
- float: left;
- width: 160px;
- height: 30px;
- border-radius: 5px 0 0 5px;
- border: none;
- }
- header .searchform input[type="submit"] {
- float: left;
- width: 32px;
- height: 32px;
- border: 0;
- border-radius: 0 5px 5px 0;
- background: #a93e26 url(img/src.png) no-repeat center;
- }
- header nav {
- float: left;
- width: 1000px;
- height: 50px;
- margin-top: 45px;
- background: #482c21;
- border-radius: 5px 5px 0 0;
- }
- header nav ul {margin:0; padding:0; list-style: none;}
- header nav ul li {
- margin:0;
- float: left;
- }
- header nav a {
- display: block;
- font-weight: bold;
- color: #FFF;
- text-decoration: none;
- height: 35px;
- padding: 15px 45px 0 45px;
- }
- header nav a:first-child {border-radius: 5px 0 0 0;}
- header nav a:hover {background: #483933;}
- header nav .current-menu-item a {
- background: #a73e2b;
- color: #eadfae;
- }
- .content {
- float: left;
- width: 1000px;
- background: #f5f5f5;
- }
- .inner {
- float: left;
- width: 558px;
- padding: 30px;
- background: #FFF;
- }
- .inner_full {
- width: 940px;
- }
- .content aside {
- float: left;
- width: 322px;
- padding: 30px;
- }
- footer {
- float: left;
- width: 940px;
- height: 90px;
- padding: 0 30px;
- background: #2c615e;
- border-radius: 0 0 5px 5px;
- }
- footer small {
- display: block;
- float: left;
- color: #e9deb0;
- font-size: 12px;
- margin-top: 40px;
- }
- footer ul.social {margin:0; padding:0; list-style: none; float: right; margin-top: 30px;}
- footer .social li {float: left;}
- footer .social a {
- display: block;
- float: left;
- width: 32px;
- height: 32px;
- margin-left: 10px;
- }
- footer .social a.tw {background: url(img/social.png) no-repeat 0 -4px;}
- footer .social a.tu {background: url(img/social.png) no-repeat -69px -4px;}
- footer .social a.su {background: url(img/social.png) no-repeat -122px 0;}
- footer .social a.yt {background: url(img/social.png) no-repeat -181px 0;}
- footer .social a.vi {background: url(img/social.png) no-repeat -239px -2px;}
- footer .social a.fb {background: url(img/social.png) no-repeat -295px -2px;}
- aside .widget {
- width: 100%;
- margin-bottom: 30px;
- }
- .widget h2 {
- width: 100%;
- text-transform: uppercase;
- color: #2d615e;
- border-bottom: 1px solid #2d615e;
- font-weight: normal;
- font-size: 18px;
- }
- .widget ul {padding: 0; margin: 0; list-style: none;}
- article {
- width: 100%;
- float: left;
- margin-bottom: 30px;
- font-size: 14px;
- }
- article h1, article h1 a {
- color: #d27f00;
- font-size: 24px;
- text-decoration: none;
- margin-bottom: 0;
- }
- section h1, h1.entry-title {font-size: 30px; color: #a93e26;}
- article .meta {
- float: left;
- width: 100%;
- font-size: 12px;
- color: #2d615e;
- margin: 5px 0;
- }
- article .meta a {color:#2d615e;}
- article .meta span {
- display: block;
- float: left;
- padding-left: 22px;
- margin-right: 10px;
- }
- article .meta span.author {background: url(img/meta.png) no-repeat -3px 0;}
- article .meta span.date {background: url(img/meta.png) no-repeat -3px -28px;}
- article .meta span.cat {background: url(img/meta.png) no-repeat -3px -57px;}
- article .meta span.comm {background: url(img/meta.png) no-repeat 0 -89px;}
- article .tumb {
- float: left;
- width: 556px;
- height: 148px;
- overflow: hidden;
- border: 1px solid #482c21;
- margin-bottom: 5px;
- }
- article .readmore {
- float: right;
- font-weight: bold;
- color: #2d615e;
- font-size: 12px;
- }
- nav.pagination {
- float: left;
- width: 100%;
- }
- .pagination a {display: block; font-weight: bold; text-decoration: none;}
- .pagination a.newer {float: left;}
- .pagination a.older {float: right;}
- .tags {float: left; width: 100%;}
- #comments h1 {
- font-size: 14px;
- color: #482c21;
- padding-bottom: 5px;
- border-bottom: 1px solid #333;
- }
- /* ==========================================================================
- Media Queries
- ========================================================================== */
- @media only screen and (min-width: 35em) {
- }
- @media print,
- (-o-min-device-pixel-ratio: 5/4),
- (-webkit-min-device-pixel-ratio: 1.25),
- (min-resolution: 120dpi) {
- }
- /* ==========================================================================
- Helper classes
- ========================================================================== */
- .ir {
- background-color: transparent;
- border: 0;
- overflow: hidden;
- *text-indent: -9999px;
- }
- .ir:before {
- content: "";
- display: block;
- width: 0;
- height: 150%;
- }
- .hidden {
- display: none !important;
- visibility: hidden;
- }
- .visuallyhidden {
- border: 0;
- clip: rect(0 0 0 0);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
- }
- .visuallyhidden.focusable:active,
- .visuallyhidden.focusable:focus {
- clip: auto;
- height: auto;
- margin: 0;
- overflow: visible;
- position: static;
- width: auto;
- }
- .invisible {
- visibility: hidden;
- }
- .clearfix:before,
- .clearfix:after {
- content: " ";
- display: table;
- }
- .clearfix:after {
- clear: both;
- }
- .clearfix {
- *zoom: 1;
- }
- /* ==========================================================================
- Print styles
- ========================================================================== */
- @media print {
- * {
- background: transparent !important;
- color: #000 !important; /* Black prints faster: h5bp.com/s */
- box-shadow: none !important;
- text-shadow: none !important;
- }
- a,
- a:visited {
- text-decoration: underline;
- }
- a[href]:after {
- content: " (" attr(href) ")";
- }
- abbr[title]:after {
- content: " (" attr(title) ")";
- }
- /*
- * Don't show links for images, or javascript/internal links
- */
- .ir a:after,
- a[href^="javascript:"]:after,
- a[href^="#"]:after {
- content: "";
- }
- pre,
- blockquote {
- border: 1px solid #999;
- page-break-inside: avoid;
- }
- thead {
- display: table-header-group; /* h5bp.com/t */
- }
- tr,
- img {
- page-break-inside: avoid;
- }
- img {
- max-width: 100% !important;
- }
- @page {
- margin: 0.5cm;
- }
- p,
- h2,
- h3 {
- orphans: 3;
- widows: 3;
- }
- h2,
- h3 {
- page-break-after: avoid;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement