From 6d74c2c594fd00c32f38f5ad8d7dd66e9e58b077 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 21 Jul 2012 23:17:45 -0700 Subject: page templating and css management --- view/default.css | 20 ++++++++++++++++++++ view/full.css | 10 ++++++++++ view/full.php | 14 ++++++++++++++ view/head.tpl | 4 ++-- view/mod_zregister.css | 27 +++++++++++++++++++++++++++ view/theme/duepuntozero/style.css | 30 +----------------------------- 6 files changed, 74 insertions(+), 31 deletions(-) create mode 100644 view/default.css create mode 100644 view/full.css create mode 100644 view/full.php create mode 100644 view/mod_zregister.css (limited to 'view') diff --git a/view/default.css b/view/default.css new file mode 100644 index 000000000..956d8c728 --- /dev/null +++ b/view/default.css @@ -0,0 +1,20 @@ + +nav { + height: 94px; + display: block; +} + +aside { + display: block; + min-height: 112px; + width: 200px; + position: absolute; + float: left; +} + + +section { + padding-left: 250px; + display: block; + min-height: 112px; +} diff --git a/view/full.css b/view/full.css new file mode 100644 index 000000000..5819b6b3a --- /dev/null +++ b/view/full.css @@ -0,0 +1,10 @@ + +nav { + height: 94px; + display: block; +} + +section { + display: block; + min-height: 112px; +} diff --git a/view/full.php b/view/full.php new file mode 100644 index 000000000..c4d62d5cd --- /dev/null +++ b/view/full.php @@ -0,0 +1,14 @@ + + + + <?php if(x($page,'title')) echo $page['title'] ?> + + + + +
+ +
+ + + diff --git a/view/head.tpl b/view/head.tpl index 7e753c022..78e2a2abc 100644 --- a/view/head.tpl +++ b/view/head.tpl @@ -8,8 +8,8 @@ -{{ if $mod_css }} - +{{ if $module_css }} + {{ endif }} diff --git a/view/mod_zregister.css b/view/mod_zregister.css new file mode 100644 index 000000000..160b9ce4b --- /dev/null +++ b/view/mod_zregister.css @@ -0,0 +1,27 @@ + +h2 { + margin-left: 15%; + margin-top: 15%; +} + +#zregister-form { + font-size: 1.4em; + margin-left: 15%; + margin-top: 5%; +} + +.zregister-label { + float: left; + width: 275px; +} + +.zregister-input { + float: left; + width: 275px; + padding: 5px; +} + +.zregister-field-end { + clear: both; + margin-bottom: 20px; +} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 2e1c45fbf..34b57555c 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -87,7 +87,6 @@ blockquote { /* nav */ nav { - height: 94px; display: block; margin: 0px 10%; border-bottom: 1px solid #babdb6; @@ -176,14 +175,11 @@ nav #nav-link-wrapper .nav-link { aside { display: block; min-height: 112px; - width: 200px; margin-left: 10%; padding: 1em; - float: left; background-image: url(border.jpg); background-position: top left; background-repeat: no-repeat; - position: absolute; } #dfrn-request-link { @@ -211,16 +207,13 @@ aside { section { margin: 0px 10%; padding-top: 1em; - padding-left: 250px; padding-right: 1em; - display: block; background-color: #ffffff; background-image: url(border.jpg); background-position: top right; background-repeat: no-repeat; - min-height: 112px; - } + .tabs { height: 27px; background-image: url(head.jpg); @@ -3305,24 +3298,3 @@ ul.menu-popup { left: 5%; width: 90%; } - - -#zregister-form { - font-size: 1.4em; -} - -.zregister-label { - float: left; - width: 275px; -} - -.zregister-input { - float: left; - width: 275px; - padding: 5px; -} - -.zregister-field-end { - clear: both; - margin-bottom: 20px; -} \ No newline at end of file -- cgit v1.2.3