Permalink
Browse files

Preparations for release

* Fixed logo position on iPad / Safari
* Fixed background size on iPad
* Fixed TOC links on Markup / Privacy pages when using small screen
* Fixed changing language back to english causing form invalid error
  • Loading branch information...
1 parent f69e220 commit 99c51abcb2fb45a395ca6165587ee0dc2fa35a72 @Kroc committed May 3, 2012
Showing with 16 additions and 12 deletions.
  1. +4 −1 HISTORY.txt
  2. +1 −1 README.txt
  3. +1 −1 start.php
  4. +10 −9 themes/greyscale/theme.css
View
@@ -1,10 +1,13 @@
-v19
+v19 03.MAY.12
* Translation support
- Themes can provide their own translations and admins can add more themselves easily
+ (no translations are provided with NNF, yet, this release just adds support)
- Browser language is auto-detected, user can select one, and a default can be set by the admin
- Markup.txt removed, moved to a themed / translatable page
- Privacy policy added (also translatable)
- Translations for 'about.html' can be provided with 'about_en.html' where 'en' is the language code
+ - Page titles on index / thread / append & delete cannot be translated just yet,
+ support for this will be added in a later release
* Fixed a long-standing bug that caused page boundaries (i.e. posts per page) to be incorrectly calculated
* Fixed incompaitbility with Windows servers involving page numbers in URLs. '+' is now used instead of ':'
* Fixed bug with stickies not showing if no non-sticky threads exist (with thanks to "Sani")
View
@@ -191,7 +191,7 @@ See LICENCE.txt for licence details
* Richard van Velzen - subfolder support / other fixes,
additional markup implementation
* "Fyra" - UTF-8 fix for templates
-* "Sani" - Bugs
+* "Sani" - Bugs
* The users of Camen Design Forum <forum.camendesign.com>
for testing and support
View
@@ -184,7 +184,7 @@
: THEME_LANG))
);
//don’t treat language choice as an invalid form error
-if (@$_POST['lang']) unset ($_POST);
+if (isset ($_POST['lang'])) unset ($_POST);
/* send HTTP headers
@@ -14,14 +14,16 @@ header, nav, section, article, /* this doesn’t get set on browsers without an
html, body {width: 100%; margin: 0; padding: 0; border: 0; color: #888;}
html {font: 16px/20px Corbel, "URW Gothic L", "Liberation Sans", "Trebuchet MS", sans-serif;
- background: white url("img/bg.png") fixed repeat-x bottom center; word-wrap: break-word;
+ background: #ddd url("img/bg.png") fixed repeat-x top center; word-wrap: break-word;
/* CSS3 gradients for browsers that support it: */
/* Chrome / Safari */ background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#ddd));
/* Chrome10+ Saf5+ */ background-image: -webkit-linear-gradient(white, #ddd);
/* FF3.6+ */ background-image: -moz-linear-gradient(white, #ddd);
/* IE10 */ background-image: -ms-linear-gradient(white, #ddd);
/* Opera 11.10+ */ background-image: -o-linear-gradient(white, #ddd);
/* future! */ background-image: linear-gradient(white, #ddd);
+ /* fix iPad stretching the gradient the height of the whole page, rather than the screen */
+ background-size: 1024px 768px;
/* for IE6, which doesn't support PNG transparency, we won’t use a gradient background so
that the fallback background colours in the PNG files compensate. (I used TweakPNG to
manually insert a background colour for IE6 into the 32-bit PNGs) */
@@ -69,11 +71,8 @@ pre, code, samp {font: 12.5px/20px Monaco, Consolas, "Liberation Mono", monosp
#mast h1 {position: absolute; left: 0; right: 0; height: 60px; margin: 0; padding: 0;
_width: 125%; /*< IE6 has to override the 80% with a reverse %'age gain */
font-size: 32px; line-height: 40px; background: #222;}
-#mast h1 a {display: block; padding: 10px 0; color: #f7f6f7;
- /* we can't use left-padding as this element is centered with a % width and
- IE<8 don't support changing the box-model */
- text-indent: 60px;}
-#mast h1 a img {position: absolute; margin: 4px 0 0 -45px; border: none;}
+#mast h1 a {display: block; padding: 10px 0; color: #f7f6f7;}
+#mast h1 a img {float: left; margin: 4px 13px 0 15px; border: none;}
#mast nav {padding-top: 80px;}
@@ -213,7 +212,7 @@ article p {padding: 20px 0 0 0;}
#nnf_replies h1 {background-image: url("img/replies.png");}
-article header {height: 38px; line-height: 38px; margin: -1px -20px 0; padding: 1px 20px;
+article header {line-height: 20px; margin: -1px -20px 0; padding: 10px 20px 9px;
border-bottom: 1px dotted #444;
color: #888; background: #ccc;}
@@ -265,7 +264,9 @@ p.appended {color: #888; padding-top: 19px;
#markup header ol, /* table of contents */
#privacy header ol {margin: 0; padding: 0;}
#markup header li,
- #privacy header li {display: inline; padding: 0 20px 0 0;}
+ #privacy header li {display: inline; padding: 0 20px 0 0;
+ /* do not line-break in the middle of a link on small screens, like mobiles */
+ white-space: nowrap; }
/* input forms
@@ -390,7 +391,7 @@ h1 {font-size: 20px !important;}
#mast h1 {height: 80px; padding: 0; line-height: 20px; min-height: 40px;}
#mast h1 a {/* fit the logo in tighter */
width: auto; margin: 0; padding: 10px 0 0 55px; text-indent: 0;}
-#mast h1 a img {margin-top: -6px;}
+#mast h1 a img {margin-left: -45px; margin-top: -6px;}
/* re-position the search field below the title */
#search {float: left; height: 35px; margin: 45px 0 0 0; padding: 0 20px 10px 40px;

0 comments on commit 99c51ab

Please sign in to comment.