Skip to content

Commit

Permalink
Homepage|Web: Changed font to Source Sans Pro
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 24, 2017
1 parent 7a71efc commit 79489e3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
11 changes: 6 additions & 5 deletions 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;
}
Expand Down Expand Up @@ -35,7 +36,7 @@ body {
}

#content {
max-width: 60em;
max-width: 51em;
margin: 1em auto 0 auto;
}
@media only screen and (max-width: 640px) {
Expand Down Expand Up @@ -138,7 +139,7 @@ body {
width: 450px;
float: right;
margin-left: 2em;
margin-bottom: 2em;
margin-bottom: 3em;
}
#features .heading {
text-transform: uppercase;
Expand All @@ -149,7 +150,7 @@ body {
}
#features article {
float: right;
width: 55%;
width: 54%;
font-size: 90%;
}
#feature-image {
Expand Down
2 changes: 1 addition & 1 deletion web2/theme/stylesheets/topbar.css
Expand Up @@ -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 {
Expand Down
13 changes: 8 additions & 5 deletions 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;
Expand Down Expand Up @@ -41,7 +42,7 @@ ul {
color: #666;
}
a {
color: black; /*#070;*/
color: black;
text-decoration: none;
}
a:hover {
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -175,6 +176,7 @@ div.fileinfo a {
}
div.hash .digits {
font-family: monospace;
font-size: 80%;
}
a.signature {
color: #777;
Expand Down Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions webapi/1/builds.php
Expand Up @@ -72,7 +72,7 @@ function generate_header($page_title)
cache_echo("<!DOCTYPE html>\n");
cache_echo("<html lang=\"en\"><head>\n");
cache_echo(" <meta charset=\"UTF-8\">\n");
cache_echo(" <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,700' rel='stylesheet' type='text/css'>\n");
cache_echo(" <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400italic,700' rel='stylesheet' type='text/css'>\n");
cache_echo(" <link href='http://api.dengine.net/1/build_page.css' rel='stylesheet' type='text/css'>\n");
cache_echo(" <title>$page_title</title>\n");
cache_echo("</head><body>\n");
Expand Down Expand Up @@ -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("<li><a href='$github_link'>$date</a> "
cache_echo("<li>$others<a href='$github_link'>$date</a> "
."<span class='title'><a href='$trgit_link'>$subject</a></span> "
."by <span class='author'>$author</span>".$others
//."by <span class='author'>$author</span>"
."<div class='message'>$msg</div></li>\n");
}
cache_echo("</ul>\n");
Expand Down

0 comments on commit 79489e3

Please sign in to comment.