From fe5441af2d0fc68aba43cbf46c8256111faa3c2b Mon Sep 17 00:00:00 2001 From: Sjur Hernes Date: Mon, 28 May 2012 17:21:19 +0200 Subject: [PATCH] artister --- wp-content/plugins/neuf-artist.php | 34 +++++++++++++++++++----- wp-content/themes/studio12/functions.php | 4 +-- wp-content/themes/studio12/style.css | 24 +++++++---------- 3 files changed, 40 insertions(+), 22 deletions(-) diff --git a/wp-content/plugins/neuf-artist.php b/wp-content/plugins/neuf-artist.php index 848bf4c..efea307 100644 --- a/wp-content/plugins/neuf-artist.php +++ b/wp-content/plugins/neuf-artist.php @@ -82,6 +82,7 @@ Create the fields the post type should have global $post; $artist_font = get_post_meta($post->ID, 'studio_artist_font' , true); + $artist_color = get_post_meta($post->ID, 'studio_artist_color' , true); $artist_link = get_post_meta($post->ID, 'studio_artist_link', true); $artist_event = get_post_meta($post->ID, 'studio_artist_event', true); @@ -89,12 +90,12 @@ Create the fields the post type should have echo '
'; + echo "artistfarge:"; + echo '
'; + + + echo 'Event: ID, 'studio_artist_font', true).' '.get_post_meta($event, 'neuf_events_type', true)."\">guid . "\">" . get_the_title() . '

'; + echo '

guid . "\">" . get_the_title() . '

'; } } echo "
"; diff --git a/wp-content/themes/studio12/style.css b/wp-content/themes/studio12/style.css index 87c6eeb..a03c90b 100644 --- a/wp-content/themes/studio12/style.css +++ b/wp-content/themes/studio12/style.css @@ -175,20 +175,16 @@ hr { width: 60%; } .widget .artist :hover { text-decoration: underline; } -.widget .liten a { font-size: 18px;} -.widget .normalliten a { font-size: 21px; } -.widget .normalstor a { font-size: 24px; } -.widget .stor a { font-size: 27px; } -.widget .mega a { font-size: 30px; } -.widget .Konsert a { color: blue; } -.widget .Annet a { color: red; } -.widget .Foredrag a { color: yellow; } -.widget .Klub a { color: green; } -.widget .Quiz a { color: purple; } -.widget .Stand-up a { color: pink; } -.widget .Konkurranse a { color: cyan; } -.widget .Lyntale a { color: magenta; } - +.widget .str1 a { font-size: 18px;} +.widget .str2 a { font-size: 22px; } +.widget .str3 a { font-size: 26px; } +.widget .str4 a { font-size: 30px; } +.widget .str5 a { font-size: 34px; } +.widget .str6 a { font-size: 38px; } +.widget .blueart a { color: rgb(46, 168, 224); } +.widget .redart a { color: rgb(236, 59, 38) ; } +.widget .greenart a { color: rgb(6, 164, 76) ; } +.widget .purpleart a { color: rgb(101, 45, 144); } .post, .event { padding: 1em 2em 0 2em;