diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ccc7f7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +20200323-hangar-theme.tar.gz +20200323-hangarweb-themes.tar.gz diff --git a/hangar/404.php b/hangar/404.php new file mode 100644 index 0000000..ab07538 --- /dev/null +++ b/hangar/404.php @@ -0,0 +1,44 @@ + + + +
+
+ +
+ +

+ +

+ ' . site_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '' ); ?> +

+ + + + + +
+ + +
+ +
+ + \ No newline at end of file diff --git a/hangar/README.md b/hangar/README.md new file mode 100644 index 0000000..1adb79a --- /dev/null +++ b/hangar/README.md @@ -0,0 +1,23 @@ +--- +title: hangar template howto +--- + +### opciones de las páginas de artistas + +editar el docuemnto `seccions.php` para controlar la visualización de las páginas + +``` +if ($pare == 2) : //artistes residents + $tipus = 'art'; +elseif ($pare == 46565) : //artistes residents estada curta + $tipus = 'art'; +elseif ($pare == 136) : //desc+arregues + $tipus = 'desc'; +elseif ($pare == 74) : //equip + $tipus = 'equip'; +elseif ($pare == 40378) : //patronat + $tipus = 'equip'; +else: + $tipus = 'pag'; +endif; +``` diff --git a/hangar/artistes_alfa.php b/hangar/artistes_alfa.php new file mode 100644 index 0000000..ccd0fb7 --- /dev/null +++ b/hangar/artistes_alfa.php @@ -0,0 +1,46 @@ + + + + +
+
+
+ +

+ + +
    + have_posts() ) : while($query_object->have_posts() ) : $query_object->the_post(); ?> + +
  • + ID, 'autor_obra', true);?> +
  • + + + +

    + +

    + + +
+
+
+ + \ No newline at end of file diff --git a/hangar/artistes_anys.php b/hangar/artistes_anys.php new file mode 100644 index 0000000..f954237 --- /dev/null +++ b/hangar/artistes_anys.php @@ -0,0 +1,54 @@ + + + + +
+
+
+ +

+ +"; + } + foreach ($terms as $term) { + $wpq = array ('taxonomy'=>'anys','term'=>$term->slug); + $query = new WP_Query ($wpq); + $article_count = $query->post_count; + echo "
  • "; + if ($article_count) { ?> + + name; ?> + + + + + name; + } + echo "
  • "; + } + if (count($terms)) { + echo ""; + } +?> +
    +
    +
    + + diff --git a/hangar/caixes.php b/hangar/caixes.php new file mode 100644 index 0000000..7cfa620 --- /dev/null +++ b/hangar/caixes.php @@ -0,0 +1,180 @@ +
  • > + + + + + + +

    + +
    + +
    +
    + enllaç +
    + + + + +
    + + + + +

    + +

    + +
    + ID, 'autor_tipo_resid', true) && get_post_meta($post->ID, 'autor_data_resid', true)): ?> +

    + ID, 'autor_tipo_resid', true)) ?> +
    + ID, 'autor_data_resid', true)) ?> +

    + +

    + + +

    ID, 'data_obra', true) ?>

    + + + + + + + imatge no disponible + + +
    + + enllaç + + + + enllaç a la categoria + + +
    + + + ID, 'carrec', true); + elseif($lang == 'es'): + $carrec = get_post_meta($post->ID, 'carrecES', true); + elseif($lang == 'en'): + $carrec = get_post_meta($post->ID, 'carrecEN', true); + endif; + $email = get_post_meta($post->ID, 'email', true); + $telefon = get_post_meta($post->ID, 'telefon', true); + ?> +
    +

    +

    +
    +

    +

    + + + + + + + imatge no disponible + + + +

    + +
    + + + + + +
    + + + + +

    + +

    + + +
    +
    + +
    + + +
    + enllaç + + + enllaç a la categoria + +
    + + + + + term_id;?> +
    + + + name;?> + +

    + + + + name;?> + +

    + + +

    + + +
    + ID, 'data_activitat', true) )): + ?>

    ID, 'data_activitat', true); if (get_post_meta($post->ID, 'horari_activitat', true)) echo " / ".get_post_meta($post->ID, 'horari_activitat', true); if (get_post_meta($post->ID, 'lloc_activitat', true)) echo " - ".get_post_meta($post->ID, 'lloc_activitat', true); ?>

    ID, 'data_activitatES', true) )): + ?>

    ID, 'data_activitatES', true); if (get_post_meta($post->ID, 'horari_activitat', true)) echo " / ".get_post_meta($post->ID, 'horari_activitat', true); if (get_post_meta($post->ID, 'lloc_activitat', true)) echo " - ".get_post_meta($post->ID, 'lloc_activitat', true); ?>

    ID, 'data_activitatEN', true) )): + ?>

    ID, 'data_activitatEN', true); if (get_post_meta($post->ID, 'horari_activitat', true)) echo " / ".get_post_meta($post->ID, 'horari_activitat', true); if (get_post_meta($post->ID, 'lloc_activitat', true)) echo " - ".get_post_meta($post->ID, 'lloc_activitat', true); ?>

    +

    + + + + + + + + + + +

    + +
    + + + +
    + enllaç + + + enllaç a la categoria + +
    + + +
  • diff --git a/hangar/caixes4.php b/hangar/caixes4.php new file mode 100644 index 0000000..fdf5469 --- /dev/null +++ b/hangar/caixes4.php @@ -0,0 +1,164 @@ +
  • > + + + +

    + +
    + +
    +
    + enllaç +
    + + + + +
    + + + + +

    + +

    + +
    + +

    ID, 'autor_data_resid', true) ?>

    + +

    ID, 'data_obra', true) ?>

    + + + + + + + imatge no disponible + + +
    + + enllaç + + + + enllaç a la categoria + + +
    + + ID, 'carrec', true); + elseif($lang == 'es'): + $carrec = get_post_meta($post->ID, 'carrecES', true); + elseif($lang == 'en'): + $carrec = get_post_meta($post->ID, 'carrecEN', true); + endif; + $email = get_post_meta($post->ID, 'email', true); + $telefon = get_post_meta($post->ID, 'telefon', true); + ?> +
    +

    +

    +
    +

    +

    + + + + + + + imatge no disponible + + + +

    + +
    + + + + + +
    + + + + +

    + +

    + + +
    +
    + +
    + + +
    + enllaç + + + enllaç a la categoria + +
    + + + + + + +
    + + + name;?> + +

    + + + + name;?> + +

    + +

    + + +
    + ID, 'data_activitat', true) ) : ?>

    +

    ID, 'data_activitat', true) ?>

    + +

    + + + + + + + + imatge no disponible + + +

    + +
    + + + +
    + enllaç + + + enllaç a la categoria + +
    + + +
  • \ No newline at end of file diff --git a/hangar/caixes5.php b/hangar/caixes5.php new file mode 100644 index 0000000..ec1f8cc --- /dev/null +++ b/hangar/caixes5.php @@ -0,0 +1,172 @@ +
  • > + + + +

    + +
    + +
    +
    + enllaç +
    + + + + +
    + + + + +

    + +

    + +
    + ID, 'autor_data_resid', true)): ?> +

    ID, 'autor_data_resid', true) ?>

    + +

    + + +

    ID, 'data_obra', true) ?>

    + + + + + + + imatge no disponible + + +
    + + enllaç + + + + enllaç a la categoria + + +
    + + ID, 'carrec', true); + elseif($lang == 'es'): + $carrec = get_post_meta($post->ID, 'carrecES', true); + elseif($lang == 'en'): + $carrec = get_post_meta($post->ID, 'carrecEN', true); + endif; + $email = get_post_meta($post->ID, 'email', true); + $telefon = get_post_meta($post->ID, 'telefon', true); + ?> +
    +

    +

    +
    +

    +

    + + + + + + + imatge no disponible + + + +

    + +
    + + + + + +
    + + + + +

    + +

    + + +
    +
    + +
    + + +
    + enllaç + + + enllaç a la categoria + +
    + + + + + + +
    + + + name;?> + +

    + + + + name;?> + +

    + +

    + + +
    + ID, 'data_activitat', true) )): + ?>

    ID, 'data_activitat', true); ?>

    ID, 'data_activitatES', true) )): + ?>

    ID, 'data_activitatES', true) ?>

    ID, 'data_activitatEN', true) )): + ?>

    ID, 'data_activitatEN', true) ?>

    +

    + + + + + + + + imatge no disponible + + +

    + +
    + + + +
    + enllaç + + + enllaç a la categoria + +
    + + +
  • \ No newline at end of file diff --git a/hangar/caixesOld.php b/hangar/caixesOld.php new file mode 100644 index 0000000..ba600bb --- /dev/null +++ b/hangar/caixesOld.php @@ -0,0 +1,191 @@ +
  • > + + + +

    + +
    + +
    +
    + enllaç +
    + + + + +
    + + + + +

    + +

    + +
    + +

    ID, 'autor_data_resid', true) ?>

    + +

    ID, 'data_obra', true) ?>

    + + + + + + + imatge no disponible + + +
    + + enllaç + + + + enllaç a la categoria + + +
    + + ID, 'carrec', true); + $email = get_post_meta($post->ID, 'email', true); + $telefon = get_post_meta($post->ID, 'telefon', true); + ?> +
    +

    +

    +
    +

    +

    + + + + + + + imatge no disponible + + + +

    + +
    + + + + + + + + +
    + + + + +

    + +

    + + +
    + + +

    + +
    + + + +
    + enllaç + + enllaç a la categoria +
    + + + + ID, 'data_activitat', true); + $llocacte = get_post_meta($post->ID, 'lloc_activitat', true); + $horari = get_post_meta($post->ID, 'horari_activitat', true); + $sicalendari = true; ?> +
    + + +

    +
    + + +

    +
    + +

    +
    +

    ID, 'data_activitat', true) ?>

    +

    ID, 'horari_activitat', true) ?>

    + +

    + +
    + +
    + enllaç + + enllaç a la categoria
    + + + + + +
    + + + name;?> + +

    + + + + name;?> + +

    + +

    + + +
    + ID, 'data_activitat', true) ) : ?>

    +

    ID, 'data_activitat', true) ?>

    + +

    Publicat el

    + + + + + + + + imatge no disponible + + +

    + +
    + + + +
    + enllaç + + + enllaç a la categoria + +
    + + +
  • \ No newline at end of file diff --git a/hangar/cat_links.php b/hangar/cat_links.php new file mode 100644 index 0000000..a39c03b --- /dev/null +++ b/hangar/cat_links.php @@ -0,0 +1,30 @@ + + + + +
    +
    +
    + +

    +
      + &title_after=&title_li');?> +
    + + +
    +
    +
    + + \ No newline at end of file diff --git a/hangar/category-news.php b/hangar/category-news.php new file mode 100644 index 0000000..447b910 --- /dev/null +++ b/hangar/category-news.php @@ -0,0 +1,59 @@ + + + + +
    +
    + +
    '; + endif; + ?> + +

    + + + + + + + + + +

    + +

    + + + + +
    + + + + + + + + + + + + + \ No newline at end of file diff --git a/hangar/category.php b/hangar/category.php new file mode 100644 index 0000000..582f742 --- /dev/null +++ b/hangar/category.php @@ -0,0 +1,63 @@ + + + + +
    +
    + + +
    > +
    + '; + echo single_cat_title( '', false ) ; echo '' ; ?> + + '. category_description(). '
    '; + endif; + ?> + +

    +
    +
    + + + + + + + + + +

    + +

    + + + + +
    + + + + + + + + + + + + + \ No newline at end of file diff --git a/hangar/comments.php b/hangar/comments.php new file mode 100644 index 0000000..9e6039a --- /dev/null +++ b/hangar/comments.php @@ -0,0 +1,46 @@ + +

    + + + + +
    + + + +

    + +
      + 'ari_comment' ) ); ?> +
    + + 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> +

    +

    + + + + + __( 'Leave a Reply','hangar'), +'comment_notes_before' =>__( '

    Required fields are marked *

    ','hangar'), +'comment_notes_after' => '', +'comment_field' => '


    ', +) +); ?> + +
    + \ No newline at end of file diff --git a/hangar/css/style.css.20200515 b/hangar/css/style.css.20200515 new file mode 100644 index 0000000..4608b4e --- /dev/null +++ b/hangar/css/style.css.20200515 @@ -0,0 +1,1291 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team & vitrubio.net +Version: 2.1 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main, .category #main { + width:auto; + margin-left:245px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a{ + text-decoration:none; +} +a:hover, #content h2 a:hover { +text-decoration: underline; +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ +/* .desc p a[href$=".PDF"], a[href$=".pdf"], #pagina p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + float:left; + margin-left:0; + height:17px; + overflow:hidden; +} */ + + a[href$=".PDF"]::before, + a[href$=".pdf"]::before { + display: inline; + overflow:hidden; + content:''; + /* float:left; */ + height:17px; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + margin-left:0; +} + +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 14px; + line-height:15px; + margin-top:30px; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 1px 0px; + padding:0px 0px 1px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:1px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-274{margin-bottom:20px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px;} +li.especial, li.unica {text-transform:uppercase;} +ul.sub-menu li {text-transform: none!important;} +ul.menu li.sola{display: block; margin-bottom:3px; text-transform: uppercase;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a, ul.menu li.sola a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important; + cursor: text; + text-decoration: none;} + + + +ul.sub-menu {display:inline;} +ul.menu li.unica li {display:inline;} + +ul.menu li li {display:inline;} + +ul.sidebar li:first-child.widget_text {color: #F63!important;} +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important; + cursor: pointer;} + +ul.menu ul.sub-menu li a:hover {text-decoration: underline;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:96px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + +/* aumentar anchura calendari i canal hangar */ +.page-id-15261 #content.unic #pagina, .page-id-15192 #content.unic #pagina { + width: 800px; +} + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; + /*margin: 3px 0 10px 0;*/ +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:13x; + line-height:14px; + padding-bottom:10px; + min-height: 28px; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; +} + +.novista {display:block; height:28px;} + +.art .novista {height:39px;} + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:15px; padding: 0; color: #0000FF; display: block; } + +.art .head-entry {height:45px; } + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 13px; line-height: 15px; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 15px;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: 60px; font-size:12px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + +/* special setting for showing excerpt image */ +#post-4051 p.excerptbox { height: 250px; } +#post-4051 .novista { height: 0; } + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip, #content h2.pag a {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {clear: both; display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {position:static!important; margin: 20px auto; top:auto!important; text-align:center;display:inline-table;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +/*.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";}*/ + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " ─ ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; min-height:19px; overflow:hidden; margin: 2px 0 6px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 267px;} +.legal {width:68px;padding-top:30px;padding-left: 30px;} +.credits {width:150px; font-size:9px; color: #A3A7A5; margin-top:9px;} +.credits a{color: #A3A7A5!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} diff --git a/hangar/css/style.css.hangar.original b/hangar/css/style.css.hangar.original new file mode 100644 index 0000000..5fa4d5b --- /dev/null +++ b/hangar/css/style.css.hangar.original @@ -0,0 +1,1374 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team +Version: 1.0 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main, .category #main { + width:auto; + margin-left:245px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a{ + text-decoration:none; +} +a:hover, #content h2 a:hover { +text-decoration: underline; +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ + +.desc p a[href$=".PDF"], a[href$=".pdf"], #pagina p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + float:left; + margin-left:0; + height:17px; + overflow:hidden; +} + +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 14px; + line-height:15px; + margin-top:30px; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 1px 0px; + padding:0px 0px 1px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:1px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-274{margin-bottom:20px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px;} +li.especial, li.unica {text-transform:uppercase;} +ul.sub-menu li {text-transform: none!important;} +ul.menu li.sola{display: block; margin-bottom:3px; text-transform: uppercase;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a, ul.menu li.sola a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important; + cursor: text; + text-decoration: none;} + + + +ul.sub-menu {display:inline;} +ul.menu li.unica li {display:inline;} + +ul.menu li li {display:inline;} + +ul.sidebar li:first-child.widget_text {color: #F63!important;} +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important; + cursor: pointer;} + +ul.menu ul.sub-menu li a:hover {text-decoration: underline;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:96px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + +/* aumentar anchura calendari i canal hangar */ +.page-id-15261 #content.unic #pagina, .page-id-15192 #content.unic #pagina { + width: 800px; +} + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; + /*margin: 3px 0 10px 0;*/ +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:13x; + line-height:14px; + padding-bottom:10px; + min-height: 28px; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; +} + +.novista {display:block; height:28px;} + +.art .novista {height:39px;} + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:15px; padding: 0; color: #0000FF; display: block; } + +.art .head-entry {height:45px; } + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 13px; line-height: 15px; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 15px;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: 60px; font-size:12px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + +/* special setting for showing excerpt image */ +#post-4051 p.excerptbox { height: 250px; } +#post-4051 .novista { height: 0; } + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip, #content h2.pag a {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {clear: both; display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {position:static!important; margin: 20px auto; top:auto!important; text-align:center;display:inline-table;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +/*.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";}*/ + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " ─ ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; min-height:19px; overflow:hidden; margin: 2px 0 6px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 267px;} +.legal {width:68px;padding-top:30px;padding-left: 30px;} +.credits {width:150px; font-size:9px; color: #A3A7A5; margin-top:9px;} +.credits a{color: #A3A7A5!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} + + + + + + + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} + +.tag .wp-pagenavi a, .tag .wp-pagenavi span { + padding: 1px !important; +} + +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} + +/* logo slider */ +#logoslider { width: 230px; height: 120px; margin-top:5px; } +#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden } +#logoslider p { padding-bottom:5px; } + +#logoslider2 { width: 230px; height: 100px; margin-top:5px; } +#logoslider2 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider2 p { padding-bottom:5px; } + +/* logos portada */ +.banner-image { + margin-left: -7px; +} + +/*styles para tabla de convocatorias para jurado*/ +.page-template-page-plain-php #content.unic #pagina { + background-color: transparent; +} + +.page-template-page-plain-php .shadow { + box-shadow: none; +} + +li.boxentry.destacat { + background-color: yellow; +} diff --git a/hangar/css/style.jurado.css b/hangar/css/style.jurado.css new file mode 100644 index 0000000..7b81855 --- /dev/null +++ b/hangar/css/style.jurado.css @@ -0,0 +1,3 @@ +table.cf7-db-table tbody td > div { + max-height: none; +} diff --git a/hangar/css/style2.css b/hangar/css/style2.css new file mode 100644 index 0000000..aeddee2 --- /dev/null +++ b/hangar/css/style2.css @@ -0,0 +1,1315 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team +Version: 1.0 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main { + width:auto; + margin-left:10px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a, #content h2 a:hover{ + text-decoration:none; +} +a:hover { + +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ + +a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding-top: 50px; + background: url("images/pdficon.png") top center no-repeat; + width:140px; + text-align:center; + +} +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 14px; + line-height:15px; + margin-top:30px; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 0px 0px; + padding:0px 0px 0px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} +ul.sidebar li#nav_menu-8 {margin-top:20px;} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} +ul.sidebar li#text-3 {margin-top: 25px;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:0px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-38{display: block; margin-bottom:10px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px; text-transform: uppercase;} +ul.sidebar li#nav_menu-8 li.unica {margin-bottom:4px;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important;} +ul.menu li.unica li{text-transform:none;} +ul.sub-menu {display:block;} + +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:75px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px 0px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px 0px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; + /*margin: 3px 0 10px 0;*/ +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:13x; + line-height:19px; + padding-bottom:15px; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; + +} + + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:15px; padding: 0; color: #0000FF; display: inline-block; } + + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 13px; line-height: 15px; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 15px;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: 60px; font-size:12px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {clear:both; position:static!important; margin: 20px auto; top:auto!important;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";} + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " ─ ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; height:16px; overflow:hidden; margin: 2px 0 8px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 200px;} +.credits {width:200px; font-size:9px; color: #BBB; margin-top:20px;} +.credits a{color: #BBB!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} + + + + + + + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} diff --git a/hangar/css/style3.css b/hangar/css/style3.css new file mode 100644 index 0000000..bd84246 --- /dev/null +++ b/hangar/css/style3.css @@ -0,0 +1,1341 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team +Version: 1.0 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main { + width:auto; + margin-left:10px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a{ + text-decoration:none; +} +a:hover, #content h2 a:hover { +text-decoration: underline; +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ + + + + +#pagina p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding-top: 60px; + background: url("images/pdficon.png") center 10px no-repeat; + text-align:center; + float:left; + width:140px; + margin-left: 20px; + height:50px; + overflow:hidden; + +} +.desc p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding-top: 60px; + background: url("images/pdficon.png") center 10px no-repeat; + text-align:center; + width:95px; + float:left; + margin-left:0; + height:32px; + overflow:hidden; +} + + +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 14px; + line-height:15px; + margin-top:30px; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 1px 0px; + padding:0px 0px 1px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:1px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-274{margin-bottom:20px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px;} +li.especial, li.unica {text-transform:uppercase;} +ul.sub-menu li {text-transform: none!important;} +ul.menu li.sola{display: block; margin-bottom:3px; text-transform: uppercase;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a, ul.menu li.sola a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important;} + +ul.sub-menu {display:inline;} +ul.menu li.unica li {display:inline;} + +ul.menu li li {display:inline;} + +ul.sidebar li:first-child.widget_text {color: #F63!important;} +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:75px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px 0px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px 0px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; + /*margin: 3px 0 10px 0;*/ +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:13x; + line-height:19px; + padding-bottom:15px; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; +} + +.novista {display:block; height:19px;} + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:15px; padding: 0; color: #0000FF; display: block; } + + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 13px; line-height: 15px; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 15px;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: 60px; font-size:12px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {clear: both; display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {clear:both; position:static!important; margin: 20px auto; top:auto!important; width:30%; text-align:center;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";} + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " ─ ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; height:19px; overflow:hidden; margin: 2px 0 6px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 267px;} +.legal {width:68px;padding-top:30px;padding-left: 30px;} +.credits {width:150px; font-size:9px; color: #A3A7A5; margin-top:20px;} +.credits a{color: #A3A7A5!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} + + + + + + + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} diff --git a/hangar/css/style4.css b/hangar/css/style4.css new file mode 100644 index 0000000..06d7ee7 --- /dev/null +++ b/hangar/css/style4.css @@ -0,0 +1,1424 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team & vitrubio.net +Version: 2.0 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +@media screen and (max-width: 768px) { +#top-head { + margin-bottom:4rem; + } + +ul.diversos.alignleft { + float: none; +} + +.languages.alignleft { + display: block; + float: none; +} + +#cercar { + float: none; + display: block; +} + +#sidebar-primary { + float: none; +} +.sidebar.segona { + display: none; + position:relative; +} +} +@media screen and (min-width: 425px) { +#top-head { + margin-bottom:4rem; + } + +ul.diversos.alignleft { + float: inherit; +} + +.languages.alignleft { + display: inline; + float: inherit; +} + +#cercar { + float: inherit; + display: inline; +} + +} +@media screen and (min-width: 768px) { +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main, .category #main { + width:auto; + margin-left:245px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a{ + text-decoration:none; +} +a:hover, #content h2 a:hover { +text-decoration: underline; +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ + +.desc p a[href$=".PDF"], a[href$=".pdf"], #pagina p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + float:left; + margin-left:0; + height:17px; + overflow:hidden; +} + +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 14px; + line-height:15px; + margin-top:30px; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 1px 0px; + padding:0px 0px 1px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:1px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-274{margin-bottom:20px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px;} +li.especial, li.unica {text-transform:uppercase;} +ul.sub-menu li {text-transform: none!important;} +ul.menu li.sola{display: block; margin-bottom:3px; text-transform: uppercase;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a, ul.menu li.sola a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important; + cursor: text; + text-decoration: none;} + + + +ul.sub-menu {display:inline;} +ul.menu li.unica li {display:inline;} + +ul.menu li li {display:inline;} + +ul.sidebar li:first-child.widget_text {color: #F63!important;} +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important; + cursor: pointer;} + +ul.menu ul.sub-menu li a:hover {text-decoration: underline;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:96px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + +/* aumentar anchura calendari i canal hangar */ +.page-id-15261 #content.unic #pagina, .page-id-15192 #content.unic #pagina { + width: 800px; +} + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; + /*margin: 3px 0 10px 0;*/ +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:13x; + line-height:14px; + padding-bottom:10px; + min-height: 28px; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; +} + +.novista {display:block; height:28px;} + +.art .novista {height:39px;} + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:15px; padding: 0; color: #0000FF; display: block; } + +.art .head-entry {height:45px; } + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 13px; line-height: 15px; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 15px;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: 60px; font-size:12px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + +/* special setting for showing excerpt image */ +#post-4051 p.excerptbox { height: 250px; } +#post-4051 .novista { height: 0; } + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip, #content h2.pag a {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {clear: both; display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {position:static!important; margin: 20px auto; top:auto!important; text-align:center;display:inline-table;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +/*.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";}*/ + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " ─ ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; min-height:19px; overflow:hidden; margin: 2px 0 6px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 267px;} +.legal {width:68px;padding-top:30px;padding-left: 30px;} +.credits {width:150px; font-size:9px; color: #A3A7A5; margin-top:9px;} +.credits a{color: #A3A7A5!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} + + + + + + + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} + +.tag .wp-pagenavi a, .tag .wp-pagenavi span { + padding: 1px !important; +} + +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} + +/* logo slider */ +#logoslider { width: 230px; height: 120px; margin-top:5px; } +#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden } +#logoslider p { padding-bottom:5px; } + +#logoslider2 { width: 230px; height: 100px; margin-top:5px; } +#logoslider2 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider2 p { padding-bottom:5px; } + +/* logos portada */ +.banner-image { + margin-left: -7px; +} + +/*styles para tabla de convocatorias para jurado*/ +.page-template-page-plain-php #content.unic #pagina { + background-color: transparent; +} + +.page-template-page-plain-php .shadow { + box-shadow: none; +} + +li.boxentry.destacat { + background-color: yellow; +} + +} diff --git a/hangar/css/styleHangar.css b/hangar/css/styleHangar.css new file mode 100644 index 0000000..fa95371 --- /dev/null +++ b/hangar/css/styleHangar.css @@ -0,0 +1,265 @@ +@charset "utf-8"; + +.centertext { + text-align: center; + margin-bottom:5px; +} +.textblau { + color: blue; +} + +.petita10{font-size:10px;} + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} + +.tag .wp-pagenavi a, .tag .wp-pagenavi span { + padding: 1px !important; +} + +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} + +/* --- Sharif social icons --- */ +.shariff-button.info { + display: none; +} + + +/* logo slider */ +#logoslider { width: 230px; height: 120px; margin-top:5px; } +#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden } +#logoslider p { padding-bottom:5px; } + +#logoslider2 { width: 230px; height: 100px; margin-top:5px; } +#logoslider2 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider2 p { padding-bottom:5px; } + + +#logoslider3 { width: 230px; height: 100px; margin-top:5px; } +#logoslider3 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider3 p { padding-bottom:5px; } +#logoslider3 .banner-image {margin-left:0 !important; max-width:150px;} + +/* logos portada */ +.banner-image { + margin-left: -7px; +} + +/*styles para tabla de convocatorias para jurado*/ +.page-template-page-plain-php #content.unic #pagina { + background-color: transparent; +} + +.page-template-page-plain-php .shadow { + box-shadow: none; +} + +li.boxentry.destacat { + background-color: yellow; +} + +table.cf7-db-table tbody td > div { + max-height: none; +} + + +/* mods for mobile devices on top of the theme. +* date: 2020 04 14 +* by: jorge vitrubio.net +* * * */ + +.hide{display: none;} + +.toogle-sidebar-segona .show-mobile, +.toogle-sidebar-segona .hide-not-mobile{ + display:none; +} + +@media screen and (max-width: 768px) { +/* begin of top-head*/ + #top-head{ + min-height: 6rem; + height:auto; + margin-bottom:2rem; + max-width: 100vw; + min-width: 0; + width: 100vw; + } + #wrap_topheader.amplegrann { + display: inline-block; + } + + ul.diversos.alignleft { + float: none; + } + ul.diversos li { + margin-right: 0; + } + + .languages.alignleft { + display: block; + float: none; + } + + #cercar { + float: none; + margin-right: 0; + width: 100%; + } + + .search-input { + width: calc(100% - 75px); + } + /* end of top-head*/ + #sidebar-primary { + float: none; + } + + /* begin of menu-hidden */ + .toogle-sidebar-segona .show-mobile{ + display:inherit; + } + .toogle, + .toogled-menu { + display: none; + } + .toogle:checked+.toogled-menu{ + display: block; + /* margin-top:0; + position: relative; */ + } + .toogle-show { + position: relative; + display: inline-block; + width: 1.8em; + height: 1em; + margin-right: 0.3em; + border-top: 0.3em solid #000; + border-bottom: 0.3em solid #000; + } + .toogle-show:before { + content: ""; + position: absolute; + top: 0.3em; + left: 0px; + width: 100%; + border-top: 0.3em solid #000; + } + .toogle-hide::after{ + content: 'x'; + display: block; + top: -1rem; + left: 0rem; + height: 1.1rem; + width: 1.1rem; + font-size: 2rem; + font-weight: bold; + background-color: white; + color: black; + padding: 0.2rem; + margin-top: -1.4rem; + } + /* end of menu hidden*/ + + /* + * styles to fit elements into mobile + * * */ + #content { + width: 80vw; + float: none; + } + #breadcrumb{ + overflow:unset; + width:90vw; + margin-top:1rem; + } + #breadcrumb ul li { + font-size:0.7rem; + } + #content.unic #pagina, #content.unic .post, #content.resultats #pagina { + width: 80vw; + min-height: auto; + } + .boxentry { + width: 100%; + } + :not(li).boxentry { + width: 100%; + height: auto; + padding-bottom:4rem; + } + .boxpeu{ + width:100%; + position:relative; + } + .page-template-seccions-php #main, .category #main { + margin-left:auto; + } + #footer { + height: 100%; + display: inline-block; + } +} + +@media screen and (min-width: 426px) and (max-width: 768px) { + .boxentry { + max-width: 14rem; + } + :not(li).boxentry { + height: 360px; + padding-bottom:15px; + } +} diff --git a/hangar/css/styleHangar.css.20210115 b/hangar/css/styleHangar.css.20210115 new file mode 100644 index 0000000..0fcc0ca --- /dev/null +++ b/hangar/css/styleHangar.css.20210115 @@ -0,0 +1,259 @@ +@charset "utf-8"; + +.centertext { + text-align: center; + margin-bottom:5px; +} +.textblau { + color: blue; +} + +.petita10{font-size:10px;} + +/* Plugin Styles +--------------------------------------------- */ +/* --- Contact Form 7 --- */ +#content .wpcf7 { + padding:20px 0px 20px 0px; +} +#content #page .wpcf7 p { + padding:0px 0px 10px 0px; + font-size:13px; +} +input.wpcf7-text { + height:22px; +} +.wpcf7 textarea { + font-family:'Droid Sans', arial, sans-serif; + font-size:14px; +} +input.wpcf7-submit { + margin:0px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} +.wpcf7-response-output, .wpcf7-not-valid-tip { + margin:0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + line-height:18px; + font-style:italic; +} + +.tag .wp-pagenavi a, .tag .wp-pagenavi span { + padding: 1px !important; +} + +/* --- jQuery Thickbox --- */ +#TB_window img#TB_Image { + border-bottom:none ! important; + border-left:none ! important; + border-right: none ! important; + border-top: none ! important; + margin: 15px 0px 0px 15px; +} +#TB_caption { + height: 30px ! important; + padding: 7px 15px 15px 15px ! important; +} +#TB_secondLine { + padding: 4px 0px 0px 0px; +} +#TB_closeWindow { + height: 30px ! important; + padding: 11px 15px 10px 0px ! important; +} +#TB_window a { + color: #333333 ! important; +} + +/* logo slider */ +#logoslider { width: 230px; height: 120px; margin-top:5px; } +#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden } +#logoslider p { padding-bottom:5px; } + +#logoslider2 { width: 230px; height: 100px; margin-top:5px; } +#logoslider2 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider2 p { padding-bottom:5px; } + + +#logoslider3 { width: 230px; height: 100px; margin-top:5px; } +#logoslider3 div { width: 235px; height: 100px; text-align: left; overflow: hidden } +#logoslider3 p { padding-bottom:5px; } +#logoslider3 .banner-image {margin-left:0 !important; max-width:150px;} + +/* logos portada */ +.banner-image { + margin-left: -7px; +} + +/*styles para tabla de convocatorias para jurado*/ +.page-template-page-plain-php #content.unic #pagina { + background-color: transparent; +} + +.page-template-page-plain-php .shadow { + box-shadow: none; +} + +li.boxentry.destacat { + background-color: yellow; +} + +table.cf7-db-table tbody td > div { + max-height: none; +} + + +/* mods for mobile devices on top of the theme. +* date: 2020 04 14 +* by: jorge vitrubio.net +* * * */ + +.hide{display: none;} + +.toogle-sidebar-segona .show-mobile, +.toogle-sidebar-segona .hide-not-mobile{ + display:none; +} + +@media screen and (max-width: 768px) { +/* begin of top-head*/ + #top-head{ + min-height: 6rem; + height:auto; + margin-bottom:2rem; + max-width: 100vw; + min-width: 0; + width: 100vw; + } + #wrap_topheader.amplegrann { + display: inline-block; + } + + ul.diversos.alignleft { + float: none; + } + ul.diversos li { + margin-right: 0; + } + + .languages.alignleft { + display: block; + float: none; + } + + #cercar { + float: none; + margin-right: 0; + width: 100%; + } + + .search-input { + width: calc(100% - 75px); + } + /* end of top-head*/ + #sidebar-primary { + float: none; + } + + /* begin of menu-hidden */ + .toogle-sidebar-segona .show-mobile{ + display:inherit; + } + .toogle, + .toogled-menu { + display: none; + } + .toogle:checked+.toogled-menu{ + display: block; + /* margin-top:0; + position: relative; */ + } + .toogle-show { + position: relative; + display: inline-block; + width: 1.8em; + height: 1em; + margin-right: 0.3em; + border-top: 0.3em solid #000; + border-bottom: 0.3em solid #000; + } + .toogle-show:before { + content: ""; + position: absolute; + top: 0.3em; + left: 0px; + width: 100%; + border-top: 0.3em solid #000; + } + .toogle-hide::after{ + content: 'x'; + display: block; + top: -1rem; + left: 0rem; + height: 1.1rem; + width: 1.1rem; + font-size: 2rem; + font-weight: bold; + background-color: white; + color: black; + padding: 0.2rem; + margin-top: -1.4rem; + } + /* end of menu hidden*/ + + /* + * styles to fit elements into mobile + * * */ + #content { + width: 80vw; + float: none; + } + #breadcrumb{ + overflow:unset; + width:90vw; + margin-top:1rem; + } + #breadcrumb ul li { + font-size:0.7rem; + } + #content.unic #pagina, #content.unic .post, #content.resultats #pagina { + width: 80vw; + min-height: auto; + } + .boxentry { + width: 100%; + } + :not(li).boxentry { + width: 100%; + height: auto; + padding-bottom:4rem; + } + .boxpeu{ + width:100%; + position:relative; + } + .page-template-seccions-php #main, .category #main { + margin-left:auto; + } + #footer { + height: 100%; + display: inline-block; + } +} + +@media screen and (min-width: 426px) and (max-width: 768px) { + .boxentry { + max-width: 14rem; + } + :not(li).boxentry { + height: 360px; + padding-bottom:15px; + } +} diff --git a/hangar/custom-login/custom-login.css b/hangar/custom-login/custom-login.css new file mode 100644 index 0000000..4cf040c --- /dev/null +++ b/hangar/custom-login/custom-login.css @@ -0,0 +1,26 @@ +@charset "utf-8"; +/* +Document : custom-login +Created on : date and time +Author : created by +Description: Purpose of the stylesheet follows. +*/ +/* +TODO customize this sample style +Syntax recommendation http://www.w3.org/TR/REC-CSS2/ +*/ +html {background: #8699DD!important;} +body{border-top-style:solid;border-top-width:30px;} +body, #wpbody, .form-table .pre {color:#333333;} +body.login {border-top-color:#464646;} +h1 a{background:url("../images/logo.png") no-repeat scroll 0 0 transparent;display:block;padding-bottom:15px;text-indent:-9999px; width:226px; height:81px; margin: 0 auto} +#login {margin:8% auto;width:350px;} +form{background:none repeat scroll 0 0 #E5E5E5!important;} +.login #nav a { + color: #000 !important; +} +#nav { + font-size: 14px; + text-align: center; + text-shadow: none; +} \ No newline at end of file diff --git a/hangar/footer.php b/hangar/footer.php new file mode 100644 index 0000000..8d7ad30 --- /dev/null +++ b/hangar/footer.php @@ -0,0 +1,72 @@ + + + + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to reference JavaScript files. + */ + + wp_footer(); +?> + + diff --git a/hangar/footer2.php b/hangar/footer2.php new file mode 100644 index 0000000..04a920d --- /dev/null +++ b/hangar/footer2.php @@ -0,0 +1,71 @@ + + + + + + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to reference JavaScript files. + */ + + wp_footer(); +?> + + diff --git a/hangar/functions.php b/hangar/functions.php new file mode 100644 index 0000000..cd7de41 --- /dev/null +++ b/hangar/functions.php @@ -0,0 +1,474 @@ +ID) . '"> [...]'; +} +add_filter('excerpt_more', 'new_excerpt_more'); + +// custom login screen i peu de l'admin +function custom_login() { + //echo ''; + // time stamp for caching + // https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-2056 + // wp_enqueue_style( 'myCustomStyles', get_template_directory_uri() . '/css/styleHangar.css', array(), filemtime(get_template_directory() . '/css/styleHangar.css'), false); + echo ''; + +} +add_action('login_head', 'custom_login'); + +function change_wp_login_url() { +echo bloginfo('url'); +} +add_filter('login_headerurl', 'change_wp_login_url'); + +function change_wp_login_title() { +echo 'Powered by ' . get_option('blogname'); +} +add_filter('login_headertitle', 'change_wp_login_title'); + +function remove_footer_admin () { +echo 'Custom text | Copyright © message'; +} +add_filter('admin_footer_text', 'remove_footer_admin'); + +// THIS GIVES US SOME OPTIONS FOR STYLING THE ADMIN AREA +function custom_controls() { + echo ''; +} + +add_action('admin_head', 'custom_controls'); + +/* create calendar event when saving post with dates */ +function create_event( $post_id ) { + + // If this is just a revision, don't send the email. + if ( wp_is_post_revision( $post_id ) ) + return; + + $myPost = get_post($post_id); + if (has_category(array('news', 'activitats-dels-residents'), $post_id) && + !$update && + $myPost->post_modified_gmt == $myPost->post_date_gmt) { + + //The URL that we want to send a PUT request to. + $uid = get_the_guid( $post_id ); + $url = 'https://cloud.hangar.org/remote.php/dav/calendars/hangar/hangar_activitats/neu.ics'; + $headers = array('Content-Type: text/calendar', 'charset=utf-8'); + $userpwd = 'hangar:AV63xlklCuOJgYTnHz5smX4chiAaDpJo'; + $description = get_the_content( $post_id ); + $summary = get_the_title( $post_id ); + $tstart = gmdate("Ymd\THis\Z", strtotime("-2 days")); + $tend = gmdate("Ymd\THis\Z", strtotime("-2 days")); + $tstamp = gmdate("Ymd\THis\Z"); + + // vcalendar + $body = 'BEGIN:VCALENDAR + VERSION:2.0 + BEGIN:VEVENT + DTSTAMP:$tstamp + DTSTART:$tstart + DTEND:$tend + UID:$uid + DESCRIPTION:$description + LOCATION:Hangar + SUMMARY:$summary + END:VEVENT + END:VCALENDAR'; + + //Initiate cURL + $ch = curl_init($url); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); + curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); + curl_setopt($ch, CURLOPT_USERPWD, $userpwd); + //curl_setopt($ch, CURLOPT_PUT, true); + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT'); + curl_setopt($ch, CURLOPT_POSTFIELDS, $body); + + //Execute the request. + $response = curl_exec($ch); + curl_close($ch); + + // send confirmation mail + $post_title = $summary; + $post_excerpt = $description; + $post_url = get_permalink( $post_id ); + $subject = 'A new EVENT post has been saved'; + + $message = "A new post has been created on your website:\n\n"; + $message .= $post_title . ": " . $post_url . "\n\n"; + $message .= $post_excerpt . "\n\n"; + $message .= $uid . "\n\n"; + $message .= print_r($response); + + // Send email to admin. + wp_mail( 'gerald@hangar.org', $subject, $message ); + } +} +add_action( 'save_post', 'create_event', 10, 3 ); + +//per imprimir el content sense que ens tregui l'html +function get_the_content_with_formatting ($more_link_text = '(...)', $stripteaser = 0, $more_file = '') { + $content = get_the_content($more_link_text, $stripteaser, $more_file); + $content = apply_filters('the_content', $content); + $content = str_replace(']]>', ']]>', $content); + $content = substr($content, 0,400); + return $content; +} +//per imprimir l'excerpt indicant un nombre de caràcters màxim +function the_excerpt_max_charlength($charlength) { + $excerpt = get_the_excerpt(); + $charlength++; + if(strlen($excerpt)>$charlength) { + $subex = substr($excerpt,0,$charlength-5); + $exwords = explode(" ",$subex); + $excut = -(strlen($exwords[count($exwords)-1])); + if($excut<0) { + echo substr($subex,0,$excut); + } else { + echo $subex; + } + echo "[...]"; + } else { + echo $excerpt; + } +} + +//afegir estils a l'editor + +/* Custom CSS styles on WYSIWYG - Start +======================================= */ +if ( ! function_exists( 'myCustomTinyMCE' ) ) : +function myCustomTinyMCE($init) { +$init['theme_advanced_buttons2_add_before'] = 'styleselect'; // Adiciona os botões no incio da linha. (theme_advanced_buttons2_add adiciona-os no fim da linha) +$init['theme_advanced_styles'] = 'Centrar text=centertext,Text blau=textblau,Lletra petita=petita,Icona PDF=pdficon'; // Especifica os estilos a aplicar pela selectbox acima criada, e que já estão definidos no mycustomstyles.css, altere e/ou acrescente os seus. +return $init; +} +endif; +add_filter('tiny_mce_before_init', 'myCustomTinyMCE' ); +add_filter( 'mce_css', 'tdav_css' ); +// incluir o CSS no tema. +function mycustomStyles(){ + // Se tiver dado ao seu ficheiros css um nome diferente do usado no exemplo, altere também aqui o nome do mesmo. + //wp_enqueue_style( 'myCustomStyles', get_bloginfo('template_url').'/css/styleHangar.css', '','','all' ); +// time stamp for caching +// https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-2056 +wp_enqueue_style( 'myCustomStyles', get_template_directory_uri() . '/css/styleHangar.css', array(), filemtime(get_template_directory() . '/css/styleHangar.css'), false); + +} +add_action('init', 'myCustomStyles'); +/* Custom CSS styles on WYSIWYG - End +======================================= */ +/** + * Tests if any of a post's assigned categories are descendants of target categories + * + * @param int|array $cats The target categories. Integer ID or array of integer IDs + * @param int|object $_post The post. Omit to test the current post in the Loop or main query + * @return bool True if at least 1 of the post's categories is a descendant of any of the target categories + * @see get_term_by() You can get a category by name or slug, then pass ID to this function + * @uses get_term_children() Passes $cats + * @uses in_category() Passes $_post (can be empty) + * @version 2.7 + * @link http://codex.wordpress.org/Function_Reference/in_category#Testing_if_a_post_is_in_a_descendant_category + */ +function post_is_in_descendant_category( $cats, $_post = null ) +{ + foreach ( (array) $cats as $cat ) { + // get_term_children() accepts integer ID only + $descendants = get_term_children( (int) $cat, 'category'); + if ( $descendants && in_category( $descendants, $_post ) ) + return true; + } + return false; +} +//end function testing descendent categories + +function is_page_child($post, $idp) +{ + //497 = artistes residents + $prova = $post->post_parent; + if ($prova == $idp) : + return true; + else : + return false; + endif; + + $idp = null; +} + +//per saber si una categoria té subcategories + +function has_subcategories($catt) +{ + $child_cats = get_term_children($catt, 'category'); + + $childs = count($child_cats); + + if ($childs > 0 ) : + return true; + else : + return false; + endif; +} + +//contruim un panell de control a l'administració per a que vegin les que estan marcades per a sortir a la home +function menu_control_home(){ + add_menu_page( "Control Home","Control Home", "add_users", "control_home", "control_home", "", 6 ); +} + +function control_home(){ + + global $wpdb; + $querystr = " + SELECT wposts.post_name,wposts.ID, users.user_login, m1.meta_value as inicio, m2.meta_value as orden + FROM $wpdb->posts wposts + INNER JOIN $wpdb->postmeta m1 ON wposts.ID = m1.post_id + INNER JOIN $wpdb->postmeta m2 ON wposts.ID = m2.post_id + INNER JOIN $wpdb->users users ON wposts.post_author = users.ID + WHERE (wposts.post_type = 'post' OR wposts.post_type = 'page') + AND m1.meta_key = 'Inici' + AND m1.meta_value = '1' + AND m2.meta_key = 'Ordre_inici' + GROUP BY ID + ORDER BY inicio DESC, CAST(orden AS SIGNED) ASC + "; + + echo'
    +

    Control Home


    '; + + $pageposts = $wpdb->get_results($querystr, OBJECT); + if ($pageposts): + global $post; + + + echo " + + + + + + + + + + "; + + foreach ($pageposts as $post): + $nom = $post->post_name; + $id = $post->ID; + $autor = $post->user_login; + $inici = $post->inicio; + $ordre = $post->orden; + echo " + + + + + + "; + endforeach; + echo "
    Nombre PostIdAutor PostInicioOrden
    $nom$id$autor$inici$ordre
    "; + endif; + +} + +add_action("admin_menu","menu_control_home"); + +// Filtre que modifica la funcio que mostra els menús, per poder seleccionar mitjançant el camp title, quines seràn links i quines no. +// title= no_link -> no es un link +// title != no_link -> es un link + +// wp_includes -> nav-menu-template.php, es on es trova la clase que s'esta modificant + +class my_Walker_Nav_Menu extends Walker_Nav_Menu { + + /** + * @see Walker::start_el() + * @since 3.0.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $item Menu item data object. + * @param int $depth Depth of menu item. Used for padding. + * @param int $current_page Menu item ID. + * @param object $args + */ + + function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) + { + global $wp_query; + $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; + + $class_names = $value = ''; + + $classes = empty( $item->classes ) ? array() : (array) $item->classes; + $classes[] = 'menu-item-' . $item->ID; + + $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) ); + $class_names = ' class="' . esc_attr( $class_names ) . '"'; + + $id = apply_filters( 'nav_menu_item_id', 'menu-item-'. $item->ID, $item, $args ); + $id = strlen( $id ) ? ' id="' . esc_attr( $id ) . '"' : ''; + + $output .= $indent . ''; + + if(! empty( $item->attr_title ) && ($item->attr_title == 'no_link')) + { + $attributes = ''; + } + else + { + $attributes = ! empty( $item->attr_title ) ? ' title="' . esc_attr( $item->attr_title ) .'"' : ''; + $attributes .= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : ''; + $attributes .= ! empty( $item->xfn ) ? ' rel="' . esc_attr( $item->xfn ) .'"' : ''; + $attributes .= ! empty( $item->url ) ? ' href="' . esc_attr( $item->url ) .'"' : ''; + } + + $item_output = $args->before; + $item_output .= ''; + $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after; + $item_output .= ''; + $item_output .= $args->after; + + $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args ); + + } +} +?> +', ']]>', $text); + + //Add the allowed HTML tags separated by a comma. + $allowed_tags = '

    ,,,'; + $text = strip_tags($text, $allowed_tags); + + //Change the excerpt word count. + $excerpt_word_count = 60; + $excerpt_length = apply_filters('excerpt_length', $excerpt_word_count); + + //Change the excerpt ending. + $excerpt_end = ' ' . '» Continue Reading.' . ''; + $excerpt_more = apply_filters('excerpt_more', ' ' . $excerpt_end); + + $words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY); + if ( count($words) > $excerpt_length ) { + array_pop($words); + $text = implode(' ', $words); + $text = $text . $excerpt_more; + } else { + $text = implode(' ', $words); + } +}*/ + +// https://stackoverflow.com/questions/15283948/wordpress-html-tags-strip-on-manual-excerpt +function custom_wp_trim_excerpt($text='') { +$raw_excerpt = $text; +if ( '' == $text ) { + //Retrieve the post content. + $text = get_the_content(''); + + //Delete all shortcode tags from the content. + $text = strip_shortcodes( $text ); + + $text = apply_filters('the_content', $text); + $text = str_replace(']]>', ']]>', $text); + + $allowed_tags = ',,,,

    ,'; /*** MODIFY THIS. Add the allowed HTML tags separated by a comma.***/ + $twopart_tags = ',,,,

    ,'; /*** MODIFY THIS. Add the twopart HTML tags separated by a comma.***/ + /* turn tag list into one big search pattern */ + $search_patterns = "/" . str_replace(",","|",str_replace(">", "[^>]*>",$twopart_tags)) . '/'; + + $text = strip_tags($text, $allowed_tags); + + $excerpt_word_count = 200; /*** MODIFY THIS. change the excerpt word count to any integer you like.***/ + $excerpt_length = apply_filters('excerpt_length', $excerpt_word_count); + + $excerpt_end = '[...]'; /*** MODIFY THIS. change the excerpt endind to something else.***/ + $excerpt_more = apply_filters('excerpt_more', ' ' . $excerpt_end); + + $words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY); + if ( count($words) > $excerpt_length ) { + array_pop($words); + $text = implode(' ', $words); + $text = $text . $excerpt_more; + } else { + $text = implode(' ', $words); + }; + + + /* if fragment ends in open tag, trim off */ + preg_replace ("/<[^>]*$/", "", $text); + + /* search for tags in excerpt */ + preg_match_all ($search_patterns, $text, $matches); + /* if any tags found, check for matching pairs */ + $tagstack = array (""); + $tagsfound = $matches[0]; + while ( count ($tagsfound) > 0) { + $tagmatch = array_shift($tagsfound); + /* if it's a closing tag, hooray; but if it's not, then look for the closer */ + if ( !strpos($tagmatch,"") ) { + preg_match("/\pL+/",$tagmatch, $tagwords); + $endtag = ""; + /* if this tag was not closed, put the closing tag on the stack */ + if (!in_array($endtag, $tagsfound) ) { + array_push($tagstack,$endtag); + }; + }; + }; + + /* if any unbalanced tags were found, add the closing tags */ + while (count ($tagstack) > 1) { + $text = $text . array_pop($tagstack); + } +} +return apply_filters('wp_trim_excerpt', $text, $raw_excerpt); +} +remove_filter('get_the_excerpt', 'wp_trim_excerpt'); +add_filter('get_the_excerpt', 'custom_wp_trim_excerpt'); +?> diff --git a/hangar/header-plain.php b/hangar/header-plain.php new file mode 100644 index 0000000..88acbd6 --- /dev/null +++ b/hangar/header-plain.php @@ -0,0 +1,78 @@ + +> + + + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'hangar' ), max( $paged, $page ) ); + + ?> + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); + ?> + + + +> + +

    +
    + +
    + +
    + +
    + +
    + +
    +
    +
    diff --git a/hangar/header.php b/hangar/header.php new file mode 100644 index 0000000..300c7dc --- /dev/null +++ b/hangar/header.php @@ -0,0 +1,102 @@ + +> + + + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'hangar' ), max( $paged, $page ) ); + + ?> + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); + ?> + + + +> + +
    +
    + +
    + +
    + +
      +
    • +
    • +
    • +
    + +
    + +
    +
    +
    + +
    + + + diff --git a/hangar/home.php b/hangar/home.php new file mode 100644 index 0000000..a4a7260 --- /dev/null +++ b/hangar/home.php @@ -0,0 +1,98 @@ + + + +
    +
    + + posts wposts + INNER JOIN $wpdb->postmeta m1 ON wposts.ID = m1.post_id + INNER JOIN $wpdb->postmeta m2 ON wposts.ID = m2.post_id + WHERE (wposts.post_type = 'post' OR wposts.post_type = 'page') + AND m1.meta_key = 'Inici' + AND m1.meta_value = '1' + AND m2.meta_key = 'Ordre_inici' + AND wposts.post_status = 'publish' + GROUP BY ID + ORDER BY CAST( m2.meta_value AS SIGNED ) ASC + "; + + $totalposts = $wpdb->get_results($total, OBJECT); + $ppp = intval(get_query_var('posts_per_page')); //sçon 11 per la resta de pàgines índex però a la home en volem 12 + $ppp = intval(16); + $wp_query->found_posts = count($totalposts); + $wp_query->max_num_pages = ceil($wp_query->found_posts / $ppp); + $on_page = intval(get_query_var('paged')); + if($on_page == 0){ $on_page = 1; } + $offset = ($on_page-1) * $ppp; + + $wp_query->request = "SELECT * + FROM $wpdb->posts wposts + INNER JOIN $wpdb->postmeta m1 ON wposts.ID = m1.post_id + INNER JOIN $wpdb->postmeta m2 ON wposts.ID = m2.post_id + WHERE (wposts.post_type = 'post' OR wposts.post_type = 'page') + AND m1.meta_key = 'Inici' + AND m1.meta_value = '1' + AND m2.meta_key = 'Ordre_inici' + AND wposts.post_status = 'publish' + GROUP BY ID + ORDER BY CAST( m2.meta_value AS SIGNED ) ASC + LIMIT $ppp OFFSET $offset"; + + $pageposts = $wpdb->get_results($wp_query->request, OBJECT); + + + ?> +'; + foreach ($pageposts as $post): + setup_postdata($post); + $category = get_the_category(); + if ($category) : + $tipus = 'catt' ; + else: + if (is_page_child($post, 2)) : + $tipus = 'art'; //artistes + elseif (is_page_child($post, 136)) : + $tipus = 'desc'; //descàrregues + elseif (is_page_child($post, 74)) : + $tipus = 'desc'; //equip + else : + $tipus = 'pag'; + endif; + endif; + + include(TEMPLATEPATH . "/caixes.php"); + + endforeach; ?> + + + + + + +

    +

    + + + +
    +
    + + diff --git a/hangar/images/faqs.png b/hangar/images/faqs.png new file mode 100644 index 0000000..d080bdd Binary files /dev/null and b/hangar/images/faqs.png differ diff --git a/hangar/images/faqshover.png b/hangar/images/faqshover.png new file mode 100644 index 0000000..fddd3ce Binary files /dev/null and b/hangar/images/faqshover.png differ diff --git a/hangar/images/fletxalink.png b/hangar/images/fletxalink.png new file mode 100644 index 0000000..0eb238e Binary files /dev/null and b/hangar/images/fletxalink.png differ diff --git a/hangar/images/fletxalinkblanca.png b/hangar/images/fletxalinkblanca.png new file mode 100644 index 0000000..a503a81 Binary files /dev/null and b/hangar/images/fletxalinkblanca.png differ diff --git a/hangar/images/headericonsspreat.png b/hangar/images/headericonsspreat.png new file mode 100644 index 0000000..9e964fd Binary files /dev/null and b/hangar/images/headericonsspreat.png differ diff --git a/hangar/images/index2.php b/hangar/images/index2.php new file mode 100644 index 0000000..f12ed2c --- /dev/null +++ b/hangar/images/index2.php @@ -0,0 +1,14 @@ + + + + +Untitled Document + + + + + +HOLA + + + diff --git a/hangar/images/info.png b/hangar/images/info.png new file mode 100644 index 0000000..2b36664 Binary files /dev/null and b/hangar/images/info.png differ diff --git a/hangar/images/infohover.png b/hangar/images/infohover.png new file mode 100644 index 0000000..6cd7268 Binary files /dev/null and b/hangar/images/infohover.png differ diff --git a/hangar/images/logo-20.gif b/hangar/images/logo-20.gif new file mode 100644 index 0000000..853f1e8 Binary files /dev/null and b/hangar/images/logo-20.gif differ diff --git a/hangar/images/logo.gif b/hangar/images/logo.gif new file mode 100644 index 0000000..8ededb3 Binary files /dev/null and b/hangar/images/logo.gif differ diff --git a/hangar/images/logo.png b/hangar/images/logo.png new file mode 100644 index 0000000..8ecd676 Binary files /dev/null and b/hangar/images/logo.png differ diff --git a/hangar/images/logo_regular.gif b/hangar/images/logo_regular.gif new file mode 100644 index 0000000..878ddbf Binary files /dev/null and b/hangar/images/logo_regular.gif differ diff --git a/hangar/images/logogris.png b/hangar/images/logogris.png new file mode 100644 index 0000000..114c1f4 Binary files /dev/null and b/hangar/images/logogris.png differ diff --git a/hangar/images/lupa.png b/hangar/images/lupa.png new file mode 100644 index 0000000..11bac7b Binary files /dev/null and b/hangar/images/lupa.png differ diff --git a/hangar/images/motiufons.gif b/hangar/images/motiufons.gif new file mode 100644 index 0000000..aa47618 Binary files /dev/null and b/hangar/images/motiufons.gif differ diff --git a/hangar/images/motiufons.jpg b/hangar/images/motiufons.jpg new file mode 100644 index 0000000..b6ab6fe Binary files /dev/null and b/hangar/images/motiufons.jpg differ diff --git a/hangar/images/news.html b/hangar/images/news.html new file mode 100644 index 0000000..75e7722 --- /dev/null +++ b/hangar/images/news.html @@ -0,0 +1,275 @@ + + + + + + + + +News | Hangar + + + + + + + + + + + + + + + +
    +
    + +
      +
    • EN
    • + +
    • ES
    • +
    • CA
    • +
    + + + +
    + +
    +
    +
    + +
    + + + + + +
    +
    + +
    +
    + +

    News

    +

    La descripció de la categoria es posaria aquí i es mostrarà a la pàgina índex de les news.

    +
    + +

    aquí va l'anunci, pendent de fer

    +
    +
    + + + +
    + +
    + +

    fkjsdhf sadhfkjh

    + +

    posted on 14. abril 2011

    + + dfsdfsd

    wewrew try tryrytry nmaaaa

    + + enllaç + +
    + + +
    + + +
    + +
    +

    prova

    + +

    posted on 14. abril 2011

    + + dfasdfsdfsadfs

    jhl khkjhkljhkj hjkhlkjkjhkj mhlkjh kjhkljhlkjh

    + + enllaç + + +
    + + +
    + + +
    + +
    +

    Taller de construcció modular: Construeix el teu propi sintetitzador.

    + +

    posted on 30. març 2011

    + + + fgdgdfg

    Fase II és un cicle obert de tallers de construccioó de sintetitzadors modulars en el qual els assistents construeixen instruments musicals electrònics segons les seves necessitats.

    + + enllaç + +
    + + +
    + + +
    + +
    + +

    Insiders participate in open day

    + +

    posted on 10. març 2011

    + + fgdgdfg

    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many [...]

    + + enllaç + +
    + + +
    + + +
    + +
    +

    Media Labs in Europe ya está publicada

    + +

    posted on 10. març 2011

    + + fgdgdfg

    "Media Labs in Europe" es una publicación en papel impulsada por Catherine Lenoble (PING).

    + + + enllaç + +
    + + +
    + + + + +
    + + + + + +
    + + +
    + + +
    + + + + + + + diff --git a/hangar/images/news.png b/hangar/images/news.png new file mode 100644 index 0000000..dcdade4 Binary files /dev/null and b/hangar/images/news.png differ diff --git a/hangar/images/newshover.png b/hangar/images/newshover.png new file mode 100644 index 0000000..03134de Binary files /dev/null and b/hangar/images/newshover.png differ diff --git a/hangar/images/noimatge.jpg b/hangar/images/noimatge.jpg new file mode 100644 index 0000000..f937a4d Binary files /dev/null and b/hangar/images/noimatge.jpg differ diff --git a/hangar/images/noimatgegran.jpg b/hangar/images/noimatgegran.jpg new file mode 100644 index 0000000..3cfdfb9 Binary files /dev/null and b/hangar/images/noimatgegran.jpg differ diff --git a/hangar/images/pdficon.png b/hangar/images/pdficon.png new file mode 100644 index 0000000..e1be440 Binary files /dev/null and b/hangar/images/pdficon.png differ diff --git a/hangar/images/pdficon2.png b/hangar/images/pdficon2.png new file mode 100644 index 0000000..6cf4e83 Binary files /dev/null and b/hangar/images/pdficon2.png differ diff --git a/hangar/images/sponsors/cdmon.png b/hangar/images/sponsors/cdmon.png new file mode 100644 index 0000000..9041984 Binary files /dev/null and b/hangar/images/sponsors/cdmon.png differ diff --git a/hangar/images/sponsors/hamaca.png b/hangar/images/sponsors/hamaca.png new file mode 100644 index 0000000..2270181 Binary files /dev/null and b/hangar/images/sponsors/hamaca.png differ diff --git a/hangar/images/sponsors/ren.png b/hangar/images/sponsors/ren.png new file mode 100644 index 0000000..3f067a4 Binary files /dev/null and b/hangar/images/sponsors/ren.png differ diff --git a/hangar/images/sponsors/xarxaprod.png b/hangar/images/sponsors/xarxaprod.png new file mode 100644 index 0000000..09a97be Binary files /dev/null and b/hangar/images/sponsors/xarxaprod.png differ diff --git a/hangar/images/totslink.png b/hangar/images/totslink.png new file mode 100644 index 0000000..013adb0 Binary files /dev/null and b/hangar/images/totslink.png differ diff --git a/hangar/index.php b/hangar/index.php new file mode 100644 index 0000000..eaeb6a7 --- /dev/null +++ b/hangar/index.php @@ -0,0 +1,28 @@ + + + +
    + +
    + +
    + + + + +
    + + + + + + + diff --git a/hangar/languages/ca.mo b/hangar/languages/ca.mo new file mode 100644 index 0000000..610b365 Binary files /dev/null and b/hangar/languages/ca.mo differ diff --git a/hangar/languages/ca.po b/hangar/languages/ca.po new file mode 100644 index 0000000..6da4b40 --- /dev/null +++ b/hangar/languages/ca.po @@ -0,0 +1,611 @@ +# Translation of Twenty Ten in Catalan +# This file is distributed under the same license as the Twenty Ten package. +msgid "" +msgstr "" +"Project-Id-Version: Hangar\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-08-03 17:33+0100\n" +"PO-Revision-Date: 2011-08-03 17:38+0100\n" +"Last-Translator: Enfusion \n" +"Language-Team: Catalan\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: GlotPress/0.1\n" +"X-Poedit-Language: Catalan\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-KeywordsList: __;_e;_c;__ngettext:1,2;__ngettext_noop:1,2;_x;esc_attr__;_n\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" +"X-Poedit-SearchPath-1: ../library\n" + +#: ../loop.php:5 +#: ../seccions.php:41 +#: ../tag.php:20 +#: ../caixes.php:5 +#: ../caixes.php:11 +#: ../caixes.php:22 +#: ../caixes.php:24 +#: ../caixes.php:42 +#: ../caixes.php:88 +#: ../caixes.php:90 +#: ../caixes.php:103 +#: ../caixes.php:118 +#: ../caixes.php:122 +#: ../caixes.php:135 +#: ../caixes.php:148 +#: ../caixes.php:154 +#: ../caixes.php:156 +#: ../caixes.php:183 +#, php-format +msgid "Permalink to %s" +msgstr "Enllaç permanent a %s" + +#: ../loop.php:9 +#: ../loop.php:16 +#: ../tag.php:24 +#: ../tag.php:31 +msgid "by" +msgstr "per " + +#: ../loop.php:11 +#: ../tag.php:26 +msgid "Continue Reading →" +msgstr "Continua llegint →" + +#: ../loop.php:14 +#: ../seccions.php:44 +#: ../single_seccio.php:34 +#: ../page.php:31 +#: ../tag.php:29 +msgid "Pages:" +msgstr "Pàgines:" + +#: ../loop.php:20 +#: ../tag.php:35 +#, php-format +msgid "Categories: %2$s" +msgstr "Categories: %2$s" + +#: ../loop.php:27 +#: ../tag.php:42 +#, php-format +msgid "Tags: %2$s" +msgstr "Etiquetes: %2$s" + +#: ../loop.php:31 +#: ../tag.php:46 +msgid "Leave a comment" +msgstr "Envia un comentari" + +#: ../loop.php:31 +#: ../tag.php:46 +msgid "1 comment" +msgstr "1 comentari" + +#: ../loop.php:31 +#: ../tag.php:46 +#, php-format +msgid "% comments" +msgstr "% comentaris" + +#: ../loop.php:32 +#: ../tag.php:47 +msgid "Edit →" +msgstr "Editar →" + +#: ../loop.php:43 +#: ../tag.php:59 +msgid "← Older posts" +msgstr "← Articles anteriors" + +#: ../loop.php:44 +#: ../tag.php:60 +msgid "Newer posts →" +msgstr "Articles posteriors →" + +#: ../footer.php:26 +msgid "Fundació AAVC Hangar" +msgstr "Fundació AAVC Hangar" + +#: ../footer.php:27 +msgid "Passatge del Marquès de Santa Isabel, 40" +msgstr "Passatge del Marquès de Santa Isabel, 40" + +#: ../footer.php:28 +msgid "08018 Barcelona Espanya" +msgstr "08018 Barcelona Espanya" + +#: ../footer.php:36 +msgid "Opening times: Mon – Thu 10h to 14h – 15h to 20h / Fri 10h to 14h - 15h to 19h" +msgstr "Obert: Dll – Dj 10h a 14h – 15h a 20h / Dv 10h a 14h - 15h a 19h" + +#: ../footer.php:39 +msgid "Legal advice" +msgstr "Avís legal" + +#: ../footer.php:42 +msgid "Design:" +msgstr "Disseny:" + +#: ../footer.php:43 +msgid "Development:" +msgstr "Desenvolupament:" + +#: ../seccions.php:53 +#: ../seccions.php:85 +#: ../single_seccio.php:63 +#: ../taxonomy.php:32 +#: ../artistes_alfa.php:38 +#: ../category-news.php:40 +#: ../category.php:45 +msgid "Apologies, but no results were found." +msgstr "Disculpeu, però no hem trobat cap resultat." + +#: ../comments.php:2 +msgid "This post is password protected. Enter the password to view any comments." +msgstr "Aquesta entrada està protegida amb contrasenya. Introduïu la contrasenya per veure'n els comentaris." + +#: ../comments.php:21 +msgid "One Comment" +msgstr "Un comentari" + +#: ../comments.php:30 +msgid "← Older Comments" +msgstr "← Comentaris anteriors" + +#: ../comments.php:31 +msgid "Newer Comments →" +msgstr "Comentaris posteriors →" + +#: ../comments.php:38 +msgid "Leave a Reply" +msgstr "Envia un comentari" + +#: ../comments.php:39 +msgid "

    Required fields are marked *

    " +msgstr "

    Els camps obligatoris s'han marcat amb un *

    " + +#: ../comments.php:41 +msgid "Comment" +msgstr "Comentari" + +#: ../single_seccio.php:35 +#: ../page.php:32 +msgid "Edit this page →" +msgstr "Editeu aquesta pàgina →" + +#: ../single_seccio.php:41 +#: ../page.php:38 +msgid "← Previous Post" +msgstr "← Article anterior" + +#: ../single_seccio.php:42 +#: ../page.php:39 +msgid "Next Post →" +msgstr "Article següent →" + +#: ../tag.php:12 +#, php-format +msgid "Tag Archives: %s" +msgstr "Arxiu d'etiquetes: %s" + +#: ../tag.php:24 +msgid "Published on: " +msgstr "Publicat el: " + +#: ../tag.php:67 +msgid "No Search Result Found" +msgstr "No s'ha trobat cap resultat." + +#: ../tag.php:69 +msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." +msgstr "Ho sentim, res no coincideix amb els criteris de cerca. Intenteu-ho de nou amb altres paraules claus diferents." + +#: ../taxonomy.php:11 +#, php-format +msgid "Artists by year %s" +msgstr "Artistes per any %s" + +#: ../artistes_anys.php:41 +msgid " artists" +msgstr " artistes" + +#: ../single.php:19 +msgid "By " +msgstr "Per " + +#: ../single.php:20 +#: ../single.php:22 +msgid "Posted on " +msgstr "Publicat el " + +#: ../single.php:37 +#, php-format +msgid "About %s" +msgstr "Entorn a %s" + +#: ../404.php:27 +msgid "Page not found" +msgstr "Pàgina no trobada" + +#: ../404.php:30 +#, php-format +msgid "You tried going to %1$s, and it doesn't exist. All is not lost! You can search for what you're looking for." +msgstr "Heu intentat anar a %1$s, però no existeix. Podeu fer una cerca del que voleu trobar." + +#: ../sidebar-secondary.php:13 +msgid "Related items" +msgstr "Articles relacionats" + +#: ../sidebar-secondary.php:22 +msgid "Categories" +msgstr "Categories" + +#: ../sidebar-secondary.php:25 +msgid "Archives" +msgstr "Arxius" + +#: ../sidebar-secondary.php:32 +#: ../library/comments-extensions.php:24 +msgid "Search" +msgstr "Cerca" + +#: ../sidebar-secondary.php:39 +msgid "Meta" +msgstr "Meta" + +#: ../header.php:29 +#, php-format +msgid "Page %s" +msgstr "Pàgina %s" + +#: ../header.php:68 +msgid "faqs" +msgstr "faqs" + +#: ../header.php:69 +msgid "contact" +msgstr "contacte" + +#: ../header.php:70 +msgid "newsletter" +msgstr "newsletter" + +#: ../home.php:88 +msgid "Not found." +msgstr "No s'ha trobat" + +#: ../home.php:89 +msgid "Sorry, but you are looking for something that isn't here." +msgstr "Disculpeu, però allò que esteu cercant no hi és en el web." + +#: ../search.php:11 +#, php-format +msgid "Search Results for %s" +msgstr "Resultats de la cerca per a: %s" + +#: ../library/breadcrumb.php:16 +msgid "Home" +msgstr "Inici" + +#: ../library/breadcrumb.php:39 +msgid "Search result for" +msgstr "Resultats de la cerca per a %s" + +#: ../library/breadcrumb.php:42 +msgid "Archive for tag" +msgstr "Arxiu per les etiquetes" + +#: ../library/breadcrumb.php:45 +msgid "Article posted by" +msgstr "Article publicat per" + +#: ../library/breadcrumb.php:48 +msgid "Part" +msgstr "Part" + +#: ../library/breadcrumb.php:51 +msgid "Page" +msgstr "Pàgina" + +#: ../library/comments-extensions.php:46 +#, php-format +msgid "%1$s at %2$s" +msgstr "%1$s a %2$s" + +#: ../library/comments-extensions.php:53 +msgid "Your comment is awaiting moderation." +msgstr "El teu comentari està en espera de ser moderat." + +#: ../library/comments-extensions.php:71 +msgid "Pingback:" +msgstr "Retroenllaç:" + +#: ../library/comments-extensions.php:71 +msgid "(Edit)" +msgstr "(Edita)" + +#: ../library/comments-extensions.php:80 +msgid "Website" +msgstr "Web" + +#: ../library/comments-extensions.php:83 +msgid "Email*" +msgstr "Email*" + +#: ../library/comments-extensions.php:86 +msgid "Name*" +msgstr "Nom*" + +#: ../library/widgetized-sidebars.php:8 +msgid "Primary Widget Area" +msgstr "Zona de ginys primària " + +#: ../library/widgetized-sidebars.php:10 +msgid "Here you can put one or two of your main widgets (like an intro text, your page navigation or some social site links) in your left sidebar. The sidebar is fixed, so the widgets content will always be visible, even when scrolling down the page." +msgstr "A la barra lateral esquerra podeu posar un o dos dels ginys principals (com una introducció en text, la vostra pàgina de navetació o algun enllaç social)." + +#: ../library/widgetized-sidebars.php:19 +msgid "Secondary Widget Area" +msgstr "Zona de ginys secundària " + +#: ../library/widgetized-sidebars.php:21 +msgid "Here you can put all the additional widgets for your right sidebar." +msgstr "A la barra lateral dreta podeu posar els ginys addicionals que volgueu." + +#~ msgid "Searchk" +#~ msgstr "Cercak" + +#~ msgid "This gallery contains %2$s photo." + +#~ msgid_plural "This gallery contains %2$s photos." +#~ msgstr[0] "Aquesta galeria conté %2$s fotografia." +#~ msgstr[1] "Aquesta galeria conté %2$s fotografies." + +#~ msgid "View Galleries" +#~ msgstr "Visualitza les galeries" + +#~ msgid "" +#~ "black, blue, white, two-columns, fixed-width, custom-header, custom-" +#~ "background, threaded-comments, sticky-post, translation-ready, " +#~ "microformats, rtl-language-support, editor-style, custom-menu" +#~ msgstr "" +#~ "negre, blau, blanc, dos columnes, amplada fixa, capçalera personalitzada, " +#~ "fons personalitzat, comentaris ordenats per fils, entrada fixada, llest " +#~ "per a traduccions, microformats, suport per a escriptura de dreta a " +#~ "esquerra, amb editor d'estil, menú personalitzat" + +#~ msgid "" +#~ "The 2010 theme for WordPress is stylish, customizable, simple, and " +#~ "readable -- make it yours with a custom menu, header image, and " +#~ "background. Twenty Ten supports six widgetized areas (two in the sidebar, " +#~ "four in the footer) and featured images (thumbnails for gallery posts and " +#~ "custom header images for posts and pages). It includes stylesheets for " +#~ "print and the admin Visual Editor, special styles for posts in the " +#~ "\"Asides\" and \"Gallery\" categories, and has an optional one-column " +#~ "page template that removes the sidebar." +#~ msgstr "" +#~ "El tema 2010 per al WordPress és un tema amb estil, personalitzable, " +#~ "simple, i llegible -- feu-lo vostre amb un menú, imatge de capçalera i " +#~ "fons al vostre gust. El Twenty Ten (2010) suporta sis àrees per a ginys " +#~ "(dues a la barra lateral i quatre al peu) i imatges destacades " +#~ "(miniatures per a galeries i imatges de capçalera personalitzades per a " +#~ "entrades i pàgines). Inclou fulles d'estil per a impressió i un editor " +#~ "visual, estils especials per a les entrades de la categoria \"Aparts\" i " +#~ "\"Galeria\", i té una plantilla opcional de pàgina d'una columna que " +#~ "elimina la barra lateral." + +#~ msgid "Posted in %2$s" +#~ msgstr "Publicat dins de %2$s" + +#~ msgid "" +#~ "Posted on %2$s by %3$s" +#~ msgstr "" +#~ "Publicat el %2$s per %3$s" + +#~ msgid "Tagged %2$s" +#~ msgstr "Etiquetat com a %2$s" + +#~ msgid "" +#~ "Bookmark the permalink." +#~ msgstr "" +#~ "Afegeix a les adreces d'interès l'enllaç permanent." + +#~ msgid "View all posts by %s " +#~ msgstr "" +#~ "Mostra totes les entrades de %s " + +#~ msgid " Older Comments" +#~ msgstr "Comentaris anteriors" + +#~ msgid " %s" +#~ msgstr " %s" + +#~ msgid "Newer Comments " +#~ msgstr "Comentaris recents " + +#~ msgid "Primary Navigation" +#~ msgstr "Navegació primària" + +#~ msgid "" +#~ "Apologies, but no results were found for the requested archive. Perhaps " +#~ "searching will help find a related post." +#~ msgstr "" +#~ "No hi ha cap resultat per l'arxiu sol·licitat. Potser cercar us ajudarà a " +#~ "trobar una entrada relacionada." + +#~ msgid "%s says:" +#~ msgstr "%s diu:" + +#~ msgid "By %2$s" +#~ msgstr "Per %2$s" + +#~ msgid "Published %2$s" +#~ msgstr "Publicat %2$s" + +#~ msgid "Full size is %s pixels" +#~ msgstr "La mida sencera són %s píxels" + +#~ msgid "Link to full-size image" +#~ msgstr "Enllaç a la imatge de mida sencera" + +#~ msgid "Author Archives: %s" +#~ msgstr "Arxiu de l'autor: %s" + +#~ msgid "Proudly powered by %s." +#~ msgstr "Gràcies al %s." + +#~ msgid "" +#~ "This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +#~ msgstr "" +#~ "Aquesta entrada s'ha publicat en %1$s i etiquetada amb %2$s. Afegiu a les " +#~ "adreces d'interès l'enllaç permanent." + +#~ msgid "" +#~ "This entry was posted in %1$s. Bookmark the permalink." +#~ msgstr "" +#~ "Aquesta entrada ha esta publicada en %1$s. Afegeix a les adreces " +#~ "d'interès l'enllaç permanent." + +#~ msgid "One Response to %2$s" + +#~ msgid_plural "%1$s Responses to %2$s" +#~ msgstr[0] "Una comentari en l'entrada: %2$s" +#~ msgstr[1] "%1$s comentaris a l'entrada: %2$s" +#~ msgctxt "asides category slug" + +#~ msgid "asides" +#~ msgstr "aparteu" +#~ msgctxt "gallery category slug" + +#~ msgid "gallery" +#~ msgstr "galeria" + +#~ msgid "Second Footer Widget Area" +#~ msgstr "Zona de ginys del segon peu " + +#~ msgid "First Footer Widget Area" +#~ msgstr "Zona de ginys del primer peu " + +#~ msgid "Fourth Footer Widget Area" +#~ msgstr "Zona de ginys del quart peu" + +#~ msgid "Third Footer Widget Area" +#~ msgstr "Zona de ginys del tercer peu" +#~ msgctxt "Previous post link" + +#~ msgid "←" +#~ msgstr "←" + +#~ msgid "Comments are closed." +#~ msgstr "Els comentaris estan tancats." + +#~ msgid "Sunset" +#~ msgstr "Posta de sol" + +#~ msgid "Inkwell" +#~ msgstr "Tinter" + +#~ msgid "Forest Floor" +#~ msgstr "Sòl del bosc" + +#~ msgid "Fern" +#~ msgstr "Falguera" + +#~ msgid "Concave" +#~ msgstr "Concau" + +#~ msgid "Cherry Blossoms" +#~ msgstr "Flors de cirerer" + +#~ msgid "Berries" +#~ msgstr "Baies" + +#~ msgid "Semantic Personal Publishing Platform" +#~ msgstr "Plataforma de publicació personal i semàntica." + +#~ msgid "More Galleries" +#~ msgstr "Més galeries " + +#~ msgid "View posts in the Gallery category" +#~ msgstr "Mostra les entrades en la categoria Galeria" + +#~ msgid "Newer posts " +#~ msgstr "Entrades més recents " + +#~ msgid " Older posts" +#~ msgstr " Entrades més antigues" + +#~ msgid "Skip to content" +#~ msgstr "Vés al contingut" + +#~ msgid "The fourth footer widget area" +#~ msgstr "La zona de ginys del quart peu" + +#~ msgid "The third footer widget area" +#~ msgstr "La zona de ginys del tercer peu" + +#~ msgid "The second footer widget area" +#~ msgstr "La zona de ginys del segon peu " + +#~ msgid "The first footer widget area" +#~ msgstr "La zona de ginys del primer peu " + +#~ msgid "The secondary widget area" +#~ msgstr "La zona de ginys secundària " + +#~ msgid "The primary widget area" +#~ msgstr "La zona de ginys primària " + +#~ msgid "About %s" +#~ msgstr "Quant a %s" + +#~ msgid "" +#~ "Apologies, but the page you requested could not be found. Perhaps " +#~ "searching will help." +#~ msgstr "" +#~ "Ho sentim, però la pàgina que heu sol·licitat no s'ha trobat. Tal vegada " +#~ "cercar us ajudarà." + +#~ msgid "Daily Archives: %s" +#~ msgstr "Arxiu diari: %s" + +#~ msgid "Yearly Archives: %s" +#~ msgstr "Arxiu anual: %s" + +#~ msgid "Blog Archives" +#~ msgstr "Arxiu del Bloc" + +#~ msgid "Return to %s" +#~ msgstr "Torna a %s" + +#~ msgid "View all posts by %s" +#~ msgstr "Mostra totes les entrades de %s" + +#~ msgid "Edit" +#~ msgstr "Edita" + +#~ msgid "Continue reading " +#~ msgstr "Continua llegint " + +#~ msgid "Twenty Ten" +#~ msgstr "Twenty Ten" + +#~ msgid "http://wordpress.org/" +#~ msgstr "http://wordpress.org/" + +#~ msgid "the WordPress team" +#~ msgstr "L'equip del WordPress" + +#~ msgid "Nothing Found" +#~ msgstr "No s'ha trobat res" diff --git a/hangar/languages/es_ES.mo b/hangar/languages/es_ES.mo new file mode 100644 index 0000000..f4d4d5a Binary files /dev/null and b/hangar/languages/es_ES.mo differ diff --git a/hangar/languages/es_ES.po b/hangar/languages/es_ES.po new file mode 100644 index 0000000..c3e3b2b --- /dev/null +++ b/hangar/languages/es_ES.po @@ -0,0 +1,608 @@ +# Translation of Twenty Ten in Catalan +# This file is distributed under the same license as the Twenty Ten package. +msgid "" +msgstr "" +"Project-Id-Version: Twenty Ten 3.1 encatalà\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-08-03 17:34+0100\n" +"PO-Revision-Date: 2011-08-03 17:36+0100\n" +"Last-Translator: Enfusion \n" +"Language-Team: Spanish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: GlotPress/0.1\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-KeywordsList: __;_e;_c;__ngettext:1,2;__ngettext_noop:1,2;esc_attr__;_x\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" +"X-Poedit-SearchPath-1: ../library\n" + +#: ../loop.php:5 +#: ../seccions.php:41 +#: ../tag.php:20 +#: ../caixes.php:5 +#: ../caixes.php:11 +#: ../caixes.php:22 +#: ../caixes.php:24 +#: ../caixes.php:42 +#: ../caixes.php:88 +#: ../caixes.php:90 +#: ../caixes.php:103 +#: ../caixes.php:118 +#: ../caixes.php:122 +#: ../caixes.php:135 +#: ../caixes.php:148 +#: ../caixes.php:154 +#: ../caixes.php:156 +#: ../caixes.php:183 +#, php-format +msgid "Permalink to %s" +msgstr "Enlace permanente a %s" + +#: ../loop.php:9 +#: ../loop.php:16 +#: ../tag.php:24 +#: ../tag.php:31 +msgid "by" +msgstr "por " + +#: ../loop.php:11 +#: ../tag.php:26 +msgid "Continue Reading →" +msgstr "Continua leyendo →" + +#: ../loop.php:14 +#: ../seccions.php:44 +#: ../single_seccio.php:34 +#: ../page.php:31 +#: ../tag.php:29 +msgid "Pages:" +msgstr "Páginas:" + +#: ../loop.php:20 +#: ../tag.php:35 +#, php-format +msgid "Categories: %2$s" +msgstr "Categorias: %2$s" + +#: ../loop.php:27 +#: ../tag.php:42 +#, php-format +msgid "Tags: %2$s" +msgstr "Etiquetas: %2$s" + +#: ../loop.php:31 +#: ../tag.php:46 +msgid "Leave a comment" +msgstr "Envia un comentario" + +#: ../loop.php:31 +#: ../tag.php:46 +msgid "1 comment" +msgstr "1 comentario" + +#: ../loop.php:31 +#: ../tag.php:46 +#, php-format +msgid "% comments" +msgstr "%s comentarios" + +#: ../loop.php:32 +#: ../tag.php:47 +msgid "Edit →" +msgstr "Editar →" + +#: ../loop.php:43 +#: ../tag.php:59 +msgid "← Older posts" +msgstr "← Artículos anteriores" + +#: ../loop.php:44 +#: ../tag.php:60 +msgid "Newer posts →" +msgstr "Artículos posteriores →" + +#: ../footer.php:26 +msgid "Fundació AAVC Hangar" +msgstr "Fundació AAVC Hangar" + +#: ../footer.php:27 +msgid "Passatge del Marquès de Santa Isabel, 40" +msgstr "Passatge del Marquès de Santa Isabel, 40" + +#: ../footer.php:28 +msgid "08018 Barcelona Espanya" +msgstr "08018 Barcelona Espanya" + +#: ../footer.php:36 +msgid "Opening times: Mon – Thu 10h to 14h – 15h to 20h / Fri 10h to 14h - 15h to 19h" +msgstr "Abierto: Lu – Ju 10h a 14h – 16h a 20h / Vi 10h a 14h - 16h a 19h" + +#: ../footer.php:38 +msgid "Horari oficina de 9 a 20h" +msgstr "Horario oficina de 9 a 20h" + +#: ../footer.php:39 +msgid "Legal advice" +msgstr "Aviso legal" + +#: ../footer.php:42 +msgid "Design:" +msgstr "Diseño:" + +#: ../footer.php:43 +msgid "Development:" +msgstr "Desarrollo:" + +#: ../seccions.php:53 +#: ../seccions.php:85 +#: ../single_seccio.php:63 +#: ../taxonomy.php:32 +#: ../artistes_alfa.php:38 +#: ../category-news.php:40 +#: ../category.php:45 +msgid "Apologies, but no results were found." +msgstr "Disculpen, pero no se ha encontrado ningún resultado." + +#: ../comments.php:2 +msgid "This post is password protected. Enter the password to view any comments." +msgstr "Este artículo está protegido con password. Para ver los comentarios, entre con su password." + +#: ../comments.php:30 +msgid "← Older Comments" +msgstr "← Comentarios anteriors" + +#: ../comments.php:31 +msgid "Newer Comments →" +msgstr "Comentarios posteriores →" + +#: ../comments.php:38 +msgid "Leave a Reply" +msgstr "Envia un comentario" + +#: ../comments.php:39 +msgid "

    Required fields are marked *

    " +msgstr "

    Los campos obligatorios se han marcado con un *

    " + +#: ../comments.php:41 +msgid "Comment" +msgstr "comentario" + +#: ../single_seccio.php:35 +#: ../page.php:32 +msgid "Edit this page →" +msgstr "Edite esta página →" + +#: ../single_seccio.php:41 +#: ../page.php:38 +msgid "← Previous Post" +msgstr "← Artículo anterior" + +#: ../single_seccio.php:42 +#: ../page.php:39 +msgid "Next Post →" +msgstr "Artículo posterior →" + +#: ../tag.php:12 +#, php-format +msgid "Tag Archives: %s" +msgstr "Archivo de etiquetas: %s" + +#: ../tag.php:24 +msgid "Published on: " +msgstr "Publicado el: " + +#: ../tag.php:67 +msgid "No Search Result Found" +msgstr "No se han encontraado resultados." + +#: ../tag.php:69 +msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." +msgstr "Lo sentimos, pero no hay coincidencias con sus criterios de búsqueda. Por favor, vuelva a intentarlo." + +#: ../taxonomy.php:11 +#, php-format +msgid "Artists by year %s" +msgstr "Artistas par año %s" + +#: ../artistes_anys.php:41 +msgid " artists" +msgstr " artistas" + +#: ../single.php:19 +msgid "By " +msgstr "Por " + +#: ../single.php:20 +#: ../single.php:22 +msgid "Posted on " +msgstr "Publicado el " + +#: ../single.php:37 +#, php-format +msgid "About %s" +msgstr "Acerca de %s" + +#: ../404.php:27 +msgid "Page not found" +msgstr "Página no encontrada." + +#: ../404.php:30 +#, php-format +msgid "You tried going to %1$s, and it doesn't exist. All is not lost! You can search for what you're looking for." +msgstr "Ha intentado ir a %1$s, pero no existe. Prueb a realizar una nueva búsqueda." + +#: ../sidebar-secondary.php:13 +msgid "Related items" +msgstr "Artículos relacionados" + +#: ../sidebar-secondary.php:22 +msgid "Categories" +msgstr "Categorias" + +#: ../sidebar-secondary.php:25 +msgid "Archives" +msgstr "Archivos" + +#: ../sidebar-secondary.php:32 +#: ../library/comments-extensions.php:24 +msgid "Search" +msgstr "Buscar" + +#: ../sidebar-secondary.php:39 +msgid "Meta" +msgstr "Meta" + +#: ../header.php:29 +#, php-format +msgid "Page %s" +msgstr "Página %s" + +#: ../header.php:68 +msgid "faqs" +msgstr "faqs" + +#: ../header.php:69 +msgid "contact" +msgstr "contacto" + +#: ../header.php:70 +msgid "newsletter" +msgstr "newsletter" + +#: ../home.php:88 +msgid "Not found." +msgstr "No encontrado." + +#: ../home.php:89 +msgid "Sorry, but you are looking for something that isn't here." +msgstr "Disculpe, pero lo que está buscando no se encuentra aquí." + +#: ../search.php:11 +#, php-format +msgid "Search Results for %s" +msgstr "Resultados de búsqueda para %s" + +#: ../library/breadcrumb.php:16 +msgid "Home" +msgstr "Inicio" + +#: ../library/breadcrumb.php:39 +msgid "Search result for" +msgstr "Resultados de la búsqueda: %s" + +#: ../library/breadcrumb.php:42 +msgid "Archive for tag" +msgstr "Archivo por etiquetas" + +#: ../library/breadcrumb.php:45 +msgid "Article posted by" +msgstr "Artículo publicado por" + +#: ../library/breadcrumb.php:48 +msgid "Part" +msgstr "Parte" + +#: ../library/breadcrumb.php:51 +msgid "Page" +msgstr "Página" + +#: ../library/comments-extensions.php:46 +#, php-format +msgid "%1$s at %2$s" +msgstr "%1$s a las %2$s" + +#: ../library/comments-extensions.php:53 +msgid "Your comment is awaiting moderation." +msgstr "Su comentario está en espera de ser moderado." + +#: ../library/comments-extensions.php:71 +msgid "Pingback:" +msgstr "Retroenlace:" + +#: ../library/comments-extensions.php:71 +msgid "(Edit)" +msgstr "(Edita)" + +#: ../library/comments-extensions.php:80 +msgid "Website" +msgstr "Web" + +#: ../library/comments-extensions.php:83 +msgid "Email*" +msgstr "Email*" + +#: ../library/comments-extensions.php:86 +msgid "Name*" +msgstr "Nombre*" + +#: ../library/widgetized-sidebars.php:8 +msgid "Primary Widget Area" +msgstr "Zona de widgets primaria" + +#: ../library/widgetized-sidebars.php:10 +msgid "Here you can put one or two of your main widgets (like an intro text, your page navigation or some social site links) in your left sidebar. The sidebar is fixed, so the widgets content will always be visible, even when scrolling down the page." +msgstr "Here you can put one or two of your main widgets (like an intro text, your page navigation or some social site links) in your left sidebar. The sidebar is fixed, so the widgets content will always be visible, even when scrolling down the page." + +#: ../library/widgetized-sidebars.php:19 +msgid "Secondary Widget Area" +msgstr "Zona de ginys secundària " + +#: ../library/widgetized-sidebars.php:21 +msgid "Here you can put all the additional widgets for your right sidebar." +msgstr "A la barra lateral dreta podeu posar els ginys addicionals que volgueu." + +#~ msgid "This gallery contains %2$s photo." + +#~ msgid_plural "This gallery contains %2$s photos." +#~ msgstr[0] "Aquesta galeria conté %2$s fotografia." +#~ msgstr[1] "Aquesta galeria conté %2$s fotografies." + +#~ msgid "View Galleries" +#~ msgstr "Visualitza les galeries" + +#~ msgid "" +#~ "black, blue, white, two-columns, fixed-width, custom-header, custom-" +#~ "background, threaded-comments, sticky-post, translation-ready, " +#~ "microformats, rtl-language-support, editor-style, custom-menu" +#~ msgstr "" +#~ "negre, blau, blanc, dos columnes, amplada fixa, capçalera personalitzada, " +#~ "fons personalitzat, comentaris ordenats per fils, entrada fixada, llest " +#~ "per a traduccions, microformats, suport per a escriptura de dreta a " +#~ "esquerra, amb editor d'estil, menú personalitzat" + +#~ msgid "" +#~ "The 2010 theme for WordPress is stylish, customizable, simple, and " +#~ "readable -- make it yours with a custom menu, header image, and " +#~ "background. Twenty Ten supports six widgetized areas (two in the sidebar, " +#~ "four in the footer) and featured images (thumbnails for gallery posts and " +#~ "custom header images for posts and pages). It includes stylesheets for " +#~ "print and the admin Visual Editor, special styles for posts in the " +#~ "\"Asides\" and \"Gallery\" categories, and has an optional one-column " +#~ "page template that removes the sidebar." +#~ msgstr "" +#~ "El tema 2010 per al WordPress és un tema amb estil, personalitzable, " +#~ "simple, i llegible -- feu-lo vostre amb un menú, imatge de capçalera i " +#~ "fons al vostre gust. El Twenty Ten (2010) suporta sis àrees per a ginys " +#~ "(dues a la barra lateral i quatre al peu) i imatges destacades " +#~ "(miniatures per a galeries i imatges de capçalera personalitzades per a " +#~ "entrades i pàgines). Inclou fulles d'estil per a impressió i un editor " +#~ "visual, estils especials per a les entrades de la categoria \"Aparts\" i " +#~ "\"Galeria\", i té una plantilla opcional de pàgina d'una columna que " +#~ "elimina la barra lateral." + +#~ msgid "Posted in %2$s" +#~ msgstr "Publicat dins de %2$s" + +#~ msgid "" +#~ "Posted on %2$s by %3$s" +#~ msgstr "" +#~ "Publicat el %2$s per %3$s" + +#~ msgid "Tagged %2$s" +#~ msgstr "Etiquetat com a %2$s" + +#~ msgid "" +#~ "Bookmark the permalink." +#~ msgstr "" +#~ "Afegeix a les adreces d'interès l'enllaç permanent." + +#~ msgid "View all posts by %s " +#~ msgstr "" +#~ "Mostra totes les entrades de %s " + +#~ msgid " Older Comments" +#~ msgstr "Comentaris anteriors" + +#~ msgid " %s" +#~ msgstr " %s" + +#~ msgid "Newer Comments " +#~ msgstr "Comentaris recents " + +#~ msgid "Primary Navigation" +#~ msgstr "Navegació primària" + +#~ msgid "" +#~ "Apologies, but no results were found for the requested archive. Perhaps " +#~ "searching will help find a related post." +#~ msgstr "" +#~ "No hi ha cap resultat per l'arxiu sol·licitat. Potser cercar us ajudarà a " +#~ "trobar una entrada relacionada." + +#~ msgid "%s says:" +#~ msgstr "%s diu:" + +#~ msgid "By %2$s" +#~ msgstr "Per %2$s" + +#~ msgid "Published %2$s" +#~ msgstr "Publicat %2$s" + +#~ msgid "Full size is %s pixels" +#~ msgstr "La mida sencera són %s píxels" + +#~ msgid "Link to full-size image" +#~ msgstr "Enllaç a la imatge de mida sencera" + +#~ msgid "Author Archives: %s" +#~ msgstr "Arxiu de l'autor: %s" + +#~ msgid "Proudly powered by %s." +#~ msgstr "Gràcies al %s." + +#~ msgid "" +#~ "This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +#~ msgstr "" +#~ "Aquesta entrada s'ha publicat en %1$s i etiquetada amb %2$s. Afegiu a les " +#~ "adreces d'interès l'enllaç permanent." + +#~ msgid "" +#~ "This entry was posted in %1$s. Bookmark the permalink." +#~ msgstr "" +#~ "Aquesta entrada ha esta publicada en %1$s. Afegeix a les adreces " +#~ "d'interès l'enllaç permanent." + +#~ msgid "One Response to %2$s" + +#~ msgid_plural "%1$s Responses to %2$s" +#~ msgstr[0] "Una comentari en l'entrada: %2$s" +#~ msgstr[1] "%1$s comentaris a l'entrada: %2$s" +#~ msgctxt "asides category slug" + +#~ msgid "asides" +#~ msgstr "aparteu" +#~ msgctxt "gallery category slug" + +#~ msgid "gallery" +#~ msgstr "galeria" + +#~ msgid "Second Footer Widget Area" +#~ msgstr "Zona de ginys del segon peu " + +#~ msgid "First Footer Widget Area" +#~ msgstr "Zona de ginys del primer peu " + +#~ msgid "Fourth Footer Widget Area" +#~ msgstr "Zona de ginys del quart peu" + +#~ msgid "Third Footer Widget Area" +#~ msgstr "Zona de ginys del tercer peu" +#~ msgctxt "Previous post link" + +#~ msgid "←" +#~ msgstr "←" + +#~ msgid "Comments are closed." +#~ msgstr "Els comentaris estan tancats." + +#~ msgid "Sunset" +#~ msgstr "Posta de sol" + +#~ msgid "Inkwell" +#~ msgstr "Tinter" + +#~ msgid "Forest Floor" +#~ msgstr "Sòl del bosc" + +#~ msgid "Fern" +#~ msgstr "Falguera" + +#~ msgid "Concave" +#~ msgstr "Concau" + +#~ msgid "Cherry Blossoms" +#~ msgstr "Flors de cirerer" + +#~ msgid "Berries" +#~ msgstr "Baies" + +#~ msgid "Semantic Personal Publishing Platform" +#~ msgstr "Plataforma de publicació personal i semàntica." + +#~ msgid "More Galleries" +#~ msgstr "Més galeries " + +#~ msgid "View posts in the Gallery category" +#~ msgstr "Mostra les entrades en la categoria Galeria" + +#~ msgid "Newer posts " +#~ msgstr "Entrades més recents " + +#~ msgid " Older posts" +#~ msgstr " Entrades més antigues" + +#~ msgid "Skip to content" +#~ msgstr "Vés al contingut" + +#~ msgid "The fourth footer widget area" +#~ msgstr "La zona de ginys del quart peu" + +#~ msgid "The third footer widget area" +#~ msgstr "La zona de ginys del tercer peu" + +#~ msgid "The second footer widget area" +#~ msgstr "La zona de ginys del segon peu " + +#~ msgid "The first footer widget area" +#~ msgstr "La zona de ginys del primer peu " + +#~ msgid "The secondary widget area" +#~ msgstr "La zona de ginys secundària " + +#~ msgid "The primary widget area" +#~ msgstr "La zona de ginys primària " + +#~ msgid "About %s" +#~ msgstr "Quant a %s" + +#~ msgid "" +#~ "Apologies, but the page you requested could not be found. Perhaps " +#~ "searching will help." +#~ msgstr "" +#~ "Ho sentim, però la pàgina que heu sol·licitat no s'ha trobat. Tal vegada " +#~ "cercar us ajudarà." + +#~ msgid "Daily Archives: %s" +#~ msgstr "Arxiu diari: %s" + +#~ msgid "Yearly Archives: %s" +#~ msgstr "Arxiu anual: %s" + +#~ msgid "Blog Archives" +#~ msgstr "Arxiu del Bloc" + +#~ msgid "Return to %s" +#~ msgstr "Torna a %s" + +#~ msgid "View all posts by %s" +#~ msgstr "Mostra totes les entrades de %s" + +#~ msgid "Edit" +#~ msgstr "Edita" + +#~ msgid "Continue reading " +#~ msgstr "Continua llegint " + +#~ msgid "Twenty Ten" +#~ msgstr "Twenty Ten" + +#~ msgid "http://wordpress.org/" +#~ msgstr "http://wordpress.org/" + +#~ msgid "the WordPress team" +#~ msgstr "L'equip del WordPress" + +#~ msgid "Nothing Found" +#~ msgstr "No s'ha trobat res" diff --git a/hangar/languages/twentyten.pot b/hangar/languages/twentyten.pot new file mode 100644 index 0000000..403d43e --- /dev/null +++ b/hangar/languages/twentyten.pot @@ -0,0 +1,398 @@ +# Copyright (C) 2010 Twenty Ten +# This file is distributed under the same license as the Twenty Ten package. +msgid "" +msgstr "" +"Project-Id-Version: Twenty Ten 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n" +"POT-Creation-Date: 2011-02-22 08:27:25+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" + +#: loop-attachment.php:21 +msgid "Return to %s" +msgstr "" + +#: loop-attachment.php:23 +msgid " %s" +msgstr "" + +#: loop-attachment.php:32 +msgid "By %2$s" +msgstr "" + +#: loop-attachment.php:36 functions.php:476 +msgid "View all posts by %s" +msgstr "" + +#: loop-attachment.php:43 +msgid "Published %2$s" +msgstr "" + +#: loop-attachment.php:53 +msgid "Full size is %s pixels" +msgstr "" + +#: loop-attachment.php:56 +msgid "Link to full-size image" +msgstr "" + +#: loop-attachment.php:63 loop-attachment.php:111 loop.php:100 loop.php:123 +#: loop.php:165 loop-page.php:30 loop-single.php:56 +msgid "Edit" +msgstr "" + +#: loop-attachment.php:104 loop.php:115 loop.php:143 functions.php:248 +msgid "Continue reading " +msgstr "" + +#: loop-attachment.php:105 loop.php:144 loop-page.php:29 loop-single.php:34 +msgid "Pages:" +msgstr "" + +#. #-#-#-#-# twentyten.pot (Twenty Ten 1.2) #-#-#-#-# +#. Theme URI of the plugin/theme +#: footer.php:33 +msgid "http://wordpress.org/" +msgstr "" + +#: footer.php:33 +msgid "Semantic Personal Publishing Platform" +msgstr "" + +#: footer.php:33 +msgid "Proudly powered by %s." +msgstr "" + +#: category.php:16 +msgid "Category Archives: %s" +msgstr "" + +#: sidebar.php:27 +msgid "Archives" +msgstr "" + +#: sidebar.php:34 +msgid "Meta" +msgstr "" + +#: tag.php:16 +msgid "Tag Archives: %s" +msgstr "" + +#: comments.php:18 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: comments.php:35 +msgid "One Response to %2$s" +msgid_plural "%1$s Responses to %2$s" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:41 comments.php:60 +msgid " Older Comments" +msgstr "" + +#: comments.php:42 comments.php:61 +msgid "Newer Comments " +msgstr "" + +#: comments.php:72 +msgid "Comments are closed." +msgstr "" + +#: 404.php:16 loop.php:33 +msgid "Not Found" +msgstr "" + +#: 404.php:18 +msgid "" +"Apologies, but the page you requested could not be found. Perhaps searching " +"will help." +msgstr "" + +#: loop.php:25 loop.php:178 +msgid " Older posts" +msgstr "" + +#: loop.php:26 loop.php:179 +msgid "Newer posts " +msgstr "" + +#: loop.php:35 +msgid "" +"Apologies, but no results were found for the requested archive. Perhaps " +"searching will help find a related post." +msgstr "" + +#: loop.php:60 loop.php:95 loop.php:96 +msgctxt "gallery category slug" +msgid "gallery" +msgstr "" + +#: loop.php:62 loop.php:83 loop.php:131 +msgid "Permalink to %s" +msgstr "" + +#: loop.php:82 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "" +msgstr[1] "" + +#: loop.php:93 +msgid "View Galleries" +msgstr "" + +#: loop.php:93 loop.php:96 +msgid "More Galleries" +msgstr "" + +#: loop.php:96 +msgid "View posts in the Gallery category" +msgstr "" + +#: loop.php:99 loop.php:122 loop.php:164 +msgid "Leave a comment" +msgstr "" + +#: loop.php:99 loop.php:122 loop.php:164 +msgid "1 Comment" +msgstr "" + +#: loop.php:99 loop.php:122 loop.php:164 +msgid "% Comments" +msgstr "" + +#: loop.php:106 +msgctxt "asides category slug" +msgid "asides" +msgstr "" + +#: loop.php:151 +msgid "Posted in %2$s" +msgstr "" + +#: loop.php:160 +msgid "Tagged %2$s" +msgstr "" + +#: functions.php:100 +msgid "Primary Navigation" +msgstr "" + +#: functions.php:140 +msgid "Berries" +msgstr "" + +#: functions.php:146 +msgid "Cherry Blossoms" +msgstr "" + +#: functions.php:152 +msgid "Concave" +msgstr "" + +#: functions.php:158 +msgid "Fern" +msgstr "" + +#: functions.php:164 +msgid "Forest Floor" +msgstr "" + +#: functions.php:170 +msgid "Inkwell" +msgstr "" + +#: functions.php:176 +msgid "Path" +msgstr "" + +#: functions.php:182 +msgid "Sunset" +msgstr "" + +#: functions.php:330 +msgid "%s says:" +msgstr "" + +#: functions.php:333 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: functions.php:340 +msgid "%1$s at %2$s" +msgstr "" + +#: functions.php:340 functions.php:357 +msgid "(Edit)" +msgstr "" + +#: functions.php:357 +msgid "Pingback:" +msgstr "" + +#: functions.php:376 +msgid "Primary Widget Area" +msgstr "" + +#: functions.php:378 +msgid "The primary widget area" +msgstr "" + +#: functions.php:387 +msgid "Secondary Widget Area" +msgstr "" + +#: functions.php:389 +msgid "The secondary widget area" +msgstr "" + +#: functions.php:398 +msgid "First Footer Widget Area" +msgstr "" + +#: functions.php:400 +msgid "The first footer widget area" +msgstr "" + +#: functions.php:409 +msgid "Second Footer Widget Area" +msgstr "" + +#: functions.php:411 +msgid "The second footer widget area" +msgstr "" + +#: functions.php:420 +msgid "Third Footer Widget Area" +msgstr "" + +#: functions.php:422 +msgid "The third footer widget area" +msgstr "" + +#: functions.php:431 +msgid "Fourth Footer Widget Area" +msgstr "" + +#: functions.php:433 +msgid "The fourth footer widget area" +msgstr "" + +#: functions.php:467 +msgid "" +"Posted on %2$s by %3$s" +msgstr "" + +#: functions.php:493 +msgid "" +"This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +msgstr "" + +#: functions.php:495 +msgid "" +"This entry was posted in %1$s. Bookmark the permalink." +msgstr "" + +#: functions.php:497 +msgid "" +"Bookmark the permalink." +msgstr "" + +#: header.php:33 +msgid "Page %s" +msgstr "" + +#: header.php:83 +msgid "Skip to content" +msgstr "" + +#: author.php:27 +msgid "Author Archives: %s" +msgstr "" + +#: author.php:37 loop-single.php:43 +msgid "About %s" +msgstr "" + +#: search.php:16 +msgid "Search Results for: %s" +msgstr "" + +#: search.php:26 +msgid "Nothing Found" +msgstr "" + +#: search.php:28 +msgid "" +"Sorry, but nothing matched your search criteria. Please try again with some " +"different keywords." +msgstr "" + +#: loop-single.php:21 loop-single.php:61 +msgctxt "Previous post link" +msgid "←" +msgstr "" + +#: loop-single.php:22 loop-single.php:62 +msgctxt "Next post link" +msgid "→" +msgstr "" + +#: loop-single.php:47 +msgid "View all posts by %s " +msgstr "" + +#: archive.php:33 +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:35 +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:37 +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:39 +msgid "Blog Archives" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Twenty Ten" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"The 2010 theme for WordPress is stylish, customizable, simple, and readable " +"-- make it yours with a custom menu, header image, and background. Twenty " +"Ten supports six widgetized areas (two in the sidebar, four in the footer) " +"and featured images (thumbnails for gallery posts and custom header images " +"for posts and pages). It includes stylesheets for print and the admin Visual " +"Editor, special styles for posts in the \"Asides\" and \"Gallery\" " +"categories, and has an optional one-column page template that removes the " +"sidebar." +msgstr "" + +#. Author of the plugin/theme +msgid "the WordPress team" +msgstr "" + +#. Tags of the plugin/theme +msgid "" +"black, blue, white, two-columns, fixed-width, custom-header, custom-" +"background, threaded-comments, sticky-post, translation-ready, microformats, " +"rtl-language-support, editor-style, custom-menu" +msgstr "" diff --git a/hangar/library/breadcrumb.php b/hangar/library/breadcrumb.php new file mode 100644 index 0000000..e76612a --- /dev/null +++ b/hangar/library/breadcrumb.php @@ -0,0 +1,57 @@ + $nbrChar) { + $text = substr($text, 0, $nbrChar); + $text .= $append; + } + return $text; +} + + +function wp_breadcrumb() { + global $cat,$s,$post,$wp_locale; + if ( get_the_category() ) $category = get_the_category(); + if ( is_tag() ) $tag = get_term($tag_ID, 'post_tag', OBJECT, 'display'); + if ( is_author() ) $userdata = get_userdata($author); + ?> + \ No newline at end of file diff --git a/hangar/library/comments-extensions.php b/hangar/library/comments-extensions.php new file mode 100644 index 0000000..bd0ad8d --- /dev/null +++ b/hangar/library/comments-extensions.php @@ -0,0 +1,93 @@ + +
    + + +
    + '; + + return $form; +} +add_filter( 'get_search_form', 'ari_search_form' ); + +/* Template for comments and pingbacks. */ +function ari_comment( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + switch ( $comment->comment_type ) : + case '' : + ?> +
  • id="li-comment-"> +
    + +
    + + + + + comment_approved == '0' ) : ?> +

    + + +
    + $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> +
    + +
    + + +
    + + +
  • +

    + ' . + '

    '; + +$fields['email'] = ''; + +$fields['author'] = '

    ' . ' ' . ( $req ? '*' : '') . + '

    '; + +return $fields; +} +add_filter('comment_form_default_fields','ari_fields'); + +?> diff --git a/hangar/library/custom-posts.php b/hangar/library/custom-posts.php new file mode 100644 index 0000000..618e9c6 --- /dev/null +++ b/hangar/library/custom-posts.php @@ -0,0 +1,140 @@ + true, 'label' => 'Anys', 'singular_label' => 'Any', 'rewrite' => true)); + } + +function dades_obres_autor() { + global $post; + $custom = get_post_custom($post->ID); + $autor_obra = $custom['autor_obra'][0]; + $data_obra = $custom['data_obra'][0]; + $autor_data_resid = $custom['autor_data_resid'][0]; + $autor_tipo_resid = $custom['autor_tipo_resid'][0]; + + //here we construct the fields for the backend user interface +?> + + +
    + + +
    + + +
    + + +ID); + $data_activitat = $custom['data_activitat'][0]; + $data_activitatES = $custom['data_activitatES'][0]; + $data_activitatEN = $custom['data_activitatEN'][0]; + $lloc_activitat = $custom['lloc_activitat'][0]; + $horari_activitat = $custom['horari_activitat'][0]; + + //here we construct the fields for the backend user interface +?> + + + + + + + + +
    + + +ID); + $carrec = $custom['carrec'][0]; + $carrecES = $custom['carrecES'][0]; + $carrecEN = $custom['carrecEN'][0]; + $email = $custom['email'][0]; + $telefon = $custom['telefon'][0]; + + //here we construct the fields for the backend user interface +?> + + + + + + +
    + + + + +ID); + $Inici = $custom['Inici'][0]; + $Ordre_inici = $custom['Ordre_inici'][0]; + //here we construct the fields for the backend user interface +?> + + /> + + +ID; + + // verify if this is an auto save routine. If it is our form has not been submitted, so we dont want + // to do anything + if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) + return $post_id; + if ($post->post_type == 'page') : + update_post_meta($post_id, "autor_obra", $_POST['autor_obra']); + update_post_meta($post_id, "data_obra", $_POST['data_obra']); + update_post_meta($post_id, "autor_data_resid", $_POST['autor_data_resid']); + update_post_meta($post_id, "autor_tipo_resid", $_POST['autor_tipo_resid']); + update_post_meta($post_id, "Inici", $_POST['Inici']); + update_post_meta($post_id, "Ordre_inici", $_POST['Ordre_inici']); + update_post_meta($post_id, "carrec", $_POST['carrec']); + update_post_meta($post_id, "carrecES", $_POST['carrecES']); + update_post_meta($post_id, "carrecEN", $_POST['carrecEN']); + update_post_meta($post_id, "email", $_POST['email']); + update_post_meta($post_id, "telefon", $_POST['telefon']); + else : + update_post_meta($post_id, "Inici", $_POST['Inici']); + update_post_meta($post_id, "Ordre_inici", $_POST['Ordre_inici']); + update_post_meta($post_id, "data_activitat", $_POST['data_activitat']); + update_post_meta($post_id, "data_activitatES", $_POST['data_activitatES']); + update_post_meta($post_id, "data_activitatEN", $_POST['data_activitatEN']); + update_post_meta($post_id, "lloc_activitat", $_POST['lloc_activitat']); + update_post_meta($post_id, "horari_activitat", $_POST['horari_activitat']); + endif; +} //end function +?> \ No newline at end of file diff --git a/hangar/library/custom-postsoLD.php b/hangar/library/custom-postsoLD.php new file mode 100644 index 0000000..1e9c2ff --- /dev/null +++ b/hangar/library/custom-postsoLD.php @@ -0,0 +1,116 @@ + true, 'label' => 'Anys', 'singular_label' => 'Any', 'rewrite' => true)); + } + +function dades_obres_autor() { + global $post; + $custom = get_post_custom($post->ID); + $autor_obra = $custom['autor_obra'][0]; + $data_obra = $custom['data_obra'][0]; + $autor_data_resid = $custom['autor_data_resid'][0]; + + //here we construct the fields for the backend user interface +?> + + + + + + +
    +ID); + $data_activitat = $custom['data_activitat'][0]; + $lloc_activitat = $custom['lloc_activitat'][0]; + $horari_activitat = $custom['horari_activitat'][0]; + + //here we construct the fields for the backend user interface +?> + + + + +
    + + +ID); + $carrec = $custom['carrec'][0]; + $email = $custom['email'][0]; + $telefon = $custom['telefon'][0]; + + //here we construct the fields for the backend user interface +?> + + + + + + +ID); + $Inici = $custom['Inici'][0]; + $Ordre_inici = $custom['Ordre_inici'][0]; + //here we construct the fields for the backend user interface +?> + + /> + + +ID; + + // verify if this is an auto save routine. If it is our form has not been submitted, so we dont want + // to do anything + if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) + return $post_id; + if ($post->post_type == 'page') : + update_post_meta($post_id, "autor_obra", $_POST['autor_obra']); + update_post_meta($post_id, "data_obra", $_POST['data_obra']); + update_post_meta($post_id, "autor_data_resid", $_POST['autor_data_resid']); + update_post_meta($post_id, "Inici", $_POST['Inici']); + update_post_meta($post_id, "Ordre_inici", $_POST['Ordre_inici']); + update_post_meta($post_id, "carrec", $_POST['carrec']); + update_post_meta($post_id, "email", $_POST['email']); + update_post_meta($post_id, "telefon", $_POST['telefon']); + else : + update_post_meta($post_id, "Inici", $_POST['Inici']); + update_post_meta($post_id, "Ordre_inici", $_POST['Ordre_inici']); + update_post_meta($post_id, "data_activitat", $_POST['data_activitat']); + update_post_meta($post_id, "lloc_activitat", $_POST['lloc_activitat']); + update_post_meta($post_id, "horari_activitat", $_POST['horari_activitat']); + endif; +} //end function +?> \ No newline at end of file diff --git a/hangar/library/jquery.cycle.all.js b/hangar/library/jquery.cycle.all.js new file mode 100644 index 0000000..dc474ea --- /dev/null +++ b/hangar/library/jquery.cycle.all.js @@ -0,0 +1,1543 @@ +/*! + * jQuery Cycle Plugin (with Transition Definitions) + * Examples and documentation at: http://jquery.malsup.com/cycle/ + * Copyright (c) 2007-2013 M. Alsup + * Version: 3.0.3 (11-JUL-2013) + * Dual licensed under the MIT and GPL licenses. + * http://jquery.malsup.com/license.html + * Requires: jQuery v1.7.1 or later + */ +;(function($, undefined) { +"use strict"; + +var ver = '3.0.3'; + +function debug(s) { + if ($.fn.cycle.debug) + log(s); +} +function log() { + /*global console */ + if (window.console && console.log) + console.log('[cycle] ' + Array.prototype.join.call(arguments,' ')); +} +$.expr[':'].paused = function(el) { + return el.cyclePause; +}; + + +// the options arg can be... +// a number - indicates an immediate transition should occur to the given slide index +// a string - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc) +// an object - properties to control the slideshow +// +// the arg2 arg can be... +// the name of an fx (only used in conjunction with a numeric value for 'options') +// the value true (only used in first arg == 'resume') and indicates +// that the resume should occur immediately (not wait for next timeout) + +$.fn.cycle = function(options, arg2) { + var o = { s: this.selector, c: this.context }; + + // in 1.3+ we can fix mistakes with the ready state + if (this.length === 0 && options != 'stop') { + if (!$.isReady && o.s) { + log('DOM not ready, queuing slideshow'); + $(function() { + $(o.s,o.c).cycle(options,arg2); + }); + return this; + } + // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready() + log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)')); + return this; + } + + // iterate the matched nodeset + return this.each(function() { + var opts = handleArguments(this, options, arg2); + if (opts === false) + return; + + opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink; + + // stop existing slideshow for this container (if there is one) + if (this.cycleTimeout) + clearTimeout(this.cycleTimeout); + this.cycleTimeout = this.cyclePause = 0; + this.cycleStop = 0; // issue #108 + + var $cont = $(this); + var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children(); + var els = $slides.get(); + + if (els.length < 2) { + log('terminating; too few slides: ' + els.length); + return; + } + + var opts2 = buildOptions($cont, $slides, els, opts, o); + if (opts2 === false) + return; + + var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards); + + // if it's an auto slideshow, kick it off + if (startTime) { + startTime += (opts2.delay || 0); + if (startTime < 10) + startTime = 10; + debug('first timeout: ' + startTime); + this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards);}, startTime); + } + }); +}; + +function triggerPause(cont, byHover, onPager) { + var opts = $(cont).data('cycle.opts'); + if (!opts) + return; + var paused = !!cont.cyclePause; + if (paused && opts.paused) + opts.paused(cont, opts, byHover, onPager); + else if (!paused && opts.resumed) + opts.resumed(cont, opts, byHover, onPager); +} + +// process the args that were passed to the plugin fn +function handleArguments(cont, options, arg2) { + if (cont.cycleStop === undefined) + cont.cycleStop = 0; + if (options === undefined || options === null) + options = {}; + if (options.constructor == String) { + switch(options) { + case 'destroy': + case 'stop': + var opts = $(cont).data('cycle.opts'); + if (!opts) + return false; + cont.cycleStop++; // callbacks look for change + if (cont.cycleTimeout) + clearTimeout(cont.cycleTimeout); + cont.cycleTimeout = 0; + if (opts.elements) + $(opts.elements).stop(); + $(cont).removeData('cycle.opts'); + if (options == 'destroy') + destroy(cont, opts); + return false; + case 'toggle': + cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1; + checkInstantResume(cont.cyclePause, arg2, cont); + triggerPause(cont); + return false; + case 'pause': + cont.cyclePause = 1; + triggerPause(cont); + return false; + case 'resume': + cont.cyclePause = 0; + checkInstantResume(false, arg2, cont); + triggerPause(cont); + return false; + case 'prev': + case 'next': + opts = $(cont).data('cycle.opts'); + if (!opts) { + log('options not found, "prev/next" ignored'); + return false; + } + if (typeof arg2 == 'string') + opts.oneTimeFx = arg2; + $.fn.cycle[options](opts); + return false; + default: + options = { fx: options }; + } + return options; + } + else if (options.constructor == Number) { + // go to the requested slide + var num = options; + options = $(cont).data('cycle.opts'); + if (!options) { + log('options not found, can not advance slide'); + return false; + } + if (num < 0 || num >= options.elements.length) { + log('invalid slide index: ' + num); + return false; + } + options.nextSlide = num; + if (cont.cycleTimeout) { + clearTimeout(cont.cycleTimeout); + cont.cycleTimeout = 0; + } + if (typeof arg2 == 'string') + options.oneTimeFx = arg2; + go(options.elements, options, 1, num >= options.currSlide); + return false; + } + return options; + + function checkInstantResume(isPaused, arg2, cont) { + if (!isPaused && arg2 === true) { // resume now! + var options = $(cont).data('cycle.opts'); + if (!options) { + log('options not found, can not resume'); + return false; + } + if (cont.cycleTimeout) { + clearTimeout(cont.cycleTimeout); + cont.cycleTimeout = 0; + } + go(options.elements, options, 1, !options.backwards); + } + } +} + +function removeFilter(el, opts) { + if (!$.support.opacity && opts.cleartype && el.style.filter) { + try { el.style.removeAttribute('filter'); } + catch(smother) {} // handle old opera versions + } +} + +// unbind event handlers +function destroy(cont, opts) { + if (opts.next) + $(opts.next).unbind(opts.prevNextEvent); + if (opts.prev) + $(opts.prev).unbind(opts.prevNextEvent); + + if (opts.pager || opts.pagerAnchorBuilder) + $.each(opts.pagerAnchors || [], function() { + this.unbind().remove(); + }); + opts.pagerAnchors = null; + $(cont).unbind('mouseenter.cycle mouseleave.cycle'); + if (opts.destroy) // callback + opts.destroy(opts); +} + +// one-time initialization +function buildOptions($cont, $slides, els, options, o) { + var startingSlideSpecified; + // support metadata plugin (v1.0 and v2.0) + var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {}); + var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null; + if (meta) + opts = $.extend(opts, meta); + if (opts.autostop) + opts.countdown = opts.autostopCount || els.length; + + var cont = $cont[0]; + $cont.data('cycle.opts', opts); + opts.$cont = $cont; + opts.stopCount = cont.cycleStop; + opts.elements = els; + opts.before = opts.before ? [opts.before] : []; + opts.after = opts.after ? [opts.after] : []; + + // push some after callbacks + if (!$.support.opacity && opts.cleartype) + opts.after.push(function() { removeFilter(this, opts); }); + if (opts.continuous) + opts.after.push(function() { go(els,opts,0,!opts.backwards); }); + + saveOriginalOpts(opts); + + // clearType corrections + if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) + clearTypeFix($slides); + + // container requires non-static position so that slides can be position within + if ($cont.css('position') == 'static') + $cont.css('position', 'relative'); + if (opts.width) + $cont.width(opts.width); + if (opts.height && opts.height != 'auto') + $cont.height(opts.height); + + if (opts.startingSlide !== undefined) { + opts.startingSlide = parseInt(opts.startingSlide,10); + if (opts.startingSlide >= els.length || opts.startSlide < 0) + opts.startingSlide = 0; // catch bogus input + else + startingSlideSpecified = true; + } + else if (opts.backwards) + opts.startingSlide = els.length - 1; + else + opts.startingSlide = 0; + + // if random, mix up the slide array + if (opts.random) { + opts.randomMap = []; + for (var i = 0; i < els.length; i++) + opts.randomMap.push(i); + opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); + if (startingSlideSpecified) { + // try to find the specified starting slide and if found set start slide index in the map accordingly + for ( var cnt = 0; cnt < els.length; cnt++ ) { + if ( opts.startingSlide == opts.randomMap[cnt] ) { + opts.randomIndex = cnt; + } + } + } + else { + opts.randomIndex = 1; + opts.startingSlide = opts.randomMap[1]; + } + } + else if (opts.startingSlide >= els.length) + opts.startingSlide = 0; // catch bogus input + opts.currSlide = opts.startingSlide || 0; + var first = opts.startingSlide; + + // set position and zIndex on all the slides + $slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) { + var z; + if (opts.backwards) + z = first ? i <= first ? els.length + (i-first) : first-i : els.length-i; + else + z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i; + $(this).css('z-index', z); + }); + + // make sure first slide is visible + $(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case + removeFilter(els[first], opts); + + // stretch slides + if (opts.fit) { + if (!opts.aspect) { + if (opts.width) + $slides.width(opts.width); + if (opts.height && opts.height != 'auto') + $slides.height(opts.height); + } else { + $slides.each(function(){ + var $slide = $(this); + var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect; + if( opts.width && $slide.width() != opts.width ) { + $slide.width( opts.width ); + $slide.height( opts.width / ratio ); + } + + if( opts.height && $slide.height() < opts.height ) { + $slide.height( opts.height ); + $slide.width( opts.height * ratio ); + } + }); + } + } + + if (opts.center && ((!opts.fit) || opts.aspect)) { + $slides.each(function(){ + var $slide = $(this); + $slide.css({ + "margin-left": opts.width ? + ((opts.width - $slide.width()) / 2) + "px" : + 0, + "margin-top": opts.height ? + ((opts.height - $slide.height()) / 2) + "px" : + 0 + }); + }); + } + + if (opts.center && !opts.fit && !opts.slideResize) { + $slides.each(function(){ + var $slide = $(this); + $slide.css({ + "margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0, + "margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0 + }); + }); + } + + // stretch container + var reshape = (opts.containerResize || opts.containerResizeHeight) && $cont.innerHeight() < 1; + if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9 + var maxw = 0, maxh = 0; + for(var j=0; j < els.length; j++) { + var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight(); + if (!w) w = e.offsetWidth || e.width || $e.attr('width'); + if (!h) h = e.offsetHeight || e.height || $e.attr('height'); + maxw = w > maxw ? w : maxw; + maxh = h > maxh ? h : maxh; + } + if (opts.containerResize && maxw > 0 && maxh > 0) + $cont.css({width:maxw+'px',height:maxh+'px'}); + if (opts.containerResizeHeight && maxh > 0) + $cont.css({height:maxh+'px'}); + } + + var pauseFlag = false; // https://github.com/malsup/cycle/issues/44 + if (opts.pause) + $cont.bind('mouseenter.cycle', function(){ + pauseFlag = true; + this.cyclePause++; + triggerPause(cont, true); + }).bind('mouseleave.cycle', function(){ + if (pauseFlag) + this.cyclePause--; + triggerPause(cont, true); + }); + + if (supportMultiTransitions(opts) === false) + return false; + + // apparently a lot of people use image slideshows without height/width attributes on the images. + // Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that. + var requeue = false; + options.requeueAttempts = options.requeueAttempts || 0; + $slides.each(function() { + // try to get height/width of each slide + var $el = $(this); + this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0); + this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0); + + if ( $el.is('img') ) { + var loading = (this.cycleH === 0 && this.cycleW === 0 && !this.complete); + // don't requeue for images that are still loading but have a valid size + if (loading) { + if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever + log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH); + setTimeout(function() {$(o.s,o.c).cycle(options);}, opts.requeueTimeout); + requeue = true; + return false; // break each loop + } + else { + log('could not determine size of image: '+this.src, this.cycleW, this.cycleH); + } + } + } + return true; + }); + + if (requeue) + return false; + + opts.cssBefore = opts.cssBefore || {}; + opts.cssAfter = opts.cssAfter || {}; + opts.cssFirst = opts.cssFirst || {}; + opts.animIn = opts.animIn || {}; + opts.animOut = opts.animOut || {}; + + $slides.not(':eq('+first+')').css(opts.cssBefore); + $($slides[first]).css(opts.cssFirst); + + if (opts.timeout) { + opts.timeout = parseInt(opts.timeout,10); + // ensure that timeout and speed settings are sane + if (opts.speed.constructor == String) + opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10); + if (!opts.sync) + opts.speed = opts.speed / 2; + + var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250; + while((opts.timeout - opts.speed) < buffer) // sanitize timeout + opts.timeout += opts.speed; + } + if (opts.easing) + opts.easeIn = opts.easeOut = opts.easing; + if (!opts.speedIn) + opts.speedIn = opts.speed; + if (!opts.speedOut) + opts.speedOut = opts.speed; + + opts.slideCount = els.length; + opts.currSlide = opts.lastSlide = first; + if (opts.random) { + if (++opts.randomIndex == els.length) + opts.randomIndex = 0; + opts.nextSlide = opts.randomMap[opts.randomIndex]; + } + else if (opts.backwards) + opts.nextSlide = opts.startingSlide === 0 ? (els.length-1) : opts.startingSlide-1; + else + opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1; + + // run transition init fn + if (!opts.multiFx) { + var init = $.fn.cycle.transitions[opts.fx]; + if ($.isFunction(init)) + init($cont, $slides, opts); + else if (opts.fx != 'custom' && !opts.multiFx) { + log('unknown transition: ' + opts.fx,'; slideshow terminating'); + return false; + } + } + + // fire artificial events + var e0 = $slides[first]; + if (!opts.skipInitializationCallbacks) { + if (opts.before.length) + opts.before[0].apply(e0, [e0, e0, opts, true]); + if (opts.after.length) + opts.after[0].apply(e0, [e0, e0, opts, true]); + } + if (opts.next) + $(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);}); + if (opts.prev) + $(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);}); + if (opts.pager || opts.pagerAnchorBuilder) + buildPager(els,opts); + + exposeAddSlide(opts, els); + + return opts; +} + +// save off original opts so we can restore after clearing state +function saveOriginalOpts(opts) { + opts.original = { before: [], after: [] }; + opts.original.cssBefore = $.extend({}, opts.cssBefore); + opts.original.cssAfter = $.extend({}, opts.cssAfter); + opts.original.animIn = $.extend({}, opts.animIn); + opts.original.animOut = $.extend({}, opts.animOut); + $.each(opts.before, function() { opts.original.before.push(this); }); + $.each(opts.after, function() { opts.original.after.push(this); }); +} + +function supportMultiTransitions(opts) { + var i, tx, txs = $.fn.cycle.transitions; + // look for multiple effects + if (opts.fx.indexOf(',') > 0) { + opts.multiFx = true; + opts.fxs = opts.fx.replace(/\s*/g,'').split(','); + // discard any bogus effect names + for (i=0; i < opts.fxs.length; i++) { + var fx = opts.fxs[i]; + tx = txs[fx]; + if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) { + log('discarding unknown transition: ',fx); + opts.fxs.splice(i,1); + i--; + } + } + // if we have an empty list then we threw everything away! + if (!opts.fxs.length) { + log('No valid transitions named; slideshow terminating.'); + return false; + } + } + else if (opts.fx == 'all') { // auto-gen the list of transitions + opts.multiFx = true; + opts.fxs = []; + for (var p in txs) { + if (txs.hasOwnProperty(p)) { + tx = txs[p]; + if (txs.hasOwnProperty(p) && $.isFunction(tx)) + opts.fxs.push(p); + } + } + } + if (opts.multiFx && opts.randomizeEffects) { + // munge the fxs array to make effect selection random + var r1 = Math.floor(Math.random() * 20) + 30; + for (i = 0; i < r1; i++) { + var r2 = Math.floor(Math.random() * opts.fxs.length); + opts.fxs.push(opts.fxs.splice(r2,1)[0]); + } + debug('randomized fx sequence: ',opts.fxs); + } + return true; +} + +// provide a mechanism for adding slides after the slideshow has started +function exposeAddSlide(opts, els) { + opts.addSlide = function(newSlide, prepend) { + var $s = $(newSlide), s = $s[0]; + if (!opts.autostopCount) + opts.countdown++; + els[prepend?'unshift':'push'](s); + if (opts.els) + opts.els[prepend?'unshift':'push'](s); // shuffle needs this + opts.slideCount = els.length; + + // add the slide to the random map and resort + if (opts.random) { + opts.randomMap.push(opts.slideCount-1); + opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); + } + + $s.css('position','absolute'); + $s[prepend?'prependTo':'appendTo'](opts.$cont); + + if (prepend) { + opts.currSlide++; + opts.nextSlide++; + } + + if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) + clearTypeFix($s); + + if (opts.fit && opts.width) + $s.width(opts.width); + if (opts.fit && opts.height && opts.height != 'auto') + $s.height(opts.height); + s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height(); + s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width(); + + $s.css(opts.cssBefore); + + if (opts.pager || opts.pagerAnchorBuilder) + $.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts); + + if ($.isFunction(opts.onAddSlide)) + opts.onAddSlide($s); + else + $s.hide(); // default behavior + }; +} + +// reset internal state; we do this on every pass in order to support multiple effects +$.fn.cycle.resetState = function(opts, fx) { + fx = fx || opts.fx; + opts.before = []; opts.after = []; + opts.cssBefore = $.extend({}, opts.original.cssBefore); + opts.cssAfter = $.extend({}, opts.original.cssAfter); + opts.animIn = $.extend({}, opts.original.animIn); + opts.animOut = $.extend({}, opts.original.animOut); + opts.fxFn = null; + $.each(opts.original.before, function() { opts.before.push(this); }); + $.each(opts.original.after, function() { opts.after.push(this); }); + + // re-init + var init = $.fn.cycle.transitions[fx]; + if ($.isFunction(init)) + init(opts.$cont, $(opts.elements), opts); +}; + +// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt +function go(els, opts, manual, fwd) { + var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide]; + + // opts.busy is true if we're in the middle of an animation + if (manual && opts.busy && opts.manualTrump) { + // let manual transitions requests trump active ones + debug('manualTrump in go(), stopping active transition'); + $(els).stop(true,true); + opts.busy = 0; + clearTimeout(p.cycleTimeout); + } + + // don't begin another timeout-based transition if there is one active + if (opts.busy) { + debug('transition active, ignoring new tx request'); + return; + } + + + // stop cycling if we have an outstanding stop request + if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual) + return; + + // check to see if we should stop cycling based on autostop options + if (!manual && !p.cyclePause && !opts.bounce && + ((opts.autostop && (--opts.countdown <= 0)) || + (opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) { + if (opts.end) + opts.end(opts); + return; + } + + // if slideshow is paused, only transition on a manual trigger + var changed = false; + if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) { + changed = true; + var fx = opts.fx; + // keep trying to get the slide size if we don't have it yet + curr.cycleH = curr.cycleH || $(curr).height(); + curr.cycleW = curr.cycleW || $(curr).width(); + next.cycleH = next.cycleH || $(next).height(); + next.cycleW = next.cycleW || $(next).width(); + + // support multiple transition types + if (opts.multiFx) { + if (fwd && (opts.lastFx === undefined || ++opts.lastFx >= opts.fxs.length)) + opts.lastFx = 0; + else if (!fwd && (opts.lastFx === undefined || --opts.lastFx < 0)) + opts.lastFx = opts.fxs.length - 1; + fx = opts.fxs[opts.lastFx]; + } + + // one-time fx overrides apply to: $('div').cycle(3,'zoom'); + if (opts.oneTimeFx) { + fx = opts.oneTimeFx; + opts.oneTimeFx = null; + } + + $.fn.cycle.resetState(opts, fx); + + // run the before callbacks + if (opts.before.length) + $.each(opts.before, function(i,o) { + if (p.cycleStop != opts.stopCount) return; + o.apply(next, [curr, next, opts, fwd]); + }); + + // stage the after callacks + var after = function() { + opts.busy = 0; + $.each(opts.after, function(i,o) { + if (p.cycleStop != opts.stopCount) return; + o.apply(next, [curr, next, opts, fwd]); + }); + if (!p.cycleStop) { + // queue next transition + queueNext(); + } + }; + + debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide); + + // get ready to perform the transition + opts.busy = 1; + if (opts.fxFn) // fx function provided? + opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent); + else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ? + $.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent); + else + $.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent); + } + else { + queueNext(); + } + + if (changed || opts.nextSlide == opts.currSlide) { + // calculate the next slide + var roll; + opts.lastSlide = opts.currSlide; + if (opts.random) { + opts.currSlide = opts.nextSlide; + if (++opts.randomIndex == els.length) { + opts.randomIndex = 0; + opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;}); + } + opts.nextSlide = opts.randomMap[opts.randomIndex]; + if (opts.nextSlide == opts.currSlide) + opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1; + } + else if (opts.backwards) { + roll = (opts.nextSlide - 1) < 0; + if (roll && opts.bounce) { + opts.backwards = !opts.backwards; + opts.nextSlide = 1; + opts.currSlide = 0; + } + else { + opts.nextSlide = roll ? (els.length-1) : opts.nextSlide-1; + opts.currSlide = roll ? 0 : opts.nextSlide+1; + } + } + else { // sequence + roll = (opts.nextSlide + 1) == els.length; + if (roll && opts.bounce) { + opts.backwards = !opts.backwards; + opts.nextSlide = els.length-2; + opts.currSlide = els.length-1; + } + else { + opts.nextSlide = roll ? 0 : opts.nextSlide+1; + opts.currSlide = roll ? els.length-1 : opts.nextSlide-1; + } + } + } + if (changed && opts.pager) + opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass); + + function queueNext() { + // stage the next transition + var ms = 0, timeout = opts.timeout; + if (opts.timeout && !opts.continuous) { + ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd); + if (opts.fx == 'shuffle') + ms -= opts.speedOut; + } + else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic + ms = 10; + if (ms > 0) + p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards); }, ms); + } +} + +// invoked after transition +$.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) { + $(pager).each(function() { + $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName); + }); +}; + +// calculate timeout value for current transition +function getTimeout(curr, next, opts, fwd) { + if (opts.timeoutFn) { + // call user provided calc fn + var t = opts.timeoutFn.call(curr,curr,next,opts,fwd); + while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout + t += opts.speed; + debug('calculated timeout: ' + t + '; speed: ' + opts.speed); + if (t !== false) + return t; + } + return opts.timeout; +} + +// expose next/prev function, caller must pass in state +$.fn.cycle.next = function(opts) { advance(opts,1); }; +$.fn.cycle.prev = function(opts) { advance(opts,0);}; + +// advance slide forward or back +function advance(opts, moveForward) { + var val = moveForward ? 1 : -1; + var els = opts.elements; + var p = opts.$cont[0], timeout = p.cycleTimeout; + if (timeout) { + clearTimeout(timeout); + p.cycleTimeout = 0; + } + if (opts.random && val < 0) { + // move back to the previously display slide + opts.randomIndex--; + if (--opts.randomIndex == -2) + opts.randomIndex = els.length-2; + else if (opts.randomIndex == -1) + opts.randomIndex = els.length-1; + opts.nextSlide = opts.randomMap[opts.randomIndex]; + } + else if (opts.random) { + opts.nextSlide = opts.randomMap[opts.randomIndex]; + } + else { + opts.nextSlide = opts.currSlide + val; + if (opts.nextSlide < 0) { + if (opts.nowrap) return false; + opts.nextSlide = els.length - 1; + } + else if (opts.nextSlide >= els.length) { + if (opts.nowrap) return false; + opts.nextSlide = 0; + } + } + + var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated + if ($.isFunction(cb)) + cb(val > 0, opts.nextSlide, els[opts.nextSlide]); + go(els, opts, 1, moveForward); + return false; +} + +function buildPager(els, opts) { + var $p = $(opts.pager); + $.each(els, function(i,o) { + $.fn.cycle.createPagerAnchor(i,o,$p,els,opts); + }); + opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass); +} + +$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) { + var a; + if ($.isFunction(opts.pagerAnchorBuilder)) { + a = opts.pagerAnchorBuilder(i,el); + debug('pagerAnchorBuilder('+i+', el) returned: ' + a); + } + else + a = ''+(i+1)+''; + + if (!a) + return; + var $a = $(a); + // don't reparent if anchor is in the dom + if ($a.parents('body').length === 0) { + var arr = []; + if ($p.length > 1) { + $p.each(function() { + var $clone = $a.clone(true); + $(this).append($clone); + arr.push($clone[0]); + }); + $a = $(arr); + } + else { + $a.appendTo($p); + } + } + + opts.pagerAnchors = opts.pagerAnchors || []; + opts.pagerAnchors.push($a); + + var pagerFn = function(e) { + e.preventDefault(); + opts.nextSlide = i; + var p = opts.$cont[0], timeout = p.cycleTimeout; + if (timeout) { + clearTimeout(timeout); + p.cycleTimeout = 0; + } + var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated + if ($.isFunction(cb)) + cb(opts.nextSlide, els[opts.nextSlide]); + go(els,opts,1,opts.currSlide < i); // trigger the trans +// return false; // <== allow bubble + }; + + if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) { + $a.hover(pagerFn, function(){/* no-op */} ); + } + else { + $a.bind(opts.pagerEvent, pagerFn); + } + + if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble) + $a.bind('click.cycle', function(){return false;}); // suppress click + + var cont = opts.$cont[0]; + var pauseFlag = false; // https://github.com/malsup/cycle/issues/44 + if (opts.pauseOnPagerHover) { + $a.hover( + function() { + pauseFlag = true; + cont.cyclePause++; + triggerPause(cont,true,true); + }, function() { + if (pauseFlag) + cont.cyclePause--; + triggerPause(cont,true,true); + } + ); + } +}; + +// helper fn to calculate the number of slides between the current and the next +$.fn.cycle.hopsFromLast = function(opts, fwd) { + var hops, l = opts.lastSlide, c = opts.currSlide; + if (fwd) + hops = c > l ? c - l : opts.slideCount - l; + else + hops = c < l ? l - c : l + opts.slideCount - c; + return hops; +}; + +// fix clearType problems in ie6 by setting an explicit bg color +// (otherwise text slides look horrible during a fade transition) +function clearTypeFix($slides) { + debug('applying clearType background-color hack'); + function hex(s) { + s = parseInt(s,10).toString(16); + return s.length < 2 ? '0'+s : s; + } + function getBg(e) { + for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) { + var v = $.css(e,'background-color'); + if (v && v.indexOf('rgb') >= 0 ) { + var rgb = v.match(/\d+/g); + return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]); + } + if (v && v != 'transparent') + return v; + } + return '#ffffff'; + } + $slides.each(function() { $(this).css('background-color', getBg(this)); }); +} + +// reset common props before the next transition +$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) { + $(opts.elements).not(curr).hide(); + if (typeof opts.cssBefore.opacity == 'undefined') + opts.cssBefore.opacity = 1; + opts.cssBefore.display = 'block'; + if (opts.slideResize && w !== false && next.cycleW > 0) + opts.cssBefore.width = next.cycleW; + if (opts.slideResize && h !== false && next.cycleH > 0) + opts.cssBefore.height = next.cycleH; + opts.cssAfter = opts.cssAfter || {}; + opts.cssAfter.display = 'none'; + $(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0)); + $(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1)); +}; + +// the actual fn for effecting a transition +$.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) { + var $l = $(curr), $n = $(next); + var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut, animInDelay = opts.animInDelay, animOutDelay = opts.animOutDelay; + $n.css(opts.cssBefore); + if (speedOverride) { + if (typeof speedOverride == 'number') + speedIn = speedOut = speedOverride; + else + speedIn = speedOut = 1; + easeIn = easeOut = null; + } + var fn = function() { + $n.delay(animInDelay).animate(opts.animIn, speedIn, easeIn, function() { + cb(); + }); + }; + $l.delay(animOutDelay).animate(opts.animOut, speedOut, easeOut, function() { + $l.css(opts.cssAfter); + if (!opts.sync) + fn(); + }); + if (opts.sync) fn(); +}; + +// transition definitions - only fade is defined here, transition pack defines the rest +$.fn.cycle.transitions = { + fade: function($cont, $slides, opts) { + $slides.not(':eq('+opts.currSlide+')').css('opacity',0); + opts.before.push(function(curr,next,opts) { + $.fn.cycle.commonReset(curr,next,opts); + opts.cssBefore.opacity = 0; + }); + opts.animIn = { opacity: 1 }; + opts.animOut = { opacity: 0 }; + opts.cssBefore = { top: 0, left: 0 }; + } +}; + +$.fn.cycle.ver = function() { return ver; }; + +// override these globally if you like (they are all optional) +$.fn.cycle.defaults = { + activePagerClass: 'activeSlide', // class name used for the active pager link + after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag) + allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling + animIn: null, // properties that define how the slide animates in + animInDelay: 0, // allows delay before next slide transitions in + animOut: null, // properties that define how the slide animates out + animOutDelay: 0, // allows delay before current slide transitions out + aspect: false, // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option) + autostop: 0, // true to end slideshow after X transitions (where X == slide count) + autostopCount: 0, // number of transitions (optionally used with autostop to define X) + backwards: false, // true to start slideshow at last slide and move backwards through the stack + before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag) + center: null, // set to true to have cycle add top/left margin to each slide (use with width and height options) + cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE) + cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides) + containerResize: 1, // resize container to fit largest slide + containerResizeHeight: 0, // resize containers height to fit the largest slide but leave the width dynamic + continuous: 0, // true to start next transition immediately after current one completes + cssAfter: null, // properties that defined the state of the slide after transitioning out + cssBefore: null, // properties that define the initial state of the slide before transitioning in + delay: 0, // additional delay (in ms) for first transition (hint: can be negative) + easeIn: null, // easing for "in" transition + easeOut: null, // easing for "out" transition + easing: null, // easing method for both in and out transitions + end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options) + fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms + fit: 0, // force slides to fit container + fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle') + fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag) + height: 'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well) + manualTrump: true, // causes manual transition to stop an active transition instead of being ignored + metaAttr: 'cycle', // data- attribute that holds the option data for the slideshow + next: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide + nowrap: 0, // true to prevent slideshow from wrapping + onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement) + onPrevNextEvent: null, // callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement) + pager: null, // element, jQuery object, or jQuery selector string for the element to use as pager container + pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement) + pagerEvent: 'click.cycle', // name of event which drives the pager navigation + pause: 0, // true to enable "pause on hover" + pauseOnPagerHover: 0, // true to pause when hovering over pager link + prev: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide + prevNextEvent: 'click.cycle',// event which drives the manual transition to the previous or next slide + random: 0, // true for random, false for sequence (not applicable to shuffle fx) + randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random + requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded + requeueTimeout: 250, // ms delay for requeue + rev: 0, // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle) + shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 } + skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition + slideExpr: null, // expression for selecting slides (if something other than all children is required) + slideResize: 1, // force slide width/height to fixed size before every transition + speed: 1000, // speed of the transition (any valid fx speed value) + speedIn: null, // speed of the 'in' transition + speedOut: null, // speed of the 'out' transition + startingSlide: undefined,// zero-based index of the first slide to be displayed + sync: 1, // true if in/out transitions should occur simultaneously + timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance) + timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag) + updateActivePagerLink: null,// callback fn invoked to update the active pager link (adds/removes activePagerClass style) + width: null // container width (if the 'fit' option is true, the slides will be set to this width as well) +}; + +})(jQuery); + + +/*! + * jQuery Cycle Plugin Transition Definitions + * This script is a plugin for the jQuery Cycle Plugin + * Examples and documentation at: http://malsup.com/jquery/cycle/ + * Copyright (c) 2007-2010 M. Alsup + * Version: 2.73 + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ +(function($) { +"use strict"; + +// +// These functions define slide initialization and properties for the named +// transitions. To save file size feel free to remove any of these that you +// don't need. +// +$.fn.cycle.transitions.none = function($cont, $slides, opts) { + opts.fxFn = function(curr,next,opts,after){ + $(next).show(); + $(curr).hide(); + after(); + }; +}; + +// not a cross-fade, fadeout only fades out the top slide +$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) { + $slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 }); + opts.before.push(function(curr,next,opts,w,h,rev) { + $(curr).css('zIndex',opts.slideCount + (rev !== true ? 1 : 0)); + $(next).css('zIndex',opts.slideCount + (rev !== true ? 0 : 1)); + }); + opts.animIn.opacity = 1; + opts.animOut.opacity = 0; + opts.cssBefore.opacity = 1; + opts.cssBefore.display = 'block'; + opts.cssAfter.zIndex = 0; +}; + +// scrollUp/Down/Left/Right +$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) { + $cont.css('overflow','hidden'); + opts.before.push($.fn.cycle.commonReset); + var h = $cont.height(); + opts.cssBefore.top = h; + opts.cssBefore.left = 0; + opts.cssFirst.top = 0; + opts.animIn.top = 0; + opts.animOut.top = -h; +}; +$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) { + $cont.css('overflow','hidden'); + opts.before.push($.fn.cycle.commonReset); + var h = $cont.height(); + opts.cssFirst.top = 0; + opts.cssBefore.top = -h; + opts.cssBefore.left = 0; + opts.animIn.top = 0; + opts.animOut.top = h; +}; +$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) { + $cont.css('overflow','hidden'); + opts.before.push($.fn.cycle.commonReset); + var w = $cont.width(); + opts.cssFirst.left = 0; + opts.cssBefore.left = w; + opts.cssBefore.top = 0; + opts.animIn.left = 0; + opts.animOut.left = 0-w; +}; +$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) { + $cont.css('overflow','hidden'); + opts.before.push($.fn.cycle.commonReset); + var w = $cont.width(); + opts.cssFirst.left = 0; + opts.cssBefore.left = -w; + opts.cssBefore.top = 0; + opts.animIn.left = 0; + opts.animOut.left = w; +}; +$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) { + $cont.css('overflow','hidden').width(); + opts.before.push(function(curr, next, opts, fwd) { + if (opts.rev) + fwd = !fwd; + $.fn.cycle.commonReset(curr,next,opts); + opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW); + opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW; + }); + opts.cssFirst.left = 0; + opts.cssBefore.top = 0; + opts.animIn.left = 0; + opts.animOut.top = 0; +}; +$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) { + $cont.css('overflow','hidden'); + opts.before.push(function(curr, next, opts, fwd) { + if (opts.rev) + fwd = !fwd; + $.fn.cycle.commonReset(curr,next,opts); + opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1); + opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH; + }); + opts.cssFirst.top = 0; + opts.cssBefore.left = 0; + opts.animIn.top = 0; + opts.animOut.left = 0; +}; + +// slideX/slideY +$.fn.cycle.transitions.slideX = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $(opts.elements).not(curr).hide(); + $.fn.cycle.commonReset(curr,next,opts,false,true); + opts.animIn.width = next.cycleW; + }); + opts.cssBefore.left = 0; + opts.cssBefore.top = 0; + opts.cssBefore.width = 0; + opts.animIn.width = 'show'; + opts.animOut.width = 0; +}; +$.fn.cycle.transitions.slideY = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $(opts.elements).not(curr).hide(); + $.fn.cycle.commonReset(curr,next,opts,true,false); + opts.animIn.height = next.cycleH; + }); + opts.cssBefore.left = 0; + opts.cssBefore.top = 0; + opts.cssBefore.height = 0; + opts.animIn.height = 'show'; + opts.animOut.height = 0; +}; + +// shuffle +$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) { + var i, w = $cont.css('overflow', 'visible').width(); + $slides.css({left: 0, top: 0}); + opts.before.push(function(curr,next,opts) { + $.fn.cycle.commonReset(curr,next,opts,true,true,true); + }); + // only adjust speed once! + if (!opts.speedAdjusted) { + opts.speed = opts.speed / 2; // shuffle has 2 transitions + opts.speedAdjusted = true; + } + opts.random = 0; + opts.shuffle = opts.shuffle || {left:-w, top:15}; + opts.els = []; + for (i=0; i < $slides.length; i++) + opts.els.push($slides[i]); + + for (i=0; i < opts.currSlide; i++) + opts.els.push(opts.els.shift()); + + // custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!) + opts.fxFn = function(curr, next, opts, cb, fwd) { + if (opts.rev) + fwd = !fwd; + var $el = fwd ? $(curr) : $(next); + $(next).css(opts.cssBefore); + var count = opts.slideCount; + $el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() { + var hops = $.fn.cycle.hopsFromLast(opts, fwd); + for (var k=0; k < hops; k++) { + if (fwd) + opts.els.push(opts.els.shift()); + else + opts.els.unshift(opts.els.pop()); + } + if (fwd) { + for (var i=0, len=opts.els.length; i < len; i++) + $(opts.els[i]).css('z-index', len-i+count); + } + else { + var z = $(curr).css('z-index'); + $el.css('z-index', parseInt(z,10)+1+count); + } + $el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() { + $(fwd ? this : curr).hide(); + if (cb) cb(); + }); + }); + }; + $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 }); +}; + +// turnUp/Down/Left/Right +$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,false); + opts.cssBefore.top = next.cycleH; + opts.animIn.height = next.cycleH; + opts.animOut.width = next.cycleW; + }); + opts.cssFirst.top = 0; + opts.cssBefore.left = 0; + opts.cssBefore.height = 0; + opts.animIn.top = 0; + opts.animOut.height = 0; +}; +$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,false); + opts.animIn.height = next.cycleH; + opts.animOut.top = curr.cycleH; + }); + opts.cssFirst.top = 0; + opts.cssBefore.left = 0; + opts.cssBefore.top = 0; + opts.cssBefore.height = 0; + opts.animOut.height = 0; +}; +$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,true); + opts.cssBefore.left = next.cycleW; + opts.animIn.width = next.cycleW; + }); + opts.cssBefore.top = 0; + opts.cssBefore.width = 0; + opts.animIn.left = 0; + opts.animOut.width = 0; +}; +$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,true); + opts.animIn.width = next.cycleW; + opts.animOut.left = curr.cycleW; + }); + $.extend(opts.cssBefore, { top: 0, left: 0, width: 0 }); + opts.animIn.left = 0; + opts.animOut.width = 0; +}; + +// zoom +$.fn.cycle.transitions.zoom = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,false,true); + opts.cssBefore.top = next.cycleH/2; + opts.cssBefore.left = next.cycleW/2; + $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH }); + $.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 }); + }); + opts.cssFirst.top = 0; + opts.cssFirst.left = 0; + opts.cssBefore.width = 0; + opts.cssBefore.height = 0; +}; + +// fadeZoom +$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,false); + opts.cssBefore.left = next.cycleW/2; + opts.cssBefore.top = next.cycleH/2; + $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH }); + }); + opts.cssBefore.width = 0; + opts.cssBefore.height = 0; + opts.animOut.opacity = 0; +}; + +// blindX +$.fn.cycle.transitions.blindX = function($cont, $slides, opts) { + var w = $cont.css('overflow','hidden').width(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts); + opts.animIn.width = next.cycleW; + opts.animOut.left = curr.cycleW; + }); + opts.cssBefore.left = w; + opts.cssBefore.top = 0; + opts.animIn.left = 0; + opts.animOut.left = w; +}; +// blindY +$.fn.cycle.transitions.blindY = function($cont, $slides, opts) { + var h = $cont.css('overflow','hidden').height(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts); + opts.animIn.height = next.cycleH; + opts.animOut.top = curr.cycleH; + }); + opts.cssBefore.top = h; + opts.cssBefore.left = 0; + opts.animIn.top = 0; + opts.animOut.top = h; +}; +// blindZ +$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) { + var h = $cont.css('overflow','hidden').height(); + var w = $cont.width(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts); + opts.animIn.height = next.cycleH; + opts.animOut.top = curr.cycleH; + }); + opts.cssBefore.top = h; + opts.cssBefore.left = w; + opts.animIn.top = 0; + opts.animIn.left = 0; + opts.animOut.top = h; + opts.animOut.left = w; +}; + +// growX - grow horizontally from centered 0 width +$.fn.cycle.transitions.growX = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,true); + opts.cssBefore.left = this.cycleW/2; + opts.animIn.left = 0; + opts.animIn.width = this.cycleW; + opts.animOut.left = 0; + }); + opts.cssBefore.top = 0; + opts.cssBefore.width = 0; +}; +// growY - grow vertically from centered 0 height +$.fn.cycle.transitions.growY = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,false); + opts.cssBefore.top = this.cycleH/2; + opts.animIn.top = 0; + opts.animIn.height = this.cycleH; + opts.animOut.top = 0; + }); + opts.cssBefore.height = 0; + opts.cssBefore.left = 0; +}; + +// curtainX - squeeze in both edges horizontally +$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,false,true,true); + opts.cssBefore.left = next.cycleW/2; + opts.animIn.left = 0; + opts.animIn.width = this.cycleW; + opts.animOut.left = curr.cycleW/2; + opts.animOut.width = 0; + }); + opts.cssBefore.top = 0; + opts.cssBefore.width = 0; +}; +// curtainY - squeeze in both edges vertically +$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) { + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,false,true); + opts.cssBefore.top = next.cycleH/2; + opts.animIn.top = 0; + opts.animIn.height = next.cycleH; + opts.animOut.top = curr.cycleH/2; + opts.animOut.height = 0; + }); + opts.cssBefore.height = 0; + opts.cssBefore.left = 0; +}; + +// cover - curr slide covered by next slide +$.fn.cycle.transitions.cover = function($cont, $slides, opts) { + var d = opts.direction || 'left'; + var w = $cont.css('overflow','hidden').width(); + var h = $cont.height(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts); + opts.cssAfter.display = ''; + if (d == 'right') + opts.cssBefore.left = -w; + else if (d == 'up') + opts.cssBefore.top = h; + else if (d == 'down') + opts.cssBefore.top = -h; + else + opts.cssBefore.left = w; + }); + opts.animIn.left = 0; + opts.animIn.top = 0; + opts.cssBefore.top = 0; + opts.cssBefore.left = 0; +}; + +// uncover - curr slide moves off next slide +$.fn.cycle.transitions.uncover = function($cont, $slides, opts) { + var d = opts.direction || 'left'; + var w = $cont.css('overflow','hidden').width(); + var h = $cont.height(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,true,true); + if (d == 'right') + opts.animOut.left = w; + else if (d == 'up') + opts.animOut.top = -h; + else if (d == 'down') + opts.animOut.top = h; + else + opts.animOut.left = -w; + }); + opts.animIn.left = 0; + opts.animIn.top = 0; + opts.cssBefore.top = 0; + opts.cssBefore.left = 0; +}; + +// toss - move top slide and fade away +$.fn.cycle.transitions.toss = function($cont, $slides, opts) { + var w = $cont.css('overflow','visible').width(); + var h = $cont.height(); + opts.before.push(function(curr, next, opts) { + $.fn.cycle.commonReset(curr,next,opts,true,true,true); + // provide default toss settings if animOut not provided + if (!opts.animOut.left && !opts.animOut.top) + $.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 }); + else + opts.animOut.opacity = 0; + }); + opts.cssBefore.left = 0; + opts.cssBefore.top = 0; + opts.animIn.left = 0; +}; + +// wipe - clip animation +$.fn.cycle.transitions.wipe = function($cont, $slides, opts) { + var w = $cont.css('overflow','hidden').width(); + var h = $cont.height(); + opts.cssBefore = opts.cssBefore || {}; + var clip; + if (opts.clip) { + if (/l2r/.test(opts.clip)) + clip = 'rect(0px 0px '+h+'px 0px)'; + else if (/r2l/.test(opts.clip)) + clip = 'rect(0px '+w+'px '+h+'px '+w+'px)'; + else if (/t2b/.test(opts.clip)) + clip = 'rect(0px '+w+'px 0px 0px)'; + else if (/b2t/.test(opts.clip)) + clip = 'rect('+h+'px '+w+'px '+h+'px 0px)'; + else if (/zoom/.test(opts.clip)) { + var top = parseInt(h/2,10); + var left = parseInt(w/2,10); + clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)'; + } + } + + opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)'; + + var d = opts.cssBefore.clip.match(/(\d+)/g); + var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10); + + opts.before.push(function(curr, next, opts) { + if (curr == next) return; + var $curr = $(curr), $next = $(next); + $.fn.cycle.commonReset(curr,next,opts,true,true,false); + opts.cssAfter.display = 'block'; + + var step = 1, count = parseInt((opts.speedIn / 13),10) - 1; + (function f() { + var tt = t ? t - parseInt(step * (t/count),10) : 0; + var ll = l ? l - parseInt(step * (l/count),10) : 0; + var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h; + var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w; + $next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' }); + (step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none'); + })(); + }); + $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 }); + opts.animIn = { left: 0 }; + opts.animOut = { left: 0 }; +}; + +})(jQuery); diff --git a/hangar/library/widgetized-sidebars.php b/hangar/library/widgetized-sidebars.php new file mode 100644 index 0000000..0c722bb --- /dev/null +++ b/hangar/library/widgetized-sidebars.php @@ -0,0 +1,32 @@ + __( 'Primary Widget Area', 'hangar' ), + 'id' => 'primary-widget-area', + 'description' => __( 'Here you can put one or two of your main widgets (like an intro text, your page navigation or some social site links) in your left sidebar. The sidebar is fixed, so the widgets content will always be visible, even when scrolling down the page.', 'ari' ), + 'before_widget' => '
  • ', + 'after_widget' => '
  • ', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + + // Secondary Widget area (right, additional sidebar) + register_sidebar( array( + 'name' => __( 'Secondary Widget Area', 'hangar' ), + 'id' => 'secondary-widget-area', + 'description' => __( 'Here you can put all the additional widgets for your right sidebar.', 'hangar' ), + 'before_widget' => '
  • ', + 'after_widget' => '
  • ', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + +} +/* Register sidebars by running ari_widgets_init() on the widgets_init hook. */ +add_action( 'widgets_init', 'ari_widgets_init' ); + +?> \ No newline at end of file diff --git a/hangar/loop.php b/hangar/loop.php new file mode 100644 index 0000000..d5855f3 --- /dev/null +++ b/hangar/loop.php @@ -0,0 +1,45 @@ + + + +
    > +

    + + + +


    + + +

    + + '' ) ); ?> + +


    + + + + + | + + + + | + + + +

    +
    + + + + + + + + +max_num_pages > 1 ) : ?> +

    +

    + \ No newline at end of file diff --git a/hangar/page-plain.php b/hangar/page-plain.php new file mode 100644 index 0000000..dd2ae63 --- /dev/null +++ b/hangar/page-plain.php @@ -0,0 +1,38 @@ + + + + +
    +
    +
    + +

    + + + +
    +
    +
    + + + + diff --git a/hangar/page.php b/hangar/page.php new file mode 100644 index 0000000..cd4bec6 --- /dev/null +++ b/hangar/page.php @@ -0,0 +1,65 @@ + + +
    +
    + +
    + + +

    + + + + ID, 'autor_tipo_resid', true); + if ($tiporesid) : ?> +

    + + ID, 'autor_data_resid', true); + if ($dataresid) : ?> +

    + + + ID, 'autor_obra', true); + if ($autorobra) : ?> +

    + + ID, 'data_obra', true); + if ($dataobra) : ?> +

    + + ID, 'carrec', true); + if ($carrec) : ?> +

    +

    ID, 'telefon', true) ?>

    +

    ID, 'email', true) ?>

    + + + +
    + + '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?> + + + + + + + +
    + + + + + +
    + + + + +
    + + + \ No newline at end of file diff --git a/hangar/phptest.php.backup b/hangar/phptest.php.backup new file mode 100644 index 0000000..1117c23 --- /dev/null +++ b/hangar/phptest.php.backup @@ -0,0 +1,122 @@ + + + + +
    +

    Hangar Import Drupal -> Wordpress

    + +show_errors(); + + $sql = "SELECT * FROM node WHERE type='story' ORDER BY nid"; + $nodes = $wpdb_drupal->get_results($sql); + //print_r($nids); + //echo count($nodes)."
    "; + + $i=0; + foreach ($nodes as $node) { + //echo $nid->nid."
    "; + + //get content of node + $sql2 = "SELECT * FROM node_revisions WHERE nid=".$node->nid; + $node_content = $wpdb_drupal->get_row($sql2); + + //get language information + $sql3 = "SELECT * FROM localizernode WHERE nid=".$node->nid; + $node_lang = $wpdb_drupal->get_row($sql3); + + if ($node->nid == $node_lang->pid){ + //new base node -> create node object + $n = new stdClass; + + $n->nid = $node->nid; + $n->date = date('Y-m-d H:i:s',$node->created); + $n->uid = $node->uid; + } + else { + //translated node: $node->nid == $node->pid; + $n = $langs[$node_lang->pid]; + } + + //get language version + switch ($node_lang->locale) { + case 'ca': + $n->title_ca = $node->title; + $n->teaser_ca = $node_content->teaser; + $n->body_ca = $node_content->body; + break; + case 'en': + $n->title_en = $node->title; + $n->teaser_en = $node_content->teaser; + $n->body_en = $node_content->body; + break; + case 'es': + $n->title_es = $node->title; + $n->teaser_es = $node_content->teaser; + $n->body_es = $node_content->body; + break; + } + + //-> save in associative array + $langs[$n->nid] = $n; + //echo "new node:".$n->nid."
    "; + //echo "- [".$n->nid."] ".$n->title_ca." - created:".$n->date." - user:[".$n->uid."] [".$node_lang->locale.'] '.$node_lang->pid.'
    '.$n->teaser_ca.'
    '; //.$n->body.'
    '; + + //limit to few rows (for testing) + //$i++; + //if ($i == 500) break; + } + + //print (or save) nodes + foreach ($langs as $node) { + if ($node->nid != ''){ + echo "[".$node->nid."] - created:".$node->date." - user:[".$node->uid."]
    "; + echo "ca:".$node->title_ca."
    "; //.$node->teaser_ca.'
    '; + echo "en:".$node->title_en."
    "; //.$node->teaser_en.'
    '; + echo "es:".$node->title_es."
    "; //.$node->teaser_es.'
    '; //.$node->body_ca.'
    '; + + $node->title = ''.$node->title_ca.''.$node->title_en.''.$node->title_es.''; + $node->teaser = ''.$node->teaser_ca.''.$node->teaser_en.''.$node->teaser_es.''; + $node->content = ''.$node->body_ca.''.$node->body_en.''.$node->body_es.''; + + //replace image route + $node->teaser = str_replace("/drupal/sites/hangar.org/files", "http://hangar.org/webnou/wp-content/uploads/drupal", $node->teaser); + $node->teaser = str_replace('teaser); + $node->content = str_replace("/drupal/sites/hangar.org/files", "http://hangar.org/webnou/wp-content/uploads/drupal", $node->content); + + //insert posts into wordpress + $post = array( + 'comment_status' => 'closed', // 'closed' means no comments. + 'ping_status' => 'closed', // 'closed' means pingbacks or trackbacks turned off + 'post_author' => 11, //The user ID number of the author: 11=gerald + 'post_category' => array(767), //Add some categories: 767=arxiu + 'post_excerpt' => $node->teaser, //For all your post excerpt needs. + 'post_date' => $node->date, //The time post was made. + 'post_content' => $node->content, //The full text of the post. + 'post_name' => $node->title_ca, // The name (slug) for your post + 'post_status' => 'publish', //Set the status of the new post. + 'post_title' => $node->title, //The title of your post. + 'post_type' => 'post', //You may want to insert a regular post, page, etc. + 'tags_input' => 'arxiu, drupal' //For tags. + ); + + //write to WP + //if ($node->nid == 1190 || $node->nid == 1293 || $node->nid == 1301) + //echo "SAVED WITH ID:".wp_insert_post($post)."

    "; + } + } +?> +
    + + + diff --git a/hangar/related-post.php b/hangar/related-post.php new file mode 100644 index 0000000..3efb088 --- /dev/null +++ b/hangar/related-post.php @@ -0,0 +1,35 @@ + + +ID); + if ($tags) { + $tag_ids = array(); + foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id; + $args=array( + 'tag__in' => $tag_ids, + 'post__not_in' => array($post->ID), + 'showposts'=>3, // Number of related posts that will be shown. + 'caller_get_posts'=>1 + ); + $my_query = new wp_query($args); + + if( $my_query->have_posts() ) { + echo '
      '; + while ($my_query->have_posts()) { + $my_query->the_post(); + $tipus = 'catt'; + + include(TEMPLATEPATH . "/caixes.php"); + + + } + }else { + echo ' +
    • No hay contenidos relacionados'; + } + echo '
    • +
    + '; + } + wp_reset_query(); + echo ''; +?> \ No newline at end of file diff --git a/hangar/search.php b/hangar/search.php new file mode 100644 index 0000000..cc282c2 --- /dev/null +++ b/hangar/search.php @@ -0,0 +1,79 @@ + + +
    + + + diff --git a/hangar/sidebar-primary.php b/hangar/sidebar-primary.php new file mode 100644 index 0000000..e51c95a --- /dev/null +++ b/hangar/sidebar-primary.php @@ -0,0 +1,36 @@ + + + +
    +
    + diff --git a/hangar/sidebar-secondary.php b/hangar/sidebar-secondary.php new file mode 100644 index 0000000..b0a9d72 --- /dev/null +++ b/hangar/sidebar-secondary.php @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/hangar/single.php b/hangar/single.php new file mode 100644 index 0000000..853b604 --- /dev/null +++ b/hangar/single.php @@ -0,0 +1,86 @@ + + +
    +
    + + + + + + +
    > +

    + + + + +

    +

    + +

    + +
    + +
    + + '' ) ); ?> + + +
    +
    + +
    +
    +

    %s', 'hangar' ), get_the_author() ); ?>

    +

    +
    +
    + + + +
    + +

    + | + + + +

    + + + + +

    + +
    + + + + + + + + +
    + + + + +
    + + + + +
    + + + \ No newline at end of file diff --git a/hangar/single_seccio.php b/hangar/single_seccio.php new file mode 100644 index 0000000..6a74123 --- /dev/null +++ b/hangar/single_seccio.php @@ -0,0 +1,71 @@ + + + + +
    +
    + +
    + + + +

    + +

    + + +

    Periode de residència:
    + ID, 'autor_data_resid', true); ?> +

    + +
    + '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?> + + + + + + + +
    + + + + + query('posts_per_page=-1&post_type=page&orderby=menu_order&order=asc&post_parent=' . $pare ); + ?> + have_posts()) : ?> + '; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++; + $tipus = 'obra'; + + ?> + + + +

    + +

    + + +
    +
    + + + \ No newline at end of file diff --git a/hangar/style.css b/hangar/style.css new file mode 100644 index 0000000..21bbdc5 --- /dev/null +++ b/hangar/style.css @@ -0,0 +1,1290 @@ +/* +Theme Name: Hangar, basat en Ari +Theme URI: http://wordpress.org/ +Description: Tema a dues/tres columnes. El logo i el men es troben a l'esquerra. El contingut al mig. A la dreta en les pgines individuals hi ha una barra lateral amb els articles o pgines relacionades. +Author: Enfusion team & vitrubio.net +Version: 2.1 +License: GNU General Public License +License URI: license.txt +Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu +*/ +/* Google Fonts Import +--------------------------------------------- +@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); */ + +/* 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + border: 0; + outline: 0; + background: transparent; +} + +html {margin-top: 0!important;} + +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +img {border: 0} + +/* General Structure and Styles +--------------------------------------------- */ +body { + color: #333333; + background-color:#fff; + margin: 0; + background-image: url('images/motiufons.gif'); + background-repeat:repeat-x repeat-y; + background-color: transparent; + font-size:12px; + font-family:'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + letter-spacing: 1px; +} + +#top-head { + height: 30px; + border-bottom: 1px solid #666666; + border-top: 2px solid #0000fa; + background-color: #fff; + margin-bottom:30px; + min-width: 600px; + } + +#wrap_topheader { + max-width: 1267px; + margin: 0 0 0 20px; +} + +#wrap { + max-width: 1267px; + margin: 0 0 0 20px; + } + +/*.single #wrap, .page #wrap {width: 990px;}*/ + +/*.page-template-seccions-php #wrap { + max-width: 1247px!important; + width:auto; + margin: 0 auto; + padding: 0px 5px 0px 15px; + + }*/ + +.shadow { + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; + filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a'); +} + +#sidebar-primary { + width:235px; + float:left; + margin-right:16px; + /*position: fixed;*/ +} +/*#main { + float:left; + margin: 3px 0 20px 0; +}*/ + +/*#main.mainunic {width:65%;} +#main.mainmig {width:auto;} +#main.maingran {width:80%;}*/ +#wrap.amplegrann, #wrap_topheader.amplegrann {max-width:1257px} +/*#wrap.amplemigg, #wrap_topheader.amplemigg {max-width:990px}*/ +#wrap.ampleunicc, #wrap_topheader.ampleunicc {max-width:750px, margin-left:16px} + + +/*.single #main , .page #main {float:left; }*/ + +.page-template-seccions-php #main, .category #main { + width:auto; + margin-left:245px; + } + + +#wrap_topheader .unic { width:990px;} + + + +#sidebar-secondary { + width:24.8%; + margin:0px 0px 60px 16px; + float:left; +} + +.single #sidebar-secondary { width:232px; margin-right:0;} +/*.page #sidebar-secondary { width:212px; margin-right:0;} +*/ + + +#footer { + padding: 0px 0px 30px 0px; + clear: both; + font-size: 12px; + background-color: #f1f1f1; + bottom: 0; + position: relative; + height:50px; /* abans 120px */ + letter-spacing:0.5px; + color:#888888; +} + +#wrapfooter { + max-width: 1237px; + padding: 20px 0px 0px 20px; + z-index: 0; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; +} + +.aligncenter { + margin:0 auto; + display:block; +} +.alignleft { + float:left; +} +.alignright { + float:right; +} + + +/* mens cap de dalt de tot */ + + +.languages ul, ul.diversos { + list-style-type: none; + display:block; + margin:0; + padding: 8px 8px 10px 0; + font-size:12px; + margin-right: 30px; + } +.languages ul li, ul.diversos li{display:inline;} + +.languages ul li a {text-transform:uppercase; color: #999999;} +.languages ul li.active a{text-decoration:underline; color:#0000FF ;} + +.languages ul li {margin-right:15px;} + +ul.diversos li{margin-right:30px;} + +ul.diversos li a{color: #666666; text-decoration:none;} +ul.diversos li a:hover{color: #0000ff;} + +li.faqs a{background: transparent url('images/faqs.png') no-repeat; padding-left: 22px;} +li.contact a{background: transparent url('images/info.png') no-repeat; padding-left: 22px;} +li.news a{background: transparent url('images/news.png') no-repeat 0 2px; padding-left: 22px;} +li.faqs a:hover{background: transparent url('images/faqshover.png') no-repeat; padding-left: 22px;} +li.contact a:hover{background: transparent url('images/infohover.png') no-repeat; padding-left: 22px;} +li.news a:hover{background: transparent url('images/newshover.png') no-repeat 0 2PX; padding-left: 22px;} + +#cercar {float:right;width: 225px;height: 20px; margin-right:3.4%} +.cse form.gsc-search-box, form.gsc-search-box { + margin-bottom: 0px!important; + padding: 1px 4px 1px 4px!important;} + + + + +/* contingut */ + +/*#content { +margin-bottom: 20px; float:left;}*/ + +#content .indexall{ + width:88%; + margin:0px 0px 20px 0px; + padding:0px 0px 0px 2%; + float:left; + font-size: 12px; +} + +#content.unic, #content.mix, #content.resultats {width:480px; + z-index:4; + float:left; + /* min-width: 780px;*/ + } + + + +.single #sidebar-primary {width: 235px; margin-right:13px;} + +.page #sidebar-primary: {width: 235px; margin-right:13px;} + + + +/* home */ + + + +/*strong {color: #333333;} +.pag strong {color: #ffffff;}*/ +.pag a {color: #28b5d8;} + +/* Headings +--------------------------------------------- */ +#content .post h1 { + padding:0px 0px 20px 0px; + font-size: 22px; + line-height:28px; +} +/*el fem servir*/ +#content.unic h2, #content.resultats h2 { + padding: 0; + font-size: 20px; + font-weight: normal; + line-height:20px; + margin-bottom:20px; + color: #0043f6; + letter-spacing:normal; + z-index: 999; +} + +#content h3 { + padding:20px 0px 12px 0px; + font-size: 16px; + line-height:24px; +} +#content h4 { + padding:20px 0px 10px 0px; + font-size: 15px; + line-height:21px; +} +#content h5 { + padding:16px 0px 8px 0px; + font-size: 14px; + line-height:20px; +} +#content h6 { + padding:10px 0px 5px 0px; + font-size: 13px; + line-height:19px; +} + +/* Links +--------------------------------------------- */ +#content h2 a { + color:#333333; +} +a{ + text-decoration:none; +} +a:hover, #content h2 a:hover { +text-decoration: underline; +} +/* --- Link Colors --- */ +a, ul.sidebar li.widget_text a { + color:#0000FF ; + font-weight:normal; +} +ul.sidebar a, p.meta a, p.logged-in-as a, a.post-edit-link, #footer a { + color:#999; +} +#content h2 a:hover, ul.sidebar a:hover, .comment-meta a:hover, p.logged-in-as a:hover, p.meta a:hover, a.post-edit-link:hover, #footer a:hover { + color:#333333; +} +#searchsubmit:hover, form#commentform p.form-submit input#submit:hover, input.wpcf7-submit:hover { + background:#0000FF; +} +.comment-meta a {color:#333333;} + +/* s'ha de posar un hack per ie6 i 7 veure possible solució amb js http://wordpress.org/support/topic/pdf-icon-with-pdf-upload */ +/* .desc p a[href$=".PDF"], a[href$=".pdf"], #pagina p a[href$=".PDF"], a[href$=".pdf"] { + display: inline-block; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + float:left; + margin-left:0; + height:17px; + overflow:hidden; +} */ + + a[href$=".PDF"]::before, + a[href$=".pdf"]::before { + display: inline; + overflow:hidden; + content:''; + /* float:left; */ + height:17px; + padding:0 0 0 25px; + background: url("images/pdficon2.png") left top no-repeat; + text-align:center; + margin-left:0; +} + +/* Lists +--------------------------------------------- */ +#content ul li {font-size:12px;} + +#content #page ul, #content .post ul { + padding:20px 0px 10px 25px; +} +#content #page ul li, #content .post ul li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: disc; +} +#content #page ol, #content .post ol { + padding:20px 0px 0px 30px; +} +#content #page ol li, #content .post ol li { + padding:0px 0px 5px 0px; + line-height:16px; + list-style: decimal; +} + +/* Sidebars +--------------------------------------------- */ +ul.sidebar { + font-size: 0.8rem; + line-height:0.8rem; + margin-top:2rem; + padding:0; +} + +ul.segona {margin-top:15x;} + +ul.sidebar li.widget-container, ul.sidebar li.pagenav, ul.sidebar li.categories { + margin:0px 0px 1px 0px; + padding:0px 0px 1px 0px; +/* border-bottom:1px dotted #333333;*/ + overflow:hidden; + line-height:18px; +} +ul.sidebar h3.widget-title { + padding:0px 0px 5px 0px; + font-size: 11px; +} + +.sidebar ul {padding:0;} + +.sidebar ul li {display:inline;} + +ul.sidebar li.widget_text, ul.sidebar li.shailan_banner_widget {color: #646464; font-size:11px; line-height:11px; margin:0; padding: 0 0 5px 0;} + +ul.sidebar li.pagenav ul li.page_item a ul{color:red;} + +ul.menu {padding-bottom:1px;} + +ul.menu li {display:inline; line-height:18px;letter-spacing: 0.3px} + + +ul.menu a {color:#4344ff; } + +ul.menu li a {color:#333333!important;} + +ul.menu li#menu-item-274{margin-bottom:20px} + +ul.menu li.unica, ul.menu li.especial{display: block; margin-bottom:10px;} +li.especial, li.unica {text-transform:uppercase;} +ul.sub-menu li {text-transform: none!important;} +ul.menu li.sola{display: block; margin-bottom:3px; text-transform: uppercase;} +ul.menu li.especial a{color:#0000FF!important; font-weight:bold;} +ul.menu li.unica a, ul.menu li.sola a{color:#4344ff!important; } +ul.menu li.negre a{color: #000000!important; + cursor: text; + text-decoration: none;} + + + +ul.sub-menu {display:inline;} +ul.menu li.unica li {display:inline;} + +ul.menu li li {display:inline;} + +ul.sidebar li:first-child.widget_text {color: #F63!important;} +ul.menu li:first-child:before {content: "";} + +ul.menu li ul li:before {content: " ─ ";color: #0000ff} + +ul.menu ul.sub-menu li a {color: #0000ff!important; + cursor: pointer;} + +ul.menu ul.sub-menu li a:hover {text-decoration: underline;} + +/*ul#menu-segonn li ul.sub-menu li a {font-size: 10px; color: #333333!important;} + +ul#menu-segonn li ul.sub-menu li ul li a {font-size: 14px; color: #0000ff!important;}*/ + + + + +/* sidebar */ + +#sidebar { float: right; + margin: 0 0 60px; + width: 20.8%;} + + + +/* Sidebar Primary +--------------------------------------------- */ +/* --- Theme Logo --- */ +#sidebar-primary .logo { + height:96px; + margin:0px 0px 10px 0px; + display:block; +} +#sidebar-primary .logo h1 { + padding:5px 0px 0px 0px; + font-size:30px; + line-height:35px; +} +#sidebar-primary .logo h1 a:hover { + text-decoration:none; +} +#sidebar-primary .logo p { +font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-style:italic; + font-size:13px; +} +#sidebar-primary .logo img { + margin:0px; + padding:0px; +} +/* --- About Text Widget --- */ +#sidebar-primary ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} + + + + + +/* Sidebar Secondary +--------------------------------------------- */ +/*#sidebar-secondary img { + max-width: 100%; + display: block; + margin:0px; + padding: 0; +} +#sidebar-secondary img.banner { + max-width: 100%; + display: block; + margin:0px 0px 10px 0px; + padding: 0; +} +*/ +/* Sidebar Widgets (can be used for both Sidebars) +--------------------------------------------- */ +ul.sidebar li.widget_archive ul li, ul.sidebar li.widget_pages ul li.page_item, ul.sidebar li.widget_categories ul li.cat-item, ul.sidebar li.widget_links ul.blogroll li, ul.sidebar li.widget_nav_menu ul#menu-navigation li.menu-item, ul.sidebar li.widget_meta ul li { + line-height:23px; +} +/* --- Text Widget --- */ +ul.sidebar li.widget_text img { + margin:3px 10px 0px -7px; + float:left; +} +/* --- Custom Menu Widget --- */ +ul.sub-menu { + margin: 0px 0px 0px 0px; +} +ul.sidebar li.widget_categories ul li.cat-item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Pages Widget --- */ +ul.sidebar li.widget_pages ul li.page_item ul.children { + margin:0px 0px 0px 15px; +} +/* --- Search Widget --- */ +.search-input { + max-width: 100%; + width: 130px; + margin:4px; + font-size:12px; + float:right; + border: 1px solid #ababab; + background-color:#e5e5e5; + height: 16px; +} +#searchsubmit { + margin:4px; + padding:2px; + float:right; + background:#666666; + border:none; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + width:55px; + +} +#cercar img { + margin:4px;border:none;float:left; margin-top:8px; +} + +/* --- Recent Post Widget --- */ +ul.sidebar li.widget_recent_entries ul li { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_entries ul li a { + line-height:16px; +} +/* --- Recent Comments --- */ +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments { + padding: 0px 0px 12px 0px; + line-height:16px; +} +ul.sidebar li.widget_recent_comments ul#recentcomments li.recentcomments a { + padding: 0px 0px 12px 0px; +} +/* --- Calendar Widget --- */ +table#wp-calendar caption { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + line-height:18px; + font-style:italic; + text-align:left; + padding:0px 0px 3px 0px; +} +table#wp-calendar td { + padding:3px; +} +/* --- Social Links Custom Widget --- */ +ul.sidebar li.widget_sociallinks a { + padding:0px 20px 0px 20px; + line-height:23px; +} +ul.sidebar li.widget_sociallinks a.rss { + background:url(images/rss-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.twitter { + background:url(images/twitter-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.facebook { + background:url(images/fb-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.flickr { + background:url(images/flickr-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.xing { + background:url(images/xing-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.linkedin { + background:url(images/linkedin-icon.png) 0 0 no-repeat; +} +ul.sidebar li.widget_sociallinks a.delicious { + background:url(images/delicious-icon.png) 0 0 no-repeat; +} + + + +#navegacio {margin-left: 10px; + padding: 23px 16px 10px; + width: 438px;} +#navegacio.dins { display: inline-block; + font-size: 10px; + margin: 20px 2px 10px; + width: 448px; + padding:0; + } + +/* Posts i pages +--------------------------------------------- */ + +#content.unic #pagina, #content.unic .post, #content.resultats #pagina { + background-color: #FFFFFF; + padding: 23px 16px 10px; + width: 448px; + min-height: 600px; /* sense sponsors 600px*/ + margin-bottom:20px; +} + +/* aumentar anchura calendari i canal hangar */ +.page-id-15261 #content.unic #pagina, .page-id-15192 #content.unic #pagina { + width: 800px; +} + +#content.mix #lateca {display:inline-block; height:58px;margin-bottom:10px; width:200px;overflow:hidden;} + +#content.unic p{ padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px;} + +#content .post p { + padding:0px 0px 15px 0px; + font-size: 12px; + line-height:17px; +} +#content .post p small { + font-size:11px; +} + + + + +#content blockquote { + margin:10px 0px 20px 0px; + padding:0px 0px 0px 16px; + background:url(images/blockquote-border.jpg) 0 0 repeat-y; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + line-height:21px; + font-style:italic; +} +#content .post blockquote p, #content .page blockquote p { + padding:0px; +} +#content blockquote p cite { + padding:5px 0px 0px 0px; + font-size:12px; + font-weight:bold; +} +#content address { + padding:0px 0px 20px 0px; + line-height:20px; +} +#content pre { + padding:0px 0px 20px 0px; +} +#content table { + margin:10px 0px 30px 0px; +} +#content table tr { + border-bottom:1px solid #333333; +} +#content table tr th { + padding: 10px 20px 10px 20px; + border-top:1px solid #333333; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content table tr td { + padding: 10px 20px 10px 20px; + border-left:1px solid #333333; + border-right:1px solid #333333; +} +#content img { + max-width: 100%; + width: auto; + height: auto; + display: block; +} +#content img.alignleft { + margin: 5px 10px 10px 0px; +} +#content img.alignright { + margin: 5px 0px 5px 10px; +} +#content img.alignnone { + margin: 10px 0px 10px 0px; +} +#content .wp-caption { + max-width: 100%; + display: block; +} +#content p.wp-caption-text { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-style:italic; + line-height:18px; + padding:7px 0px 10px 0px; +} +#content object, +#content embed, +#content iframe { + display: block; + max-width: 100%; +} +#content .post p.meta, #content .page p.meta, #content p.meta { + font-size:0.7rem; + line-height:1rem; + padding-bottom:0; + min-height: 1.5rem; +} +#content .post p.meta span, #content .page p.meta span, #content p.meta span { + padding:0px 0px 0px 0px; + font-size:12px; + line-height:14px; +} + +.novista {display:block; height:28px;} + +.art .novista {height:39px;} + +#content.resultats #pagina h3{ + padding: 20px 0 20px 0; + font-size: 14px; + line-height:16px; + color: #0043f6; + z-index: 999; +} + +#content.resultats p{ + font-size:12px; + line-height:17px; + padding-bottom:10px; +} + +#content.resultats p.meta, #content.resultats p.meta span{ + font-size:11px; + line-height:13px; + padding-bottom:8px; + padding-top: 10px; + + } +#content.resultats div.hentry { border-bottom: 1px dotted grey; } +.cleared {clear:both;} + +#content.resultats div#navi {display:block; height:30px;} + +a.post-edit-link { + font-size:12px; +} +#content p.previous { + float:left; + font-size:11px; +} +#content p.next { + float:right; + font-size:11px; +} + +#content.resultats p.previous { + padding: 10px 0; +} +#content.resultats p.next { + padding: 10px 0; +} + + + +p.blue {color: #0043F6;} +p.curt {padding-bottom:1px!important;line-height:12px!important;font-size:12px!important; } +p.peullarg {padding-bottom:20px;} + + + +/* home index */ +.head-entry {height:4rem; font-size:0.8rem;line-height:0.8rem; margin-bottom:0.5rem/*0.7rem*/; padding: 0; color: #0000FF; display: block; } + +.art .head-entry {height:45px; } + +.home #content.indexall p.box, {clear:both; overflow:hidden;} + +/*.home #content.indexall a.peubox img, #sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +.home #content.indexall .boxentry p.excerptbox {height: 55px; margin-bottom: 25px; padding-bottom:0px; overflow:hidden;} +.home #content.indexall .boxentry p.contentbox {height:120px;margin-bottom: 15px; overflow:hidden;} +.home .boxentry .contentbox {height: 323px;margin-bottom: 20px; overflow:hidden; display:inline-block;} +.home .boxentry .contentbox p{height: 350px;margin-bottom: 15px; overflow:hidden; display:inline;} +.home .boxentry{line-height:15px; height:430px; margin-bottom:16px; margin-right: 16px;} +.home .entry-content {display:inline-block; height: 340px;} +.home #content.indexall .boxentry .contentllarg {height: 226px; margin-bottom:24px; overflow: hidden;}*/ + + +/*.contentcurt { height: 237px; + margin-bottom: 38px; /*ull abanas 23 , veure com afecta */ + /* overflow: hidden; }*/ + +img.topspimg {margin-top: 28px!important;} + +.topstext {margin-bottom:41px!important; margin-top:25px!important;} + + + + +/*estils capses home i index categories, blocs i artistes */ + +.boxentry {line-height:15px; + height:360px; + width: 200px; + margin-bottom:16px; + padding: 15px; + float:left; + background-color: #FFF; + position:relative; + margin-right: 15px; + -moz-box-shadow: 3px 3px 4px #91939a; + -webkit-box-shadow: 3px 3px 4px #91939a; + box-shadow: 3px 3px 4px #91939a; +filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');} + +.ie { + + /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');*/ +} + +.hentry +.head-entry {height:65px; font-size:14px;line-height: 15px; margin-bottom:8px; padding: 0; color: #0000FF; display: block; } + +.desc .head-entry {height:95px;} +span.cat a{text-transform: uppercase; letter-spacing:normal} +.boxentry h2, #sidebar-secondary .boxentry h2{ display: inline; font-size: 0.8rem; line-height: 0.9rem; padding-top:0; color: #333333; font-weight:normal; letter-spacing:normal;} +.boxentry h2.blau a{color: #0000ff!important;} + +.boxentry img.wp-post-image, .boxentry img.noimatge {margin-bottom: 0.5rem;} + +.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} + +.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} +.boxentry .curt, .boxentry p.excerptbox {height: auto/*60px*/; font-size:11.5px;} +.boxentry .mig {height: 195px;} +.boxentry .llarg {height: 225px;} +.boxentry .plus {height: 331px;} +.boxentry .plus p{display:inline;} + +/* special setting for showing excerpt image */ +#post-4051 p.excerptbox { height: 250px; } +#post-4051 .novista { height: 0; } + +.boxentry h2.index {font-size:23px;display:block; line-height:30px; text-transform:uppercase; font-weight: bold; margin-bottom:20px; letter-spacing:normal} +#content .boxentry .descseccio p {font-size: 13px; line-height:15px; } +#content .boxentry .descseccio p:first-child:before {content: " ─ ";} +#content .boxentry .contentcurt p:first-child:before {content: " ─ ";} + +#content .boxentry h3 {letter-spacing:normal;} +#content .boxentry h3.box, #content h3.equip, #content h2.pag a {font-size:13px;line-height: 15px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +#content .boxentry h3.art {text-transform: uppercase;} +#content .boxentry h3.catt a {color: #333333; } +#content .boxentry h3.nosubcatt a {color: #0000ff; font-size:14px; line-height:19px;} +#content .boxentry p.catt {color: #333333;} +#content li.linkcat h3 {font-size:14px; line-height: 16px; font-weight:normal; padding: 10px 0 5px; color: #0000ff;} + + +.boxpeu {clear: both; display:block; position:absolute; bottom:10px; width:200px;height: 16px;} +.peubox {float: left; margin-top:5px; } +.peudret{float: right;} + +.wp-pagenavi {position:static!important; margin: 20px auto; top:auto!important; text-align:center;display:inline-table;} + +#content ul#artistes li, #content ul#llista li li {font-size: 13px; line-height: 22px;} +#content ul#artistes li a, #content ul#llista li li a {color: #333333; } +#content ul#artistes li a:hover, #content ul#llista li li a:hover {color: #0000ff; } +#content ul#artistes li a span:before {content: " ─ ";} +.alfa {line-height:19px!important;} + + +/*.pag{background-color: #363636!important; color:#FFFFFF!important;} +.pag h2 a{color:#FFFFFF!important;} + +.pag h2 a {text-transform:uppercase; display:inline;font-weight:normal;} + +.pag h2 a:after {content: " ─ ";}*/ + +.boxentry span.cat a:after {content: " ─ ";} +/*.desc span.cat a:after {content: " ";} +*/ +.contentbox {display:block; height:331px; margin-bottom:15px:} + +#content h3.equip {height:16px!important;} + +#content .boxentry:last-child {margin-left: 0px;} + +#sidebar-secondary .boxentry {margin-right: 0px; margin-left:0px;} + +#sidebar-secondary .boxentry p.meta{clear:both;overflow:hidden;font-size:12px; line-height:14px;padding-bottom:14px;} + +#content.mix .boxentry {margin-right:4px; margin-left:4px;} + +#content.unic .boxentry {margin-bottom:15px;} + +/*paginacio kriesi */ + +.pagination { +clear:both; +padding:20px 0; +position:relative; +font-size:11px; +line-height:13px; +} + +.pagination span, .pagination a { +display:block; +float:left; +margin: 2px 2px 2px 0; +padding:6px 9px 5px 9px; +text-decoration:none; +width:auto; +color:#fff; +background: #555; +} + +.pagination a:hover{ +color:#fff; +background: #3279BB; +} + +.pagination .current{ +padding:6px 9px 5px 9px; +background: #3279BB; +color:#fff; +} +/* centrar el plugin de compartir al final dels posts */ +div.really_simple_share {width:220px; margin: 20px auto 5px auto; height:22px!important;} + +div.really_simple_share iframe {height:22px!important;} + + +/*#content.indexall .boxentry {line-height:15px; height:398px; margin-bottom:16px;} + +#content.mix .boxentry{height:348px;} +#content.tocada .boxentry {height:398px;} +#content.indexall .boxentry p, #content.mix .boxentry p, #sidebar-secondary .boxentry p{font-size:12px; line-height:14px;} +#content.indexall .boxentry h2.index, #content.mix .boxentry h2.index, #sidebar-secondary .boxentry h2.index {font-size:27px; float:none;text-transform: uppercase; margin-bottom:5px;padding-bottom: 5px; padding-top:0; margin-top:0; color:#333333; line-height:28px;} +#content.indexall .boxentry div.descseccio p, #content.mix .boxentry div.descseccio p, #sidebar-secondary .boxentry div.descseccio p{font-size:13px; line-height:14px} +#content.indexall .boxentry img, #content.mix .boxentry img, #sidebar-secondary .boxentry img {margin-bottom:20px;} + + +#content.indexall .boxentry .head-entry, #content.mix .boxentry .head-entry, #sidebar-secondary .boxentry .head-entry { height: 75px; display:inline-block; overflow: hidden;} +#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 18px; padding: 0; color: #0000FF; display:inline-block; font-weight: normal;} + +/*#content.indexall .boxentry h3, #content.mix .boxentry h3, #sidebar-secondary .boxentry h3{font-size:14px;line-height: 15px; padding: 0; color: #0000FF; height: 55px; display:inline-block; }*/ /* +#content.indexall p.box,#content.mix p.box, #sidebar-secondary .boxentry p.box {clear:both; overflow:hidden;} +#content.indexall.tocada .boxentry h3 a{text-transform:uppercase;} +#content.indexall a.peubox img, #content.mix .boxentry a.peubox img,#sidebar-secondary .boxentry a.peubox img {position:relative; bottom: 0;} +#content.indexall .boxentry p.excerptbox, #content.mix .boxentry p.excerptbox, #sidebar-secondary .boxentry p.excerptbox {height: 70px; margin-bottom: 20px; overflow:hidden; padding-bottom:15px;}*/ +a.peutots {margin-bottom:15px;} +.nofons {background-color:transparent!important;} +.nopadding {padding-bottom:0px!important;} + +p.carrec{ font-size: 12px; line-height:14px; padding-bottom:20px;} +p.carrec:before {content: " - ";} +p.boxcurta{font-size:12px; line-height:12px; padding-bottom:2px;} +span.categ a{text-transform:uppercase; color: #666666;} +span.categ a:after {content: " ─ ";} +/* breadcrum */ + +#breadcrumb {width:100%; min-height:19px; overflow:hidden; margin: 2px 0 6px 0; } +#breadcrumb ul {list-style-type: none; } +#breadcrumb ul li {display: inline; font-size:14px; letter-spacing:normal; } +#breadcrumb ul li:after{content:" > "; color: #0000ff;} +#breadcrumb ul li:last-child:after{content:" "; } + + +p#sidebarr {display: inline-block; height:16px; overflow:hidden; margin: 2px 0 8px 0px; font-size:14px; letter-spacing:normal; font-weight:normal; color: #0000FF;} + + +/* Single Post +--------------------------------------------- */ +#content .post #author-info { + margin:20px 0px 30px 0px; + padding:10px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#content .post #author-avatar { + margin:5px 15px 0px 0px; + float:left; +} +#content .post #author-description { + overflow:hidden; +} +#content .post #author-description h2 { + padding:0px; + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:12px; + font-weight:normal; +} +#content .post #author-description h2 span { + font-weight:bold; + text-transform:uppercase; + letter-spacing:0.1em; +} +#content .post #author-description p, .page-link { + font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; + font-size:13px; + line-height:18px; + font-style:italic; +} + +/* formularis inscripció */ + +#cformsform {width:448px; margin:0;} + +#cformsform.cform label {display:block; margin-bottom:10px; width:216px; text-align:left} +#cformsform.cform label span{display:block;width:216px;} +#cformsform.cform input { display:block; margin-bottom:10px; width:216px;} +#cformsform.cform textarea { display:block; margin-bottom:10px; width:440px;} + +#cformsform.cform li#li--1 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--2 {float: right; width:216px; margin-right:0;} +#cformsform.cform li#li--3 {float: left; width:216px; margin-right:16px;} +#cformsform.cform li#li--4 {float: right; width:216px; margin-right:0;} +#cformsform.cform li.cf-box-title {font-weight: normal; clear: both;} +#cformsform.cform li.cf-box-group {float:none; display:block; width:80px; margin-left: 20px;} + +#cformsform.cform label#label--51 {float:left;height:30px; margin: 0; width: 30px;} +#cformsform.cform label.cf-after span {width:30px;} +#cformsform.cform label#label--52 {float:left;height:10px; margin: 10px 0 10px 0; width: 30px;} +#cformsform.cform input#cf_field_5-1 + {float:right; width: 20px; height:0; margin: 0;} +#cformsform.cform input#cf_field_5-2 + {clear:both; float:right; width: 20px; height:10px; margin: 10px 0;} + + + +#cformsform.cform li#li--6 {clear:both;} +p.cf-sb {clear:both; } +#cformsform.cform p.cf-sb input { + -moz-border-radius: 15px 15px 15px 15px; + background: none repeat scroll 0 0 #666666; + border: medium none; + color: #FFFFFF; + cursor: pointer; + float: right; + font-family: 'Helvetica Neue',Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; + font-size: 12px; + margin: 4px; + padding: 2px; + width: 55px; } + + +/*----------------------*/ + + +ul.catlist {list-style-type:none;} +ul.catlist li {display:inline} + +.peupost {border-top: 1px solid #4e4e4e; margin-top:15px; } +#content .post p.peupostp {padding-top:6px; } + + +/* --- Comments --- */ + +#respond {clear:both;} + +.post .comments-content { + margin:6px 0px 0px 0px; + border-top:1px dotted #333333; +} +#content .post #comments-content h3#comments { + padding:80px 0px 8px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#comments-content .comment-body p { + padding:0px 0px 10px 0px; + font-size:13px; + line-height:19px; +} +#comments-content p.moderation { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; + color:#999; +} +#content .post #comments-content ol { + padding:0px; +} +#content .post #comments-content ol li ul.children { + padding:0px; +} +#content .post #comments-content ol li.depth-1 { + padding:25px 0px 10px 0px; + border-bottom:1px dotted #333333; + overflow:hidden; +} +#comments-content ol li.depth-2, #comments-content ol li.depth-3, #comments-content ol li.depth-4, #comments-content ol li.depth-5 { + margin:10px 0px 0px 30px; + padding:25px 0px 0px 0px; + border-top:1px dotted #333333; + border-bottom:none; + overflow:hidden; +} +.comment-meta { + padding:0px 0px 10px 0px; + font-size:12px; +} +.comment-gravatar { + margin:1px 15px 0px 0px; + float:left; +} +#comments-content .comment-body { + padding:0px; + overflow:hidden; +} +.reply { + margin:0; + float:right; +} +a.comment-reply-link { + font-size:12px; + font-weight:bold; +} +p.logged-in-as { + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +#comments-content ol li.post.pingback { + margin:0px; + padding: 20px 0px 10px 20px; + list-style:none; +} +.bypostauthor { +} + +span.fn {color: #0043f6;} + +/* --- Comment Reply --- */ +a#cancel-comment-reply-link { + padding:3px 0px 0px 0px; + float:right; + font-size:12px; +} +#content .post #comments-content #respond h3#reply-title { + padding:30px 0px 6px 0px; + border-bottom:1px dotted #333333; + font-size:16px; +} +#content .post form#commentform p { + font-size:13px; +} +form#commentform p.comment-notes { + padding:5px 0px 15px 0px; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-style:italic; +} +form#commentform input#author, form#commentform input#email, form#commentform input#url { + font-family:'Droid Sans', arial, sans-serif; + height:22px; +} +form#commentform textarea#comment { + width:90%; + padding:3px; + font-family:'Droid Sans', arial, sans-serif; +} +form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { + padding:10px 0px 0px 0px; +} +form#commentform p.form-submit input#submit { + margin:8px 0px 10px 1px; + padding:6px 8px 6px 8px; + background:#333333; + border:none; + font-family:'Droid Sans', arial, sans-serif; + font-size:12px; + color:#fff; + cursor:pointer; +} + + + +/* WordPress Image Gallery +--------------------------------------------- */ +.gallery { + margin: auto; + padding:5px 0px 5px 0px; +} +.gallery .gallery-item { + float: left; + margin: 10px 5px 0px 5px; + text-align: center; + width: 31%!important; + vertical-align: top; +} +.gallery img { + border: 2px solid #D2D2DF!important; +} +.gallery .gallery-caption { + margin-left: 0; + padding: 5px 0px 8px 0px; + font-family:'Droid Serif', Times, serif; + font-size: 12px; + font-style: italic; + line-height: 16px; color: #03F; + display: block!important; +} + +/* Footer +--------------------------------------------- */ +#footer p { + line-height:19px; + font-size:11px; + color: #808080; +} + +.center {text-align:center;} +.col {float: left; } +.logo { width:140px; margin:0;} +.org { width:278px;} +.tels { width:170px;} +.inf{width: 267px;} +.legal {width:68px;padding-top:30px;padding-left: 30px;} +.credits {width:150px; font-size:9px; color: #A3A7A5; margin-top:9px;} +.credits a{color: #A3A7A5!important;} + +/* Archives +--------------------------------------------- */ +h1.archive { + margin:0px 0px 25px 0px; + padding: 0px 0px 10px 0px; + border-bottom:1px dotted #333333; + font-family:'Droid Serif', Times, serif; + font-size:12px; + font-weight:normal; + font-style:italic; + letter-spacing:0.1em; +} +h1.archive strong { + font-style:normal; + text-transform:uppercase; +} + +/* Pages +--------------------------------------------- */ +#page { + margin-bottom:50px; + padding:0px 0px 6px 0px; + border-bottom:1px dotted #333333; +} +#page h1 { + padding:0px 0px 20px 0px; + font-size: 20px; + line-height:26px; +} +#page h2 { + font-size: 16px; + line-height:23px; +} +#page p { + padding:0px 0px 15px 0px; + font-size: 14px; + line-height:23px; +} +#page p small { + font-size: 13px; +} + +/* FLOATS CLEARING +--------------------------------------------- */ +.clear { + clear:both; + display:block; + overflow:hidden; + visibility:hidden; + width:0; + height:0; +} +.clearfix:after { + clear:both; + content:' '; + display:block; + font-size:0; + line-height:0; + visibility:hidden; + width:0; + height:0 +} diff --git a/hangar/tag.php b/hangar/tag.php new file mode 100644 index 0000000..46d93ac --- /dev/null +++ b/hangar/tag.php @@ -0,0 +1,83 @@ + + +
    +
    + +
    + + + + +

    + + + + + +
    > +

    + + + +


    + + +

    + + '' ) ); ?> + +



    + + + + + | + + + + | + + +

    +
    + + + + + + + + + + + + + +

    +
    +

    ppoiopiopio +
    + + +
    + + + + +
    + + + diff --git a/hangar/taxonomy.php b/hangar/taxonomy.php new file mode 100644 index 0000000..0fb1f80 --- /dev/null +++ b/hangar/taxonomy.php @@ -0,0 +1,40 @@ + +
    +
    +
    + +

    ' . $term->name . '' ); ?>

    + + + +
    +
    +
    + + \ No newline at end of file
    +
    + +
    + + + + +

    found_posts; ?> %s', 'hangar' ), '' . get_search_query() . '' ); ?>

    + + + + + +
    > +

    + + + +


    + + +

    + + '' ) ); ?> + +



    + + + + + | + + + + | + + +

    +
    + + + + + + + + + + + +

    +
    +

    +
    + + +
    + + + + +
    + + + \ No newline at end of file diff --git a/hangar/seccions.php b/hangar/seccions.php new file mode 100644 index 0000000..94fc1be --- /dev/null +++ b/hangar/seccions.php @@ -0,0 +1,97 @@ + + + + +
    +
    + + + + +
    > + +
    +

    + + +

    + +
    + + + '; + global $more; + $more = 0;//The code must be inserted ahead of the call to the content + the_content('Continue Reading'); + $more = true; + echo '
    ';*/ ?> + + + + '' ) ); ?> +
    +
    + + + + + +

    + +

    + + + + + query('posts_per_page=-1&post_type=page&orderby=menu_order&order=asc&post_parent=' . $pare ); + ?> + + have_posts()) : ?> + '; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++; + if ($pare == 2) : //artistes residents post=2 + $tipus = 'art'; + elseif ($pare == 46565) : //artistes residents estada curta post=46565 + $tipus = 'art'; + elseif ($pare == 46572) : //artistes amb beca post=46572 + $tipus = 'art'; + elseif ($pare == 136) : //desc+arregues post=136 + $tipus = 'desc'; + elseif ($pare == 74) : //equip post=74 + $tipus = 'equip'; + elseif ($pare == 40378) : //patronat post=40378 + $tipus = 'equip'; + else: + $tipus = 'pag'; + endif; + ?> + + + + + + +

    + +

    + + +
    +