From 79489e3382ce56ade491c2d2f35b9175ddd1e25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Tue, 14 Mar 2017 10:59:47 +0200 Subject: [PATCH] Homepage|Web: Changed font to Source Sans Pro --- web2/theme/stylesheets/site.css | 11 ++++++----- web2/theme/stylesheets/topbar.css | 2 +- webapi/1/build_page.css | 13 ++++++++----- webapi/1/builds.php | 6 +++--- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/web2/theme/stylesheets/site.css b/web2/theme/stylesheets/site.css index e2f29eb0b4..83ba52668b 100644 --- a/web2/theme/stylesheets/site.css +++ b/web2/theme/stylesheets/site.css @@ -1,12 +1,13 @@ -@import url("http://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,700"); +@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400italic,700"); @import url("topbar.css"); body { background: #282D2B url("../images/site-background0.jpg") no-repeat fixed; background-position: center 100%; background-size: 200% 200%; - font-family: "Open Sans"; + font-family: "Source Sans Pro"; font-weight: 400; + font-size: 14pt; color: #ddd; margin: 0; } @@ -35,7 +36,7 @@ body { } #content { - max-width: 60em; + max-width: 51em; margin: 1em auto 0 auto; } @media only screen and (max-width: 640px) { @@ -138,7 +139,7 @@ body { width: 450px; float: right; margin-left: 2em; - margin-bottom: 2em; + margin-bottom: 3em; } #features .heading { text-transform: uppercase; @@ -149,7 +150,7 @@ body { } #features article { float: right; - width: 55%; + width: 54%; font-size: 90%; } #feature-image { diff --git a/web2/theme/stylesheets/topbar.css b/web2/theme/stylesheets/topbar.css index 230c5a18bf..696e587b65 100644 --- a/web2/theme/stylesheets/topbar.css +++ b/web2/theme/stylesheets/topbar.css @@ -5,7 +5,7 @@ width: 100%; padding: 0.5ex 0; background-color: rgba(0, 0, 0, 0.5); - font-family: "Open Sans", sans-serif; + font-family: "Source Sans Pro", sans-serif; font-size: 12pt; } #dengine-topbar ul.site-navigation { diff --git a/webapi/1/build_page.css b/webapi/1/build_page.css index e98624ee99..17ee22af3a 100644 --- a/webapi/1/build_page.css +++ b/webapi/1/build_page.css @@ -1,6 +1,7 @@ body { - font-family: "Open Sans"; - max-width: 80ex; + font-family: "Source Sans Pro"; + font-size: 13pt; + max-width: 85ex; margin-left: auto; margin-right: auto; padding-left: 1em; @@ -41,7 +42,7 @@ ul { color: #666; } a { - color: black; /*#070;*/ + color: black; text-decoration: none; } a:hover { @@ -74,7 +75,7 @@ div.build { border: 1px solid #bbb; background-color: #eee; border-radius: 1ex; - margin: 0.5ex; + margin: 0.8ex 0.5ex; padding: 1ex; text-align: center; } @@ -175,6 +176,7 @@ div.fileinfo a { } div.hash .digits { font-family: monospace; + font-size: 80%; } a.signature { color: #777; @@ -226,8 +228,9 @@ ul.commitlist span.author { font-style: italic; } div.other-groups { - display: inline-block; + display: block; vertical-align: text-top; + float: right; } div.other-groups div.tag { display: inline-block; diff --git a/webapi/1/builds.php b/webapi/1/builds.php index f0b4371105..6247463d0d 100644 --- a/webapi/1/builds.php +++ b/webapi/1/builds.php @@ -72,7 +72,7 @@ function generate_header($page_title) cache_echo("\n"); cache_echo("\n"); cache_echo(" \n"); - cache_echo(" \n"); + cache_echo(" \n"); cache_echo(" \n"); cache_echo(" $page_title\n"); cache_echo("\n"); @@ -202,9 +202,9 @@ function generate_build_page($number) $subject = htmlspecialchars($commit->subject); $author = htmlentities($commit->author); $msg = basic_markdown(htmlentities($commit->message)); - cache_echo("
  • $date " + cache_echo("
  • $others$date " ."$subject " - ."by $author".$others + //."by $author" ."
    $msg
  • \n"); } cache_echo("\n");