Skip to content

Commit a27cf6d

Browse files
committed
center main copy
1 parent 95481c8 commit a27cf6d

2 files changed

Lines changed: 29 additions & 17 deletions

File tree

index.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,31 @@
99

1010
<body>
1111

12-
<header>
13-
<div class='row3 center'>
12+
<header class='clearfix'>
13+
<div class='center'>
1414
<img src='images/osrm_logo.svg' width='370' height='150'>
1515
</div>
16-
16+
17+
<!-- MOVE INTO CTA spot -->
18+
<!--
1719
<div class='fr'>
18-
<!-- Place this tag where you want the button to render. -->
1920
<a class="github-button" href="https://github.com/Project-OSRM/osrm-backend/fork" data-icon="octicon-git-branch" data-style="mega" data-count-href="/Project-OSRM/osrm-backend/network" data-count-api="/repos/Project-OSRM/osrm-backend#forks_count" data-count-aria-label="# forks on GitHub" aria-label="Fork Project-OSRM/osrm-backend on GitHub">Fork</a>
2021
</div>
21-
22+
-->
2223
</header>
2324

24-
<map class='contain'>
25-
<div class='overlay col12'>
26-
<div class='col6 margin4 space-top12 space-bottom2 title'>
27-
Modern C++ routing engine for shortest paths in road networks.
28-
</div>
29-
<div class='col7 margin5'>
30-
<div class='pad1y margin1 space-top4 button'>VIEW DEMO >></div>
25+
<map class='contain clearfix'>
26+
<div class='overlay'>
27+
28+
<div class='limiter clearfix'>
29+
30+
<div class='col6 margin3 pad4y clearfix'>
31+
<div class='pad2y title '>Modern C++ routing engine for shortest paths in road networks.</div>
32+
<div class='center'><a href='#'><input type='button' class='button' value='VIEW DEMO >>' name='' /></a></div>
33+
</div>
34+
3135
</div>
36+
3237
</div>
3338
</map>
3439

site.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727

2828
.title {
29-
font-family: 'Open Sans Condensed Bold';
29+
font-family: 'Open Sans Condensed Bold';
3030
font-size: 40px;
3131
color: white;
3232
text-align: center;
@@ -48,11 +48,11 @@ color: rgba(100, 82, 207, 0.5);
4848
-------------------------------------------------------- */
4949
.fill-navy { background-color: #28007D; }
5050
.fill-blue { background-color: #5052CF; }
51-
.fill-lavendar { background-color: #B4BDF9; }
51+
.fill-lavendar { background-color: #B4BDF9; }
5252
.fill-teal { background-color: #939CB9; }
53-
.fill-light { background-color: #E6F2FA; }
53+
.fill-light { background-color: #E6F2FA; }
5454
.fill-gold { background-color: #FFCA1B; }
55-
.fill-white { background-color: #fff; }
55+
.fill-white { background-color: #fff; }
5656

5757

5858

@@ -119,6 +119,13 @@ Details: http://www.positioniseverything.net/easyclearing.html
119119
clear:both;
120120
visibility:hidden;
121121
}
122+
123+
.limiter {
124+
width:83.3333%;
125+
max-width:1000px;
126+
margin-left:auto;
127+
margin-right:auto;
128+
}
122129

123130

124131
/* Section Icons
@@ -266,8 +273,8 @@ bdo {
266273
border-width: 3px;
267274
border-color: #FFCA1B;
268275
border-style: solid;
269-
width: 120px;
270276
text-align: center;
277+
background-color: transparent;
271278
}
272279
.button:hover {
273280
background-color: #FFCA1B;

0 commit comments

Comments
 (0)