Skip to content

Commit c355fb6

Browse files
committed
styling
1 parent abf4a86 commit c355fb6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

website/src/components/Logo.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { title } = Astro.props
44

55
<img src="/logo.jpg" alt="logo" height="200" class="logo" />
66

7-
<h1>{title}</h1>
7+
<h1 set:html={title} />
88

99
<div class="icons">
1010
<a href="https://github.com/hyperknot/openfreemap" target="_blank"

website/src/content/index/rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ I waited for years for someone to offer this service but realized that no one wa
2222

2323
I'll share more about the reasons in a future [blog post](https://blog.hyperknot.com/). Feel free to subscribe.
2424

25-
## How can this work? How can a one-person project offer unlimited map hosting for free?
25+
## How can this work (both financially and technically)?
2626

2727
There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. It's true that serving hundreds of millions of files is not easy, but at the end of the day, they are just files.
2828

website/src/pages/quick_start.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Donate from '../components/Donate.astro'
1313
---
1414

1515
<Layout title="OpenFreeMap Quick Start Guide">
16-
<Logo title="OpenFreeMap Quick Start Guide" />
16+
<Logo title="OpenFreeMap<br>Quick Start Guide" />
1717

1818
<div class="container" style="margin-top:30px; margin-bottom: 30px;">
1919
<p>

website/src/styles/global.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,19 @@ hr {
108108
text-decoration: none;
109109
color: white;
110110
font-weight: bold;
111-
letter-spacing: 0.1rem;
112-
font-size: 20px;
111+
letter-spacing: 0.05rem;
112+
font-size: 18px;
113113
border-radius: 20px;
114-
padding: 20px 0;
115-
margin: 5em auto;
116-
width: 300px;
114+
padding: 15px 0;
115+
margin: 2em auto 5em;
116+
width: 230px;
117117
text-align: center;
118-
background: linear-gradient(32deg, #fdb900, transparent) #f441a5;
118+
background: linear-gradient(32deg, #0070a2, transparent) #59c15a;
119119
transition: background-color 1s;
120120

121121
&:hover,
122122
&:focus {
123-
background-color: #03a9f4;
123+
background-color: #dea31d;
124124
}
125125
}
126126

0 commit comments

Comments
 (0)