Skip to content

Commit 069fa6c

Browse files
committed
made asgi homepage styles more consistent with doc styles
1 parent 2ab81c9 commit 069fa6c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

piccolo/apps/asgi/commands/templates/starlette/home/templates/base.html.jinja_raw

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>ASGI</title>
77
<link rel="icon" href="/static/favicon.ico" />
8+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
89

910
<style>
1011
body, html {
@@ -13,7 +14,7 @@
1314
}
1415
body {
1516
background-color: #f0f0f0;
16-
font-family: sans-serif;
17+
font-family: 'Open Sans', sans-serif;
1718
}
1819
div.hero {
1920
background-color: #4C89C8;
@@ -22,10 +23,11 @@
2223
}
2324
div.hero h1 {
2425
color: white;
26+
font-weight: normal;
2527
text-align: center;
2628
}
2729
section {
28-
padding-bottom: 1rem;
30+
padding-bottom: 2rem;
2931
}
3032
div.content {
3133
background-color: white;
@@ -36,6 +38,10 @@
3638
padding: 2rem;
3739
transform: translateY(-4rem);
3840
}
41+
div.content h2 {
42+
font-weight: normal;
43+
border-bottom: 4px solid #f0f0f0;
44+
}
3945
p.code {
4046
background-color: #2b2b2b;
4147
color: white;

0 commit comments

Comments
 (0)