problème d'en tête avec wordpress - Divers - Programmation
MarshPosté le 17-04-2015 à 20:34:34
Bonsoir
je suis entrain de faire un site avec wordpress. J'ai pris comme thème snaps. Mon soucci je n'arrive mettre un en tête et un pied de page.
Quand je fais apparence= en tête et rien se passe quand je clic sur nouvelle image rien . Donc on m'a dis d'aller dans apparence=editeur et de chercher header et mettre mon url au <p class="post-info">Catégorie <(http) et cela ne me marche pas encore.
alors je vais vous donner tout mon editeur et dis moi ou il y a une erreur car je ne peux pas continuer et aussi pour mon pied de page c'est la meme chose
/* Theme Name: Snaps Theme URI: http://graphpaperpress.com/themes/snaps/ Author: Graph Paper Press Author URI: http://graphpaperpress.com Description: A portfolio theme perfect for showcasing portrait images and galleries. Version: 1.0.1 License: GNU General Public License License URI: license.txt Tags: black, gray, white, dark, light, one-column, two-columns, four-columns, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, post-formats, threaded-comments, translation-ready, photoblogging
This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others.
.main-navigation { clear: both; display: block; width: 100%; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; float: right; position: relative; right: 50%; } .main-navigation li { float: left; position: relative; left: 50%; } .main-navigation a { display: block; text-decoration: none; line-height: 1; padding: 20px 20px 16px; text-transform: uppercase; } .main-navigation a:hover { background: #b22f2f; color: #fff; } .main-navigation ul ul { background: #ca3f3f; display: none; float: left; position: absolute; top: 3.05em; right: auto; left: 0; z-index: 99999; } .main-navigation ul ul ul { left: 100%; top: 0; } .main-navigation ul ul a { width: 200px; color: #fff; } .main-navigation ul ul li { left: 0; } .main-navigation li:hover > a { background: #b22f2f; color: #fff; } .main-navigation ul ul :hover > a { } .main-navigation ul ul a:hover { background: #b22f2f; } .main-navigation ul li:hover > ul { display: block; background: #ca3f3f; } .main-navigation li.current_page_item a, .main-navigation li.current-menu-item a { }
/* Small menu */ .menu-toggle { cursor: pointer; } .main-small-navigation .menu { display: none; } /** * The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com). We love those guys. */ @font-face { font-family: 'Genericons'; src: url('images/font/genericons-regular-webfont.eot'); src: url('images/font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('images/font/genericons-regular-webfont.woff') format('woff'), url('images/font/genericons-regular-webfont.ttf') format('truetype'), url('images/font/genericons-regular-webfont.svg#genericonsregular') format('svg'); font-weight: normal; font-style: normal;
/* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll #nav-above, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll #nav-below, .infinite-scroll.neverending #colophon { /* Theme Footer (when set to scrolling) */ display: none; }
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */ .infinity-end.neverending #colophon { display: block; }
Marsh Posté le 17-04-2015 à 20:34:34
Bonsoir
je suis entrain de faire un site avec wordpress. J'ai pris comme thème snaps. Mon soucci je n'arrive mettre un en tête et un pied de page.
Quand je fais apparence= en tête et rien se passe quand je clic sur nouvelle image rien . Donc on m'a dis d'aller dans apparence=editeur et de chercher header et mettre mon url au <p class="post-info">Catégorie <(http) et cela ne me marche pas encore.
alors je vais vous donner tout mon editeur et dis moi ou il y a une erreur car je ne peux pas continuer et aussi pour mon pied de page c'est la meme chose
/*
Theme Name: Snaps
Theme URI: http://graphpaperpress.com/themes/snaps/
Author: Graph Paper Press
Author URI: http://graphpaperpress.com
Description: A portfolio theme perfect for showcasing portrait images and galleries.
Version: 1.0.1
License: GNU General Public License
License URI: license.txt
Tags: black, gray, white, dark, light, one-column, two-columns, four-columns, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, post-formats, threaded-comments, translation-ready, photoblogging
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}
html {
font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201 [...] user_zoom/ */
}
body {
background: #fff;
font-weight: 300;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block;
}
ol, ul {
list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
font-weight: normal;
text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
a:focus {
outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
outline: 0;
}
a img {
border: 0;
}
/* =Global
----------------------------------------------- */
body,
button,
input,
select,
textarea {
color: #404040;
font-family: sans-serif;
font-size: 16px;
font-size: 1.6rem;
line-height: 1.7;
}
/* Headings */
h1,h2,h3,h4,h5,h6 {
clear: both;
text-transform: uppercase;
}
hr {
background-color: #ccc;
border: 0;
height: 1px;
margin-bottom: 1.5em;
}
/* Text elements */
p {
margin-bottom: 1.5em;
}
ul, ol {
margin: 0 0 1.5em 3em;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
margin-left: 1.5em;
}
dt {
font-weight: bold;
}
dd {
margin: 0 1.5em 1.5em;
}
b, strong {
font-weight: bold;
}
dfn, cite, em, i {
font-style: italic;
}
blockquote {
margin: 0 1.5em;
}
address {
margin: 0 0 1.5em;
}
pre {
background: #eee;
font-family: "Courier 10 Pitch", Courier, monospace;
font-size: 15px;
font-size: 1.5rem;
line-height: 1.6;
margin-bottom: 1.6em;
padding: 1.6em;
overflow: auto;
max-width: 100%;
}
code, kbd, tt, var {
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
mark, ins {
background: #fff9c0;
text-decoration: none;
}
sup,
sub {
font-size: 75%;
height: 0;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
small {
font-size: 75%;
}
big {
font-size: 125%;
}
figure {
margin: 0;
}
table {
margin: 0 0 1.5em;
width: 100%;
}
th {
font-weight: bold;
}
button,
input,
select,
textarea {
font-size: 100%; /* Corrects font size not being inherited in all browsers */
margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
vertical-align: baseline; /* Improves appearance and consistency in all browsers */
*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
*overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
border: 1px solid #ccc;
border-color: #ccc #ccc #bbb #ccc;
border-radius: 3px;
background: #e6e6e6;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
color: rgba(0,0,0,.8);
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
font-size: 12px;
font-size: 1.2rem;
line-height: 1;
padding: 1.12em 1.5em 1em;
text-shadow: 0 1px 0 rgba(255,255,255,.8);
text-transform: uppercase;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
border-color: #ccc #bbb #aaa #bbb;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
border-color: #aaa #bbb #bbb #bbb;
-webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
-moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/th [...] r-buttons/ */
border: 0;
padding: 0;
}
input[type=text],
input[type=email],
input[type=password],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
color: #111;
}
input[type=text],
input[type=email],
input[type=password] {
padding: 3px;
}
textarea {
overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
padding-left: 3px;
vertical-align: top; /* Improves readability and alignment in all browsers */
width: 98%;
}
/* Links */
a {
color: #444;
}
a:visited {
color: #444;
}
a:hover,
a:focus,
a:active {
color: #000;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
margin-right: 1.5em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin: 0 auto;
}
/* Text meant only for screen readers */
.assistive-text {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
}
/* Global */
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
margin-bottom: 1em;
margin-top: 0.5em;
}
h3 {
font-size: 1.7em;
margin-bottom: 1em;
line-height: 1.5;
}
h4 {
font-size: 1.5em;
}
h5 {
font-size: 1.3em;
}
h6 {
font-size: 1.1em;
}
ul ol, ol ul, ul ul, ol ol {
margin-bottom: 2em;
}
/* =Header
----------------------------------------------- */
header.php
position: relative;
width: 100%;
height: 500px;
<p class="post-info">Catégorie <(http)
}
hgroup {
position: absolute;
height: 100%;
width: 100%;
display: table;
}
hgroup div.site-text {
display: table-cell;
vertical-align: middle;
text-align:center;
}
hgroup h1.site-title {
font-size: 8em;
text-transform: uppercase;
font-weight: bold;
line-height: 1.2;
text-shadow: 7px 7px 0 rgba(0,0,0,0.5);
padding-top: 40px;
}
hgroup h1.site-title a {
text-decoration: none;
opacity: 0.8;
color: #fff;
}
hgroup h1.site-title a:hover {
opacity: 1;
}
hgroup h2.site-description {
color: #ccc;
}
/* =Menu
----------------------------------------------- */
.main-navigation {
clear: both;
display: block;
width: 100%;
}
.main-navigation ul {
list-style: none;
margin: 0;
padding-left: 0;
float: right;
position: relative;
right: 50%;
}
.main-navigation li {
float: left;
position: relative;
left: 50%;
}
.main-navigation a {
display: block;
text-decoration: none;
line-height: 1;
padding: 20px 20px 16px;
text-transform: uppercase;
}
.main-navigation a:hover {
background: #b22f2f;
color: #fff;
}
.main-navigation ul ul {
background: #ca3f3f;
display: none;
float: left;
position: absolute;
top: 3.05em;
right: auto;
left: 0;
z-index: 99999;
}
.main-navigation ul ul ul {
left: 100%;
top: 0;
}
.main-navigation ul ul a {
width: 200px;
color: #fff;
}
.main-navigation ul ul li {
left: 0;
}
.main-navigation li:hover > a {
background: #b22f2f;
color: #fff;
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
background: #b22f2f;
}
.main-navigation ul li:hover > ul {
display: block;
background: #ca3f3f;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}
/* Small menu */
.menu-toggle {
cursor: pointer;
}
.main-small-navigation .menu {
display: none;
}
/**
* The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com). We love those guys.
*/
@font-face {
font-family: 'Genericons';
src: url('images/font/genericons-regular-webfont.eot');
src: url('images/font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('images/font/genericons-regular-webfont.woff') format('woff'),
url('images/font/genericons-regular-webfont.ttf') format('truetype'),
url('images/font/genericons-regular-webfont.svg#genericonsregular') format('svg');
font-weight: normal;
font-style: normal;
}
li.twitter a:before,
li.facebook a:before,
li.feed a:before,
li.vimeo a:before,
li.wordpress a:before,
li.google-plus a:before,
li.pinterest a:before,
li.flickr a:before,
li.youtube a:before,
li.tumblr a:before,
.menu-toggle:before {
display: inline-block;
-webkit-font-smoothing: antialiased;
font-size: 18px;
line-height: 1.2;
font-family: 'Genericons';
text-decoration: inherit;
font-weight: normal;
font-style: normal;
vertical-align: middle;
text-shadow: none;
height: 35px;
}
/* Social icons */
li.twitter a:before {
content: '\f202';
}
li.facebook a:before {
content: '\f204';
}
li.wordpress a:before {
content: '\f205';
}
li.google-plus a:before {
content: '\f206';
}
li.linkedin a:before {
content: '\f207';
}
li.pinterest a:before {
content: '\f209';
}
li.flickr a:before {
content: '\f211';
}
li.vimeo a:before {
content: '\f212';
}
li.youtube a:before {
content: '\f213';
}
li.tumblr a:before {
content: '\f214';
}
/* Other icons */
li.search a:before {
content: '\f400';
}
li.feed a:before {
content: '\f413';
}
.site-navigation li.twitter a,
.site-navigation li.facebook a,
.site-navigation li.feed a,
.site-navigation li.vimeo a,
.site-navigation li.google-plus a,
.site-navigation li.pinterest a,
.site-navigation li.wordpress a,
.site-navigation li.flickr a,
.site-navigation li.youtube a,
.site-navigation li.tumblr a {
width: 20px;
height: 21px;
padding: 14px;
overflow: hidden;
margin: 0;
text-align: center;
}
.menu-toggle:before {
width: 20px;
height: 20px;
margin-right: 10px;
}
.site-navigation li.twitter a:hover,
.site-navigation li.facebook a:hover,
.site-navigation li.feed a:hover,
.site-navigation li.vimeo a:hover,
.site-navigation li.wordpress a:hover,
.site-navigation li.google-plus a:hover,
.site-navigation li.pinterest a:hover,
.site-navigation li.flickr a:hover,
.site-navigation li.youtube a:hover,
.site-navigation li.tumblr a:hover {
color: #fff;
}
/* Collapsed Menu */
.main-small-navigation li.twitter a,
.main-small-navigation li.facebook a,
.main-small-navigation li.feed a,
.main-small-navigation li.vimeo a,
.main-small-navigation li.google-plus a,
.main-small-navigation li.pinterest a,
.main-small-navigation li.wordpress a,
.main-small-navigation li.flickr a,
.main-small-navigation li.youtube a,
.main-small-navigation li.tumblr a {
background: transparent;
border-radius: 0;
}
.main-small-navigation li.twitter a:hover,
.main-small-navigation li.facebook a:hover,
.main-small-navigation li.feed a:hover,
.main-small-navigation li.vimeo a:hover,
.main-small-navigation li.google-plus a:hover,
.main-small-navigation li.pinterest a:hover,
.main-small-navigation li.wordpress a:hover,
.main-small-navigation li.flickr a:hover,
.main-small-navigation li.youtube a:hover,
.main-small-navigation li.tumblr a:hover {
background: transparent;
border-radius: 0;
color: #000;
}
.main-small-navigation li.twitter a:before,
.main-small-navigation li.facebook a:before,
.main-small-navigation li.feed a:before,
.main-small-navigation li.vimeo a:before,
.main-small-navigation li.wordpress a:before,
.main-small-navigation li.google-plus a:before,
.main-small-navigation li.pinterest a:before,
.main-small-navigation li.flickr a:before,
.main-small-navigation li.youtube a:before,
.main-small-navigation li.tumblr a:before {
color: #555;
margin-right: 10px;
margin-top: 3px;
}
.main-small-navigation li.twitter:hover a:before,
.main-small-navigation li.facebook:hover a:before,
.main-small-navigation li.feed:hover a:before,
.main-small-navigation li.vimeo:hover a:before,
.main-small-navigation li.wordpress:hover a:before,
.main-small-navigation li.google-plus:hover a:before,
.main-small-navigation li.pinterest:hover a:before,
.main-small-navigation li.flickr:hover a:before,
.main-small-navigation li.youtube:hover a:before,
.main-small-navigation li.tumblr:hover a:before {
color: #000;
}
.menu-toggle:before {
content: "\f419";
color: #444;
}
.menu-toggle:hover:before {
color: #666;
}
.menu-toggle {
cursor: pointer;
text-align: center;
font-size: 15px;
text-transform: uppercase;
padding: 13px;
}
.main-small-navigation {
margin: 0 auto;
text-align: center;
width: 238px;
}
.main-small-navigation .menu {
background: #fff;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
display: none;
padding: 10px 20px;
position: absolute;
top: 48px;
width: 200px;
z-index: 9999;
text-align: left;
margin: 0;
}
.main-small-navigation .menu li {
list-style-type: none;
}
/* =Content
----------------------------------------------- */
#main {
max-width: 1075px;
margin: -3.05em auto;
clear: both;
background: rgba(255,255,255,0.8);
padding: 0 3% 2%;
overflow: hidden;
position: relative;
z-index: 1;
}
.single #main,
.page #main {
padding-bottom: 4%;
}
#primary {
clear: both;
padding-top: 0.5%;
}
#content {
padding: 3.5% 0;
}
#content article {
float: left;
margin-right: 4%;
max-width: 236px;
position: relative;
width: 22%;
margin-bottom: 3.5%;
}
#content article:nth-child(4n+4) {
margin-right: 0;
}
.page #content article {
max-width: 100%;
width: 100%;
}
.post-format-content {
position: relative;
background: #111;
}
.image-wrap {
display: block;
}
.post-thumbnail {
max-width: 100%;
height: auto;
overflow: hidden;
}
.content-wrap {
padding: 0;
position: absolute;
text-align: center;
width: 100%;
top: 0;
bottom: 0;
display: table-cell;
vertical-align: middle;
overflow: hidden;
}
.content-wrap h1.entry-title {
display: table;
font-size: 110%;
height: 100%;
text-transform: uppercase;
width: 100%;
}
.edit-link {
z-index: 2;
}
.featured-image {
display: table-cell;
position: relative;
transition: opacity .25s ease-in-out, background .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out, background .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out, background .25s ease-in-out;
vertical-align: middle;
z-index: 1;
color: #fff;
text-decoration: none;
opacity: 0;
padding: 10%;
}
.featured-image:hover {
opacity: 0.9;
color: #fff;
background: rgba(0,0,0,0.9);
}
.post-thumbnail img {
display: block;
}
.placeholder {
background: #000;
}
img {
max-width: 100%;
height: auto;
}
.sticky {
}
.hentry {
margin: 0 0 1.5em;
}
.byline {
display: none;
}
.single .byline,
.group-blog .byline {
display: inline;
}
.entry-content,
.entry-summary {
}
.page-links {
clear: both;
margin: 0 0 1.5em;
}
.single #content,
.page #content,
.error404 #content {
padding: 6% 3% 3%;
overflow: hidden;
}
.single #content article,
.error404 #content article {
max-width: 100%;
width: 100%;
margin: 0;
}
.single h1.entry-title,
.page h1.entry-title,
h1.page-title {
font-size: 30px;
line-height: 40px;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 1em;
}
h1.page-title {
font-size: 14px;
letter-spacing: 1px;
}
.entry-meta-wrap {
float: left;
width: 25%;
margin-right: 3%;
font-size: 11px;
text-transform: uppercase;
color: #999;
}
.entry-meta {
clear: both;
display: block;
position: relative;
padding: 8px 0 5px;
}
.single .entry-header {
width: 72%;
float: right;
margin-left: 37%;
}
.single-content-wrap {
overflow: hidden;
width: 72%;
float: right;
}
.single #nav-below {
width: 72%;
float: right;
margin: 2em 0;
border-top: 5px solid #666666;
padding: 10px 0;
}
/* =Media
----------------------------------------------- */
.site-header img,
.entry-content img,
.comment-content img,
.widget img {
max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
max-width: 100%;
width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
.wp-caption {
border: 1px solid #ccc;
margin-bottom: 1.5em;
max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin: 1.2% auto 0;
max-width: 98%;
}
.wp-caption .wp-caption-text {
margin: 0.8075em 0;
font-size: 0.8em;
font-style: italic;
text-align: center;
}
.site-content .gallery {
margin-bottom: 1.5em !important;
}
div.gallery img {
border: none !important;
}
div.gallery .gallery-item {
text-align: left !important;
margin-top: 4% !important;
}
.gallery-caption {
}
.site-content .gallery a img {
border: none;
height: auto;
max-width: 90%;
}
.site-content .gallery dd {
font-size: 12px;
margin: 0;
width: 90%;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
max-width: 100%;
}
/* =Navigation
----------------------------------------------- */
.site-content .site-navigation {
clear: both;
margin: 0;
}
.site-navigation a {
text-decoration: none;
text-transform: uppercase;
font-size: 13px;
}
.site-content .nav-previous {
float: left;
width: 50%;
}
.site-content .nav-next {
float: right;
text-align: right;
width: 50%;
}
/* Attachments */
#image-navigation {
margin: 1em 0;
}
.single-attachment .entry-meta {
border: none;
}
.single-attachment .entry-header {
margin: 0;
text-align: center;
float: none;
width: 100%;
}
.single-attachment .entry-content,
.single-attachment footer.entry-meta {
text-align: center;
}
.entry-caption {
font-style: italic;
}
.next-image {
display: block;
text-align: right;
}
.previous-image {
display: block;
text-align: left;
float: left;
width: 50%;
}
/* =Comments
----------------------------------------------- */
#respond {
max-width: 72%;
float: right;
clear: both;
}
#reply-title {
font-size: 1.5em;
text-transform: uppercase;
margin: 2em 0;
}
.comment-content a {
word-wrap: break-word;
}
.bypostauthor {
}
.form-allowed-tags {
visibility: hidden;
height: 0;
}
.required {
color: #c00;
}
#commentform input {
display: block;
}
h2.comments-title {
font-size: 1.5em;
text-transform: uppercase;
margin-left: 28%;
margin-bottom: 1em;
display: block;
}
.commentlist {
margin: 0;
}
article.comment footer {
float: left;
width: 25%;
margin-right: 3%;
font-size: 12px;
color: #999;
}
.comment-reply-link {
font-size: 12px;
}
article.comment {
padding: 4% 0;
}
article.comment footer a,
.comment-reply-link,
.entry-meta-wrap a {
color: #999;
}
article.comment footer a:hover,
.comment-reply-link:hover,
.entry-meta-wrap a:hover {
color: #666;
}
article.comment .comment-content {
width: 72%;
overflow: hidden;
display: block;
}
li.comment,
li.post {
border-top: 1px solid #eee;
clear: both;
overflow: hidden;
}
.commentlist, li.comment {
list-style: none;
}
li.post {
padding: 4% 0;
}
li.post p {
margin: 0;
margin-left: 28%;
}
li.comment.depth-1:last-child {
border-bottom: 1px solid #eee;
}
li.comment ul.children {
margin-left: 5em;
}
.avatar {
float: left;
margin-right: 10px;
}
p.nocomments {
margin-top: 2em;
text-align: center;
}
/* =Footer
----------------------------------------------- */
#colophon {
clear: both;
padding: 3%;
}
.site-info {
text-align: center;
margin-top: 3.5em;
font-size: 12px;
}
#colophon, #colophon a {
color: #888;
}
#colophon a:hover {
color: #666;
}
#secondary {
max-width: 80%;
margin: 6em auto 0;
overflow: hidden;
}
.widget-area {
float: left;
font-size: 85%;
}
aside {
max-width: 90%;
margin: auto;
text-align: center;
}
aside ul,
aside ol {
margin-left: 0;
list-style: none;
}
aside caption {
text-transform: uppercase;
font-weight: bold;
text-align: center;
}
td,
th {
padding: 1%;
text-align: center;
border-top: 1px solid #ddd;
}
th {
background: #ddd;
}
/* =Widgets
----------------------------------------------- */
.widget {
margin: 0 0 1.5em;
}
/* Make sure select elements fit in widgets */
.widget select {
max-width: 100%;
}
/* Search widget */
#searchsubmit {
display: none;
}
/* =Infinite Scroll
----------------------------------------------- */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll #nav-above, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll #nav-below,
.infinite-scroll.neverending #colophon { /* Theme Footer (when set to scrolling) */
display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending #colophon {
display: block;
}
/* =Responsive Design
------------------------------------------------- */
@media screen and (max-width: 800px) {
#content article {
width: 30.6%;
}
#content article:nth-child(3n+3) {
margin-right: 0;
}
#content article:nth-child(4n+4) {
margin-right: 4%;
}
}
@media screen and (max-width: 600px) {
#content article {
width: 48%;
}
#content article:nth-child(3n+3) {
margin-right: 4%;
}
#content article:nth-child(4n+4) {
margin-right: 4%;
}
#content article:nth-child(2n+2) {
margin-right: 0;
}
hgroup h1.site-title {
font-size: 3em;
text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}
hgroup h2.site-description {
font-size: 100%;
}
.single .entry-header {
width: 100%;
margin-left: 0;
float: none;
text-align: center;
}
.entry-meta-wrap {
display: block;
float: none;
margin: 0 0 3em;
text-align: center;
width: 100%;
}
.single-content-wrap {
width: 100%;
float: none;
display: block;
}
.single #nav-below {
width: 100%;
}
#respond {
max-width: 100%;
}
.widget-area, aside {
width: 100%;
float: none;
display: block;
}
}