øh, tak for det, men jeg ved slet ikke hvor i CSS jeg skal ændre det... vil du være så venlig og kigge på den? ...
/*
Theme Name: Portfolio2
Theme URI:
http://madebyraygun.com/lab/portfolio-themeAuthor: Raygun
Author URI:
http://madebyraygun.comDescription: A clean and simple portfolio site for artists.
Version: 2.1.0
*/
/*Copyright 2012 Raygun Design LLC (email : contact@madebyraygun.com)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*/
/* @group Reset */
/* html5doctor.com Reset Stylesheet \\v1.6.1 \\ Last Updated: 2010-09-17 \\
http://richclarkdesign.com \\ @rich_clark */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; border-left: 1px solid #999; padding-left: 10px; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }
/* @end */
/* @group Base */
/*
*
* Base Typography
*
*/
body { font:13px/1.231 sans-serif; *font-size:small;}
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }
/*
*
* Base Styles
*
*/
body, select, input, textarea {
/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
color: #FFF; /* set your base font here, to apply evenly */
/* font-family: Georgia, serif; */
}
/* Headers (h1,h2,etc) have no default font-size or margin,
you'll want to define those yourself. */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #666; }
a:hover {
color: #CCC;
}
ul, ol { margin: 0 0 1em 1.8em; }
ol { list-style-type: decimal; }
/* Remove margins for navigation lists */
nav ul { margin: 0 0 10px 0;}
nav li { margin: 0 0 2px 0; font-size: 1em; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
padding: 15px;
/*
www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
white-space: pre; /* CSS2 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}
textarea { overflow: auto; } /* thnx ivannikolic!
www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
/* align checkboxes, radios, text inputs with their label
by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
/* webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }
/* colors for form validity */
input:valid, textarea:valid { }
input:invalid, textarea:invalid {
border-radius: 1px;
-moz-box-shadow: 0px 0px 5px red;
-webkit-box-shadow: 0px 0px 5px red;
box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
/* These selection declarations have to be separate.
No text-shadow: twitter.com/miketaylr/status/12228805301
Also: hot pink. */
::-moz-selection{ background: #d1e0f0; color:#444; text-shadow: none; }
::selection { background: #d1e0f0; color:#444; text-shadow: none; }
/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #d1e0f0; }
/* make buttons play nice in IE:
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {width: auto; overflow: visible;}
/* bicubic resizing for non-native sized IMG:
code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img {-ms-interpolation-mode: bicubic;}
/*
*
* Nonsemantic Base Styles
*
*/
/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
/* Hide for both screenreaders and browsers
css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }
/* Hide only visually, but have it available for screenreaders
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
.visuallyhidden { position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px); }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
content: "\0020"; display: block; height: 0; visibility: hidden;
}
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }
/*
*
* Media queries for responsive design
* These follow after primary styles so they will successfully override.
*
*/
/*
*
* Structure
*
*/
html, body {
height: 100%;
}
#page {
padding: 0 20px;
min-height: 100%;
height: auto !important;
height: 100%;
margin: 50px 150px -40px; /* the bottom margin is the negative value of the footer's height */
}
#secondary {
width: 170px;
}
#primary{
}
#content {
}
footer#colophon, .push {
height: 40px; /* .push must be the same height as .footer */
clear:both;
}
footer#colophon {
display: block;
margin: 0 30px;
width: 1000px;
}
.pt-centered footer#colophon {
margin: 0 auto;
}
/* Increase the size of the content area for templates without sidebars */
.image-attachment #content{
margin: 0;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
}
.alignright {
display: inline;
float: right;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
/*
*
* Header
*
*/
#site-title {
font-weight: normal;
font-size: 20px;
letter-spacing: 1px;
}
#site-title a {
text-decoration: none;
color: #FFF;
}
#site-description {
font-size: 1em;
font-weight: normal;
margin: 0 0 1em;
}
/*
*
* Menu
*
*/
#access {
background: #eee;
display: block;
float: left;
margin: 0 auto 1em;
width: 100%;
}
#access ul {
list-style: none;
margin: 0;
padding-left: 0;
}
#access li {
float: left;
position: relative;
}
#access a {
display: block;
line-height: 2em;
padding: 100px 1em;
text-decoration: none;
}
#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: #333;
color: #fff;
line-height: 1em;
padding: .5em .5em .5em 1em;
width: 10em;
height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
background: #333;
color: #fff;
}
#access ul ul a:hover {
background: #000;
}
#access ul li:hover > ul {
display: block;
}
/*
*
* Content
*
*/
#content nav {
overflow: hidden;
margin-bottom: 10px;
}
#content nav .nav-previous {
float: left;
width: 50%;
}
#content nav .nav-next {
float: right;
text-align: right;
width: 50%;
}
#nav-above {
display: none;
}
#nav-below {
margin: 2em 0 3em;
font-size: 1em;
}
#nav-below a {
text-decoration: none !important;
}
#nav-below .title {
font-weight: bold;
color: #FFF;
}
#nav-below
.page-link {
margin: 0 0 1em;
}
/*
*
* 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 {
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;
}
/* Forms - Class for labelling required form items */
.required {
color: #cc0033;
}
/*
*
* Comments
*
*/
article.comment {
display: block;
}
#respond input[type=text] {
float: left;
margin: 0 1em 0 0;
width: 40%;
}
#respond .comment-form-comment label {
display: none;
}
#respond textarea {
margin: 0 1em 0 0;
width: 40%;
}
#respond .form-allowed-tags {
clear: both;
width: 80%;
}
#respond .form-allowed-tags code {
display: block;
}
/*
*
* Footer
*
*/
/* @end */
/* @group Grid */
/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \
http://cssgrid.net \
http://www.twitter.com/andytlr \
http://www.andytlr.com */
/* ==================================================================================================================== */
.container {
padding-left: 20px;
padding-right: 20px;
}
.row {
width: 100%;
max-width: 1420px;
min-width: 900px;
margin: 0;
}
.blog .row, .page-template-default {
max-width: 1040px;
}
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right: 30px;
float: left;
min-height: 1px;
}
.row .onecol {
width: 4.85%;
}
.row .twocol {
width: 13.45%;
}
.row .threecol {
max-width: 220px;
}
.row .fourcol {
width: 30.75%;
}
.row .fivecol {
width: 39.45%;
}
.row .sixcol {
width: 48%;
}
.row .sevencol {
width: 56.75%;
}
.row .eightcol {
width: 65.4%;
}
.row .ninecol {
width: 76%;
}
.row .tencol {
width: 82.7%;
}
.row .elevencol {
width: 91.35%;
}
.row .twelvecol {
width: 100%;
float: left;
}
.last {
margin-right: 0px;
}
img, object, embed {
max-width: 100%;
}
img {
height: auto;
}
/* @end */
/* @group Portfolio */
header#branding {
padding: 15px 0 20px 0;
}
.entry-title, footer.entry-meta {
clear:both;
margin: 0 0 20px;
}
/* @group Sidebar Nav */
.widget_nav_menu ul.sub-menu {
display: none;
margin: 5px 10px;
}
.widget_nav_menu .current_page_parent ul.sub-menu {
display: block;
}
.widget_nav_menu .current_page_ancestor ul.sub-menu {
display: block;
}
.widget_nav_menu li.current-menu-item ul.sub-menu {
display: block;
}
.widget_nav_menu ul.sub-menu li.current-menu-item ul.sub-menu {
display: block;
}
.widget_nav_menu ul.sub-menu ul.sub-menu {
display: none;
}
.widget_nav_menu ul.sub-menu li.current_page_ancestor ul.sub-menu {
display: block;
}
.widget_nav_menu li.current-menu-item a {
color: #FFF;
}
.widget_nav_menu li.current-menu-item ul.sub-menu a {
color: #FFF;
}
label.screen-reader-text {
display: none;
}
.widget_search input#s {
display: block;
margin: 20px 0 5px 0;
}
#commentform p.form-allowed-tags {
display: none;
}
h2.widget-title {
margin: 0 0 5px 0;
}
.page-nav ul li ul { margin: 0 0 20px 10px;}
.page-nav a:hover {
text-decoration: underline;
}
/* @end */
body {
font-family: 'helvetica neue',helvetica, arial,sans-serif;
color: #CCC;
line-height: 1.4em;
}
h1#site-title {
font-weight: normal;
}
nav.page-nav a {
color: #FFF;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom:15px;
}
h1 {
font-size: 1.2em;
}
h2 {
font-size: 1.1em;
}
h3, h4, h5, h6 {
font-weight: normal;
font-size: 1.1em;
}
p {
margin: 0 0 15px 0;
}
/* @group Posts */
/* @group Comments */
cite.fn {
font-style: normal;
}
article.comment {
width: 450px;
}
.commentlist {
margin: 0;
}
.commentlist li {
list-style-type: none;
}
h3#reply-title {
font-size: 1.1em;
font-weight: bold;
}
.comment-body p {
margin: 10px 0;
}
#comments time {
font-size: .9em;
color: #888;
}
/* @end */
article.post, article.page {
margin-bottom: 60px;
}
div.entry-meta, div.entry-meta a {
margin: -8px 0 15px 0;
color: #888;
}
h1.entry-title a {
color: #FFF;
text-decoration: none;
}
/* @end */
/* @group Pages */
.home h1.entry-title {
display: none;
}
/* @end */
/* @group Slideshows */
.entry-content div.slideshow-wrapper{ margin: 0 0 15px 0; }
.slideshow-nav.graphical .slideshow-info { line-height: 1.8em; }
.page-template p {
width: 700px;
}
/* @group Basic Slideshow & Homepage */
/* @end */
/* @group Masonry */
#masonry img {
float:left;
margin: 0 10px 10px 0;
}
/* @end */
/* @group Horizontal Slide */
.page-template-page-horizontal-gallery-php .container, .page-template-page-horizontal-gallery-php .row {
max-width: 2200px;
}
#horizontal-wrapper{
overflow:auto;
overflow-x:scroll;
margin: 0 0 20px 0;
width: 100%;
}
#horizontal-slide {
display: block;
overflow: auto;
margin:15px 0 15px 0;
}
#horizontal-slide img {
float: left;
margin: 0 30px 10px 0;
height: 550px;
}
.jspContainer
{
overflow: hidden;
position: relative;
}
.jspPane
{
position: absolute;
}
.jspVerticalBar
{
position: absolute;
top: 0;
right: 0;
width: 16px;
height: 100%;
background: #666;
}
.jspHorizontalBar
{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 10px;
background: #666;
}
.jspVerticalBar *,
.jspHorizontalBar *
{
margin: 0;
padding: 0;
}
.jspCap
{
display: none;
}
.jspHorizontalBar .jspCap
{
float: left;
}
.jspTrack
{
background: #ccc;
position: relative;
}
.jspDrag
{
background: #999 url(images/handle.png) no-repeat 15px;
//width: 32px!important;
position: relative;
top: 0;
left: 0;
cursor: pointer;
-moz-transition: opacity .2s;
-webkit-transition: opacity .2s;
-o-transition: opacity .2s;
transition: opacity .2s;
opacity: .8;
}
.jspDrag:hover, .jspDrag:active
{
opacity: 1;
}
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
float: left;
height: 100%;
}
.jspArrow
{
background: #50506d;
text-indent: -20000px;
display: block;
cursor: pointer;
}
.jspArrow.jspDisabled
{
cursor: default;
background: #80808d;
}
.jspVerticalBar .jspArrow
{
height: 16px;
}
.jspHorizontalBar .jspArrow
{
width: 16px;
float: left;
height: 100%;
}
.jspVerticalBar .jspArrow:focus
{
outline: none;
}
.jspCorner
{
background: #eeeef4;
float: left;
height: 100%;
}
/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
margin: 0 -3px 0 0;
}
/* @end */
/* @group Grid & Homepage Grid */
/*
http://www.brunildo.org/test/ImgThumbIBL2b.html */
#grid div {
float: left;
}
#grid a {
display: table-cell;
text-align: center;
vertical-align: middle;
}
#grid img {
vertical-align: middle;
}
#grid div p {
text-align: center;
margin: 15px 0;
height: 20px;
}
#grid {
overflow: auto;
margin: 30px 0;
}
/* @end */
/* @end */
/* @group Footer */
footer#colophon {
font-size: .9em;
}
footer#colophon li {
list-style-type: none;
}
/* @end */
/* @end */
@media all and (orientation:portrait) {
/* Style adjustments for portrait mode goes here */
.responsive #content {
margin: 0;
}
.responsive #secondary {
width: 750px;
float: none;
clear: both;
}
.repsonsive #secondary li.widget{
float: left;
width: 200px;
margin: 0 30px 0 0;
}
.responsive #primary{
float: none;
margin: 0;
}
.responsive article.page {
margin-bottom: 30px;
}
}
@media all and (orientation:landscape) {
/* Style adjustments for landscape mode goes here */
}
/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
Consider this:
www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
.responsive p { font:18px/1.8 sans-serif; *font-size:small;}
.responsive nav li { font-size: 1.1em; line-height: 1.5em; }
.responsive #content {
margin: 0;
}
.responsive #secondary {
width: 750px;
float: none;
clear: both;
}
.responsive #secondary li.widget{
float: left;
width: 200px;
margin: 0 30px 0 0;
}
.responsive #primary{
float: none;
margin: 0;
}
}
/*
*
* Base Print Styles, inline to save the HTTP request
*
*/
@media print {
* { background: transparent !important; color: #444 !important; text-shadow: none !important; }
a, a:visited { color: #444 !important; text-decoration: underline; }
a:after { content: " (" attr(href) ")"; }
abbr:after { content: " (" attr(title) ")"; }
.ir a:after { content: ""; } /* Don't show links for images */
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
tr, img { page-break-inside: avoid; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3{ page-break-after: avoid; }
}