summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/css/elements/typography.php1
-rw-r--r--views/default/n1_theme/css.php24
-rw-r--r--views/default/n1_theme/landing.php13
3 files changed, 37 insertions, 1 deletions
diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php
index 38198bb..0da353f 100644
--- a/views/default/css/elements/typography.php
+++ b/views/default/css/elements/typography.php
@@ -76,7 +76,6 @@ blockquote {
}
h1, h2, h3, h4, h5, h6 {
- font-weight: bold;
color: #333;
}
diff --git a/views/default/n1_theme/css.php b/views/default/n1_theme/css.php
new file mode 100644
index 0000000..3f27d96
--- /dev/null
+++ b/views/default/n1_theme/css.php
@@ -0,0 +1,24 @@
+#n1-landing {
+ height: 250px;
+ background-image: url('<?php echo elgg_get_site_url(); ?>mod/n1_theme/_graphics/n1.png');
+ background-repeat: no-repeat;
+ display: table;
+ margin: 30px 0 50px 0;
+}
+
+#n1-landing-inner {
+ display: table-cell;
+ vertical-align: middle;
+ padding-left: 220px;
+
+}
+
+#n1-landing-title {
+ font-size: 1.7em;
+ font-weight: bold;
+}
+
+#n1-landing-subtitle {
+ font-size: 1.4em;
+ color: #666;
+}
diff --git a/views/default/n1_theme/landing.php b/views/default/n1_theme/landing.php
new file mode 100644
index 0000000..83132a9
--- /dev/null
+++ b/views/default/n1_theme/landing.php
@@ -0,0 +1,13 @@
+<?php
+
+$title = elgg_echo('n1_theme:landing:title');
+$subtitle = elgg_echo('n1_theme:landing:subtitle');
+
+echo <<<HTML
+<div id="n1-landing">
+<div id="n1-landing-inner">
+<p id="n1-landing-title">$title</p>
+<p id="n1-landing-subtitle">$subtitle</p>
+</div>
+</div>
+HTML;