Index: css_newlayout2.php =================================================================== --- /dev/null +++ css_newlayout2.php @@ -0,0 +1,528 @@ + or ?color=%23 - Text color +// ?background= or ?background=%23 - Background color +// ?link= or ?link=%23 - link color +// ?color&background&link - use browser colors only +// ?mode=print - print stylesheet +// ?mode=flat - show menu at the bottom, not at the left +// ?site-image= - use a customised image in the header + +// New-web-style colors: +$white = '#ffffff'; +$grey_f = '#f9f9f9'; +$orange = '#f7800a'; +$light_grey = '#eeeeee'; +$grey_d = '#bcbcbc'; +$dark_orange ='#cf4913'; +$grey_c = '#cccccc'; +$mid_grey = '#888888'; +$middle_red = '#800000'; +$dark_grey = '#535353'; +$light_blue = '#4d88c3'; +$blue_grey = '#2f6fab'; +$blue = '#0057ae'; +$grape_violet3 = '#644A9B'; +$black = '#000000'; + +?> +/* +** HTML elements +*/ + +body { + background: url("http://cdn.kde.org/img/bg.png") repeat; + margin: 0; + padding: 0; + font-size: 13px; + font-family: "Noto Sans",Verdana, Geneva, Arial, sans-serif; + line-height: 1.3; +} + + +/* +** HTML Tags +*/ + +h1, h2, h3, h4 +{ + padding: 0; + text-align: left; + + +} +h1 { + font-size: 1.7em; +} + +h2 { + font-size: 1.5em; +} + +h3 { + font-size: 1.4em; +} + +h4 { + font-size: 1.3em; + font-weight: bold; +} + +h5 { + font-size: 1.2em; +} + +a:link { + padding-bottom: 0; + text-decoration: none; + +} + +a:visited { + padding-bottom: 0; + text-decoration: none; + +} + + +a[href]:hover { + text-decoration: underline; +} + +hr { + margin: 0.3em 1em 0.3em 1em; + height: 1px; + + border-width: 0 0 1px 0; +} + +pre { + display: block; + margin: 0.3em; + padding: 0.3em; + font-size: 1em; + + + + border-width: 1px; + overflow: auto; + line-height: 1.1em; +} + +input, textarea, select { + margin: 0.2em; + padding: 0.1em; + + + border: 1px solid; +} + +blockquote { + margin: 0.3em; + padding-left: 2.5em; + +} + +del { + + text-decoration: line-through; +} + +dt { + font-weight: bold; + font-size: 1.05em; + +} + +dd { + margin-left: 1em; +} + +p { + margin-top: 0.5em; + margin-bottom: 0.9em; + text-align: justify; +} +fieldset { + +} + +li { + text-align: left; +} + +fieldset { + margin-bottom: 1em; + padding: .5em; +} + +form { + margin: 0; + padding: 0; +} + +hr { + height: 1px; + + + margin: 0.5em 0 0.5em 0 ; +} + +img { + border: 0; +} +table { + border-collapse: collapse; + font-size: 1em; +} +th { + text-align: left; + padding-right: 1em; + + border-width: 0 0 3px 0; +} + + +/* +** Header +*/ +#header { + + +} + +#header_top { + margin: 0 auto; + padding: 0; + + vertical-align: middle; + +} + +#header_top div { + margin: auto; + padding: 0; + +} + +#header_top div div { + margin: 0 auto; + padding: 0; + vertical-align: middle; + text-align: left; + max-width:1200px; + font-size: 1.7em; + font-weight: bold; +} + +#header_top div div img { + margin:8px 0px 9px 18px; + vertical-align: middle; +} + +#header_bottom { + + margin: auto; + padding: 0.1em 0em 0.3em 0; + + vertical-align: middle; + text-align: right; + max-width: 1200px; +} + +#location { + padding: 0 0 0 1.5em; + text-align: left; + line-height: normal; + font-size: 1.1em; + +} + +#location ul { + display: inline; + margin: 0; + padding: 0; + list-style: none; +} + +#location ul li { + display: inline; + white-space : nowrap; + margin: 0; + padding: 0 1em 0 0; +} + +#menu { + margin: 0 1.5em 0 0; + text-align: right; + line-height: normal; + font-size: 1.1em; + font-weight: bold; +} + +#menu ul { + display: inline; + list-style: none; + margin: 0; + padding: 0; + text-align: right; +} + +#menu ul li { + display: inline; + white-space : nowrap; + margin: 0; + padding: 0 0 0 1em; + text-align: right; +} + +.here a:link, .here a:visited { + text-decoration:underline; +} + +.here ul a:link, .here ul a:visited { + text-decoration:none; +} + +#menu ul li a { + font-weight: bold; +} + + +/* +** Content +*/ + +#content { + +} + +#main { + /* padding in px not ex because IE messes up 100% width tables otherwise */ + padding-left: 10px; + text-align: left; +} + +#body_wrapper { + margin: auto; + + max-width:1200px; +} + +#right { + + margin: 0; + padding: 0; + +} + +/* These are date cells on the front page. */ +td.cell_date { + + +} + +#hotspot, .sideimage { + + margin: 1ex 1em; + clear: right; +} + +.belowimage, h1, h2, h3, h4, h5 { + clear: right; +} + + +/* +** Left Menu +*/ + +#left { + + + margin: 0; + padding: 0; + + max-width:300px; +} + +.menu_box { + padding: 0.7em 0 0 0; +} + +.menu_box ul { + text-align: left; +} + +.menu_box li { + list-style-type: none; + text-align: left; + margin-left: -1.5em; +} + +.menu_box ul ul { +margin: 0; +padding-left: 0; +} + +.menu_box li li { +margin-left: 1em; +} + +.menu_box .active{ + +} + +.menutitle { + margin: 0.6em 0 1.2em 0; + padding:0; + + +} +.menutitle div { + margin: 0; + padding:0; +} +.menutitle div h2 { + margin: 0; + padding: 0.2em 0 0.3em 1.3em; + line-height:1.2em; + font-size: 120%; + font-weight: normal; + +} +.menutitle div h2 a { + +} +.clearer { + clear: both; + height: 1px; +} + + +/* +** Footer +*/ +#footer { + + + +} + +#footer_text { + margin: 0 auto; + padding: 1em 0 1em 3.5em; + + text-align: left; + +} + +#footer a:link, #footer a:visited { + + font-weight: bold; +} + +#quicklinks { +font-size: 1em; +padding: 1em; +text-align: center; +margin-top: 0.5em; +margin-left: 0.2em; +margin-bottom: 0.5em; +margin-right: 0.2em; +} + +.content .contents { + text-align: left; +} + +/* +** Credits +*/ +table.credit tr { +vertical-align:top; +} + +table.credit td { +border-bottom: 1px solid #cccccc; +} + + Index: images/kde-white.svg =================================================================== --- /dev/null +++ images/kde-white.svg @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Index: images/kde.svg =================================================================== --- /dev/null +++ images/kde.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Index: includes/newlayout2/template-bottom1.inc =================================================================== --- /dev/null +++ includes/newlayout2/template-bottom1.inc @@ -0,0 +1,19 @@ + + + + +
+ "; // between the menu section title and the list of pages + $template_menulist3 = ""; // after the list of pages + + $template_menusublist1 = ""; // before each link to a (sub)page with shown (sub)subpages + $template_menusublist2 = ""; // between the link to a (sub)page and its list of (sub)subpages + $template_menusublist3 = ""; // after each list of subpages + + $template_menuitem1 = ""; // before each link to a (sub)page without shown (sub)subpages + $template_menuitem2 = ""; // after each link to a (sub)page without shown (sub)subpages +?> Index: includes/newlayout2/template-bottom2.inc =================================================================== --- /dev/null +++ includes/newlayout2/template-bottom2.inc @@ -0,0 +1,157 @@ +$name
\n"; + else + $contact = i18n_var("Maintained by The KDE Webmaster
\n"); + if (!isset($legalLink)) + $legalLink = "http://www.kde.org/contact/impressum.php"; +?> + + + +
+ + + +"; +?> + +

+ +
+ " name="Button" id="searchButton" /> +

+ + + 1) + { +?> + + +
+

+

+ + " id="languageButton" /> +
+

+
+ + + + +

+

');"> + + + + " /> + + + + + + € + +
+

+ + +
+ +
+ +
+ +
+ + + + + + + + + + + Index: includes/newlayout2/template-header.inc =================================================================== --- /dev/null +++ includes/newlayout2/template-header.inc @@ -0,0 +1,46 @@ + + + + + + + + + +"; + print ""; + } else { + print ""; + print ""; + } + + if (isset($rss_feed_link)) + print "\n"; + if (isset($rss_feed2_link)) + print "\n"; + + $cssparameters = ""; + + if (file_exists ("$document_root/css.inc")) { + # Possibilities: doc_root is what the server uses, too, so this site + # is in the root of a (v)host. Fine. Otherwise, maybe we're in a + # subdir and need to include our css.inc from that subdir starting + # from the server's doc root (since css.php uses the server's doc root). + if ( $document_root == $_SERVER ['DOCUMENT_ROOT'] ) + $inc = "/"; + else if ( $_SERVER ['DOCUMENT_ROOT'] == substr($document_root, 0, strlen( $_SERVER ['DOCUMENT_ROOT'] )) ) + $inc = substr($document_root,strlen( $_SERVER ['DOCUMENT_ROOT'] )); + else $inc = "/"; + $cssparameters .= "&css-inc=" . $inc; + } +?> + + + + + + + Index: includes/newlayout2/template-top1.inc =================================================================== --- /dev/null +++ includes/newlayout2/template-top1.inc @@ -0,0 +1,46 @@ + + +
+ + +
+
+ +