summaryrefslogtreecommitdiffstats
path: root/site/css
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-04-27 04:37:38 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-04-27 04:37:38 (EDT)
commit91b937c2241c5b319d42c5ea424b60058390634d (patch)
treeac11fe9e7bd8bbfad13b609fdf9343d103789424 /site/css
parenteca5ebdf9cb63bbe7fcd6a916f2db5b8e8895d94 (diff)
downloadlibreboot.org-91b937c2241c5b319d42c5ea424b60058390634d.zip
libreboot.org-91b937c2241c5b319d42c5ea424b60058390634d.tar.gz
libreboot.org-91b937c2241c5b319d42c5ea424b60058390634d.tar.bz2
Embed Lato font in CSS
Diffstat (limited to 'site/css')
-rw-r--r--site/css/main.css16
1 files changed, 14 insertions, 2 deletions
diff --git a/site/css/main.css b/site/css/main.css
index 2d3b62c..fce79c1 100644
--- a/site/css/main.css
+++ b/site/css/main.css
@@ -15,10 +15,21 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* Webfont: Lato-Regular */
+@font-face {
+ font-family: 'nicefont';
+ src: url('Lato-Regular.eot');
+ src: url('Lato-Regular.eot?#iefix') format('embedded-opentype'),
+ url('Lato-Regular.woff') format('woff'),
+ url('Lato-Regular.ttf') format('truetype');
+ font-style: normal;
+ font-weight: normal;
+ text-rendering: optimizeLegibility;
+}
body {
background:#f4f4f4;
color:#2B2B2B;
- font-family:Lato,sans-serif;
+ font-family: 'nicefont', Fallback, lato, sans-serif;
font-size:0.92em;
font-weight:400;
padding:0px;
@@ -59,9 +70,10 @@ p, aside, li {
a {
color:#2B2BAA;
font-size:1.1em;
+ text-decoration:underline;
}
a:hover {
- text-decoration:none;
+ text-decoration:underline;
}
h1,h2,h3 {
margin-bottom:0.2em;