Commit 1cac3886 by Félicie

font family and green color

parent 30b3fa6e
...@@ -451,7 +451,7 @@ function qa_admin_page_error() ...@@ -451,7 +451,7 @@ function qa_admin_page_error()
*/ */
function qa_admin_url_test_html() function qa_admin_url_test_html()
{ {
return '; font-size:9px; color:#060; font-weight:bold; font-family:arial,sans-serif; border-color:#060;">OK<'; return '; font-size:9px; color:#060; font-weight:bold; font-family:"Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; border-color:#060;">OK<';
} }
......
...@@ -36,7 +36,7 @@ header('Content-type: text/html; charset=utf-8'); ...@@ -36,7 +36,7 @@ header('Content-type: text/html; charset=utf-8');
<title>Question2Answer Language Check</title> <title>Question2Answer Language Check</title>
<style> <style>
body { body {
font-family: arial; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-size: 12px; font-size: 12px;
} }
code {font-size: 125%;} code {font-size: 125%;}
......
...@@ -7,7 +7,7 @@ body ...@@ -7,7 +7,7 @@ body
{ {
/* Font */ /* Font */
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */ /* Emoji fonts are added to visualise them nicely in Internet Explorer. */
font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-size: 12px; font-size: 12px;
/* Text color */ /* Text color */
...@@ -31,7 +31,7 @@ body ...@@ -31,7 +31,7 @@ body
blockquote blockquote
{ {
font-style: italic; font-style: italic;
font-family: Georgia, Times, "Times New Roman", serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
padding: 2px 0; padding: 2px 0;
border-style: solid; border-style: solid;
border-color: #ccc; border-color: #ccc;
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
/* General page layout */ /* General page layout */
body {background:#cfd1c4; margin:0; padding:0; text-align:center;} body {background:#cfd1c4; margin:0; padding:0; text-align:center;}
body,td,input,textarea {font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif;} body,td,input,textarea {font-size:12px; font-family:"Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;}
a:link,a:active,a:visited {text-decoration:none;} a:link,a:active,a:visited {text-decoration:none;}
a:hover {text-decoration:underline;} a:hover {text-decoration:underline;}
p {margin-top:0;} p {margin-top:0;}
.qa-notice {background:#fdd; border-bottom:2px solid #293d39; color:#b00; font-size:18px; padding:.5em 32px; font-weight:bold; position:relative;} .qa-notice {background:#fdd; border-bottom:2px solid #00A473; color:#b00; font-size:18px; padding:.5em 32px; font-weight:bold; position:relative;}
.qa-notice-close-button {font-family:"Arial Black"; color:#c00; font-size:20px; background:none; cursor:pointer; position:absolute; height:24px; border:none; top:4px; right:6px} .qa-notice-close-button {font-family:"Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; color:#c00; font-size:20px; background:none; cursor:pointer; position:absolute; height:24px; border:none; top:4px; right:6px}
.qa-body-wrapper {background:#fff; border:1px solid #293d39; width:980px; margin: -1px auto 0; text-align:left;} .qa-body-wrapper {background:#fff; border:1px solid #00A473; width:980px; margin: -1px auto 0; text-align:left;}
/* Ajax loading spinner */ /* Ajax loading spinner */
...@@ -67,7 +67,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -67,7 +67,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Page sections */ /* Page sections */
.qa-header {padding:10px 20px 0 20px; border-bottom:2px solid #293d39;} .qa-header {padding:10px 20px 0 20px; border-bottom:2px solid #00A473;}
.qa-sidepanel {float:right; width:176px; margin-right:18px; word-wrap:break-word;} .qa-sidepanel {float:right; width:176px; margin-right:18px; word-wrap:break-word;}
* html .qa-sidepanel {margin-right:10px;} /* IE6 */ * html .qa-sidepanel {margin-right:10px;} /* IE6 */
.qa-sidebar {padding:12px; font-size:14px; background:#f5e4c3; border:1px solid #f3c772; margin:24px 0;} .qa-sidebar {padding:12px; font-size:14px; background:#f5e4c3; border:1px solid #f3c772; margin:24px 0;}
...@@ -75,7 +75,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -75,7 +75,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-feed-link {font-size:10px; color:#666;} .qa-feed-link {font-size:10px; color:#666;}
.qa-main {padding-left:20px; float:left; margin-bottom:2em; width:750px; clear:left; overflow:hidden;} .qa-main {padding-left:20px; float:left; margin-bottom:2em; width:750px; clear:left; overflow:hidden;}
.qa-main-hidden h1 {color:#999;} .qa-main-hidden h1 {color:#999;}
.qa-footer {clear:both; background:#293D39; color:#FFF; font-size:10px; padding:12px;} .qa-footer {clear:both; background:#00A473; color:#FFF; font-size:10px; padding:12px;}
* html .qa-footer {padding-top:6px;} /* IE6 */ * html .qa-footer {padding-top:6px;} /* IE6 */
/* Widget wrappers */ /* Widget wrappers */
...@@ -92,13 +92,13 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -92,13 +92,13 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Header sections */ /* Header sections */
.qa-logo {float:left; margin-bottom:16px; font-size:40px; font-weight:bold; color:#293d39;} .qa-logo {float:left; margin-bottom:16px; font-size:40px; font-weight:bold; color:#00A473;}
.qa-logo-link, .qa-logo-link:hover {color:#293d39;} .qa-logo-link, .qa-logo-link:hover {color:#00A473;}
.qa-nav-user {float:right; font-size:14px; color:#293D39; white-space:nowrap;} .qa-nav-user {float:right; font-size:14px; color:#00A473; white-space:nowrap;}
.qa-nav-user-list {list-style:none; padding:0; margin:0; display:inline;} .qa-nav-user-list {list-style:none; padding:0; margin:0; display:inline;}
.qa-nav-user-item {display:inline; margin-left:12px; font-weight:bold;} .qa-nav-user-item {display:inline; margin-left:12px; font-weight:bold;}
.qa-nav-user-link {color:#293d39;} .qa-nav-user-link {color:#00A473;}
.qa-logged-in {display:inline;} .qa-logged-in {display:inline;}
.qa-search {float:right; clear:right; margin-top:12px; white-space:nowrap;} .qa-search {float:right; clear:right; margin-top:12px; white-space:nowrap;}
...@@ -111,7 +111,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -111,7 +111,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-nav-main-item,.qa-nav-main-item-opp {border-top:1px solid #1f2e2b; border-left:1px solid #1f2e2b; border-right:1px solid #1f2e2b;} .qa-nav-main-item,.qa-nav-main-item-opp {border-top:1px solid #1f2e2b; border-left:1px solid #1f2e2b; border-right:1px solid #1f2e2b;}
.qa-nav-main-item {float:left; margin-right:4px;} .qa-nav-main-item {float:left; margin-right:4px;}
.qa-nav-main-item-opp {float:right; margin-left:4px;} .qa-nav-main-item-opp {float:right; margin-left:4px;}
.qa-nav-main-link {color:#FFF; display:block; padding:6px 10px; background:#293d39;} .qa-nav-main-link {color:#FFF; display:block; padding:6px 10px; background:#00A473;}
.qa-nav-main-link:hover, .qa-nav-main-selected {background:#396e63; text-decoration:none;} .qa-nav-main-link:hover, .qa-nav-main-selected {background:#396e63; text-decoration:none;}
.qa-nav-main-hot .qa-nav-main-link {background:#f33;} .qa-nav-main-hot .qa-nav-main-link {background:#f33;}
.qa-nav-main-hot .qa-nav-main-link:hover, .qa-nav-main-hot .qa-nav-main-selected {background:#f66;} .qa-nav-main-hot .qa-nav-main-link:hover, .qa-nav-main-hot .qa-nav-main-selected {background:#f66;}
...@@ -162,7 +162,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -162,7 +162,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-form-tall-suffix {font-weight:normal; font-size:10px;} .qa-form-tall-suffix {font-weight:normal; font-size:10px;}
.qa-form-tall-error {background:#fee; border:1px solid #c00; color:#c00; font-size:14px; margin-top:6px; padding:.5em; display:inline-block;} .qa-form-tall-error {background:#fee; border:1px solid #c00; color:#c00; font-size:14px; margin-top:6px; padding:.5em; display:inline-block;}
.qa-form-tall-note {margin-top:6px;} .qa-form-tall-note {margin-top:6px;}
.qa-form-tall-note a {color:#293D39; text-decoration:underline;} .qa-form-tall-note a {color:#00A473; text-decoration:underline;}
.qa-form-tall-note a:hover {color:#396E63;} .qa-form-tall-note a:hover {color:#396E63;}
.qa-form-tall-buttons {padding:8px; text-align:center;} .qa-form-tall-buttons {padding:8px; text-align:center;}
...@@ -190,9 +190,9 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -190,9 +190,9 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Standard form (basic version - buttons only) */ /* Standard form (basic version - buttons only) */
.qa-form-basic-button {background:none repeat scroll 0 0 #293D39; border:1px solid #293D39; margin:4px 4px 4px 0; padding:3px 4px; vertical-align:middle;} .qa-form-basic-button {background:none repeat scroll 0 0 #00A473; border:1px solid #00A473; margin:4px 4px 4px 0; padding:3px 4px; vertical-align:middle;}
.qa-form-basic-button {color:#FFF;} .qa-form-basic-button {color:#FFF;}
.qa-form-basic-button:hover {background:#396E63; border:1px solid #293D39; color:#FFF;} .qa-form-basic-button:hover {background:#396E63; border:1px solid #00A473; color:#FFF;}
.qa-form-basic-note {font-size:11px;} .qa-form-basic-note {font-size:11px;}
...@@ -215,7 +215,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;} ...@@ -215,7 +215,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-q-item-buttons {text-align:right; clear:both;} .qa-q-item-buttons {text-align:right; clear:both;}
.qa-suggest-next {font-size:14px; padding:0.5em 0; text-align:left; clear:both;} .qa-suggest-next {font-size:14px; padding:0.5em 0; text-align:left; clear:both;}
.qa-suggest-next a {border:1px solid #1f2e2b; color:#fff; padding:3px 6px; background:#293d39; margin:0 2px;} .qa-suggest-next a {border:1px solid #1f2e2b; color:#fff; padding:3px 6px; background:#00A473; margin:0 2px;}
.qa-suggest-next a:hover {color:#fff; background:#396e63; text-decoration:none;} .qa-suggest-next a:hover {color:#fff; background:#396e63; text-decoration:none;}
/* Votes */ /* Votes */
......
...@@ -175,7 +175,7 @@ h1 { ...@@ -175,7 +175,7 @@ h1 {
margin: 0; margin: 0;
color: #444; color: #444;
font-size: 20px; font-size: 20px;
font-family: Arial,Helvetica,sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-weight: 700; font-weight: 700;
line-height: 1.1em; line-height: 1.1em;
} }
...@@ -186,7 +186,7 @@ h2 { ...@@ -186,7 +186,7 @@ h2 {
padding: 5px 10px !important; padding: 5px 10px !important;
clear: both; clear: both;
background: #eee; background: #eee;
font-family: Arial,Helvetica,sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-weight: 700; font-weight: 700;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 -25px 25px -25px white inset; box-shadow: 0 -25px 25px -25px white inset;
...@@ -389,7 +389,7 @@ input[type="submit"].qa-search-button:hover { ...@@ -389,7 +389,7 @@ input[type="submit"].qa-search-button:hover {
} }
.qa-notice-close-button { .qa-notice-close-button {
font-family: Arial, Tahoma, Sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
color: rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
font-size: 12px; font-size: 12px;
font-weight: 700; font-weight: 700;
...@@ -465,7 +465,7 @@ div.header-banner { ...@@ -465,7 +465,7 @@ div.header-banner {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: Arial,Helvetica,sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
} }
.qa-nav-main-item { .qa-nav-main-item {
...@@ -615,7 +615,7 @@ div.header-banner { ...@@ -615,7 +615,7 @@ div.header-banner {
.entry-title { .entry-title {
color: #000; color: #000;
font-family: Arial,Helvetica,sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-weight: 700; font-weight: 700;
} }
...@@ -1284,7 +1284,7 @@ div.header-banner { ...@@ -1284,7 +1284,7 @@ div.header-banner {
} }
.qa-form-tall-note a { .qa-form-tall-note a {
color: #293D39; color: #00A473;
text-decoration: underline; text-decoration: underline;
} }
...@@ -1558,7 +1558,7 @@ div.header-banner { ...@@ -1558,7 +1558,7 @@ div.header-banner {
} }
.qa-q-item-title a { .qa-q-item-title a {
font-family: Arial,Helvetica,sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
font-weight: 700; font-weight: 700;
line-height: normal; line-height: normal;
} }
...@@ -2397,7 +2397,7 @@ a.qa-browse-cat-link:visited { ...@@ -2397,7 +2397,7 @@ a.qa-browse-cat-link:visited {
background: #eee; background: #eee;
color: #666 !important; color: #666 !important;
font-size: 11px; font-size: 11px;
font-family: Arial, Tahoma, sans-serif; font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
display: inline-block; display: inline-block;
text-decoration: none !important; text-decoration: none !important;
padding: 2px 8px; padding: 2px 8px;
......
...@@ -68,22 +68,22 @@ class qa_html_theme extends qa_html_theme_base ...@@ -68,22 +68,22 @@ class qa_html_theme extends qa_html_theme_base
$this->output_array(array( $this->output_array(array(
"<style>", "<style>",
"@font-face {", "@font-face {",
" font-family: 'Ubuntu'; font-weight: normal; font-style: normal;", " font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-weight: normal; font-style: normal;",
" src: local('Ubuntu'),", " src: local('Ubuntu'),",
" url('{$this->rooturl}fonts/ubuntu-regular.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-regular.woff') format('woff');", " url('{$this->rooturl}fonts/ubuntu-regular.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-regular.woff') format('woff');",
"}", "}",
"@font-face {", "@font-face {",
" font-family: 'Ubuntu'; font-weight: bold; font-style: normal;", " font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-weight: bold; font-style: normal;",
" src: local('Ubuntu Bold'), local('Ubuntu-Bold'),", " src: local('Ubuntu Bold'), local('Ubuntu-Bold'),",
" url('{$this->rooturl}fonts/ubuntu-bold.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-bold.woff') format('woff');", " url('{$this->rooturl}fonts/ubuntu-bold.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-bold.woff') format('woff');",
"}", "}",
"@font-face {", "@font-face {",
" font-family: 'Ubuntu'; font-weight: normal; font-style: italic;", " font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-weight: normal; font-style: italic;",
" src: local('Ubuntu Italic'), local('Ubuntu-Italic'),", " src: local('Ubuntu Italic'), local('Ubuntu-Italic'),",
" url('{$this->rooturl}fonts/ubuntu-italic.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-italic.woff') format('woff');", " url('{$this->rooturl}fonts/ubuntu-italic.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-italic.woff') format('woff');",
"}", "}",
"@font-face {", "@font-face {",
" font-family: 'Ubuntu'; font-weight: bold; font-style: italic;", " font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; font-weight: bold; font-style: italic;",
" src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'),", " src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'),",
" url('{$this->rooturl}fonts/ubuntu-bold-italic.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-bold-italic.woff') format('woff');", " url('{$this->rooturl}fonts/ubuntu-bold-italic.woff2') format('woff2'), url('{$this->rooturl}fonts/ubuntu-bold-italic.woff') format('woff');",
"}", "}",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment