Skip to content

Commit e57887b

Browse files
committed
Cleaner style
1 parent 70e7ee2 commit e57887b

File tree

3 files changed

+21
-49
lines changed

3 files changed

+21
-49
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<body>
1515
<header id="header">
1616
<a id="forkme_banner" href="https://github.com/qmlweb">View on GitHub</a>
17-
<h1 id="project_title">QmlWeb</h1>
18-
<h2 id="project_tagline">A QML engine in a web browser.</h2>
17+
<h1 id="title">QmlWeb</h1>
18+
<h2 id="tagline">A QML engine in a web browser.</h2>
1919
<section id="buttons">
2020
<p><a href="https://gitter.im/qmlweb/qmlweb?utm_source=badge&amp;utm_medium=badge&amp;utm_campaign=pr-badge&amp;utm_content=badge"><img src="https://badges.gitter.im/qmlweb/qmlweb.svg" alt="Join the chat at https://gitter.im/qmlweb/qmlweb"></a>
2121
<a href="https://travis-ci.org/qmlweb/qmlweb"><img src="https://travis-ci.org/qmlweb/qmlweb.svg?branch=master" alt="Build Status"></a>

stylesheets/styles.css

+19-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
@import url('../node_modules/normalize.css/normalize.css');
22

3-
/*
43
body {
4+
font-family: 'PT Sans', 'Liberation Sans', 'Calibri', Helvetica, Arial, sans-serif;
5+
font-size: 16px;
6+
line-height: 1.5;
7+
/*
58
display: flex;
69
flex-direction: row;
710
flex-wrap: wrap;
8-
}
911
*/
12+
}
1013

1114
#header {
1215
background: #59b312;
16+
color: #fff;
1317
background-image: url('../node_modules/qmlweb/misc/logo.svg');
1418
background-position: left center;
1519
background-repeat: no-repeat;
@@ -19,8 +23,18 @@ body {
1923
width: 100vw;
2024
}
2125

22-
#project_tagline {
23-
margin-bottom: 0;
26+
#title {
27+
margin: 0;
28+
font-size: 42px;
29+
font-weight: normal;
30+
}
31+
32+
#tagline {
33+
margin: 0;
34+
padding: 10px 0;
35+
font-size: 24px;
36+
font-weight: normal;
37+
letter-spacing: -1px;
2438
}
2539

2640
#buttons {
@@ -58,4 +72,5 @@ iframe {
5872
position: absolute;
5973
bottom: 0;
6074
right: 0;
75+
background: #333;
6176
}

stylesheets/stylesheet.css

-43
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,6 @@ Slate Theme for GitHub Pages
33
by Jason Costello, @jsncostello
44
*******************************************************************************/
55

6-
7-
body {
8-
box-sizing: border-box;
9-
color:#373737;
10-
background: #212121;
11-
font-size: 16px;
12-
font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
13-
line-height: 1.5;
14-
-webkit-font-smoothing: antialiased;
15-
}
16-
17-
h1, h2, h3, h4, h5, h6 {
18-
margin: 10px 0;
19-
font-weight: 700;
20-
font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
21-
letter-spacing: -1px;
22-
}
23-
24-
h1 {
25-
font-size: 36px;
26-
}
27-
28-
h2 {
29-
padding-bottom: 10px;
30-
font-size: 32px;
31-
}
32-
336
a {
347
text-decoration: none;
358
}
@@ -48,19 +21,3 @@ a {
4821
border-bottom-left-radius: 2px;
4922
border-bottom-right-radius: 2px;
5023
}
51-
52-
#project_title {
53-
margin: 0;
54-
color: #fff;
55-
font-size: 42px;
56-
font-weight: 700;
57-
text-shadow: #111 0px 0px 10px;
58-
}
59-
60-
#project_tagline {
61-
color: #fff;
62-
font-size: 24px;
63-
font-weight: 300;
64-
background: none;
65-
text-shadow: #111 0px 0px 10px;
66-
}

0 commit comments

Comments
 (0)