From 9d28ee3b0df800bae94c8d2141eade844a6ad929 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Sat, 11 Feb 2012 19:23:52 +0100 Subject: Modernize: Fix use branding class (not id). Colorize branding when not link. Add branding and corresponding div template. --- branding.mdwn | 7 +++++++ local.scss | 3 ++- templates/div.mdwn | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 branding.mdwn create mode 100644 templates/div.mdwn diff --git a/branding.mdwn b/branding.mdwn new file mode 100644 index 0000000..a3af1f1 --- /dev/null +++ b/branding.mdwn @@ -0,0 +1,7 @@ +[[!template id=div anchor=branding-logo content=""" +[[!img bmlogo.png alt="Birgit Månestråle" link=index]] +"""]] + +[[!template id=div anchor=branding-tagline content=""" +[[Få det godt, bedre eller endnu bedre|index]] +"""]] diff --git a/local.scss b/local.scss index 33ab981..5f2c327 100644 --- a/local.scss +++ b/local.scss @@ -68,12 +68,13 @@ div.pageheader { margin: 10px 0; } -div#branding { +div.branding { display: block; height: 100px; background-image: url(butterfly.png); background-position: 45% 0; background-repeat: no-repeat; + color: $link_color; } div#branding-logo { diff --git a/templates/div.mdwn b/templates/div.mdwn new file mode 100644 index 0000000..709b253 --- /dev/null +++ b/templates/div.mdwn @@ -0,0 +1,3 @@ +
id="" class=""> + +
-- cgit v1.2.3