diff --git a/css/nodes.css b/css/nodes.css index c1e4929..d9c5c84 100644 --- a/css/nodes.css +++ b/css/nodes.css @@ -79,3 +79,42 @@ .preview .node /* Preview of the content before submitting new or updated content */ { /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */ } + + +/* ANNOUNCES */ +.announce { + position: relative; + padding: 72px 0px 0px 0px; + margin-bottom:24px; +} + +.field-field-image-announcement { + position: absolute; + top:0; + left: 90px; + width:220px; + overflow: hidden; +} + +.announce-inside { + background: #fcd116; + padding: 24px 24px 24px 330px; + border-radius: 5px 5px 5px 5px; + box-shadow: 0 0 10px #999999; +} + +.announce a.button { + color:white; + font-weight: bold; + display: block; + float:right; + background: maroon; + padding: 2px 5px 2px; + margin-bottom:18px; + position: relative; + top: -2px; + box-shadow: 0px 0px 10px #111; + border-radius: 5px; + text-align: center; + +} diff --git a/fscons.info b/fscons.info index adca8d2..e263f3f 100644 --- a/fscons.info +++ b/fscons.info @@ -1,6 +1,6 @@ ; The name and description of the theme used on the admin/build/themes page. name = FSCONS theme -description = Read the online docs or the included README.txt on how to create a Zen sub-theme. +description = Drupal theme for FSCONS, the Free Society Conference and nordic summit ; The screenshot used on the admin/build/themes page. screenshot = screenshot.png diff --git a/templates/node-announce.tpl.php b/templates/node-announce.tpl.php new file mode 100644 index 0000000..0321f3a --- /dev/null +++ b/templates/node-announce.tpl.php @@ -0,0 +1,84 @@ + +
diff --git a/templates/node-announcement.tpl.php b/templates/node-announcement.tpl.php new file mode 100644 index 0000000..8263cf0 --- /dev/null +++ b/templates/node-announcement.tpl.php @@ -0,0 +1,81 @@ + + diff --git a/templates/node.tpl.php b/templates/node.tpl.php new file mode 100644 index 0000000..9aba644 --- /dev/null +++ b/templates/node.tpl.php @@ -0,0 +1,104 @@ + +