diff options
author | Siri Reiter <siri@jones.dk> | 2012-02-11 19:23:52 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2012-02-11 19:23:52 +0100 |
commit | 9d28ee3b0df800bae94c8d2141eade844a6ad929 (patch) | |
tree | b0cc98154432cb31ab5489e63e82bbe78163a9a2 | |
parent | 63148520699efe3ea6878399a7ab7af7beb9444d (diff) |
Modernize: Fix use branding class (not id). Colorize branding when not link. Add branding and corresponding div template.
-rw-r--r-- | branding.mdwn | 7 | ||||
-rw-r--r-- | local.scss | 3 | ||||
-rw-r--r-- | templates/div.mdwn | 3 |
3 files changed, 12 insertions, 1 deletions
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]] +"""]] @@ -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 @@ +<div <TMPL_IF anchor>id="<TMPL_VAR ESCAPE=HTML anchor>"</TMPL_IF> <TMPL_IF class>class="<TMPL_VAR ESCAPE=HTML class>"</TMPL_IF>> +<TMPL_VAR content><TMPL_VAR content2> +</div> |