mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
Website design tweaks (#3140)
- Use system sans-serif font, they render better and are familiar (Github use same font stack for instance) - Use weight and spacing to increase heading contrast - match logo colour to tone of type aka less black - table: Increase padding on wider screens for balance - table: Solid border
This commit is contained in:
parent
75ec9426f3
commit
1963587c09
2 changed files with 20 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
Created by potrace 1.15, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
fill="#222" stroke="none">
|
||||
<path d="M4720 9174 c-19 -2 -80 -9 -135 -14 -782 -82 -1552 -413 -2180 -939
|
||||
-116 -96 -380 -360 -476 -476 -520 -621 -824 -1318 -936 -2143 -25 -183 -25
|
||||
-801 0 -984 112 -825 416 -1522 936 -2143 96 -116 360 -380 476 -476 621 -520
|
||||
|
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
@ -49,7 +49,7 @@ body {
|
|||
padding: 0;
|
||||
|
||||
line-height: 1.5;
|
||||
font-family: sans-serif;
|
||||
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
|
||||
|
||||
margin: 5ex 10ex;
|
||||
max-width: 80ex;
|
||||
|
@ -64,10 +64,18 @@ h1,
|
|||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
font-weight: normal;
|
||||
font-weight: 500;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h1:first-child,
|
||||
h2:first-child,
|
||||
h3:first-child,
|
||||
h4:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
@ -82,14 +90,22 @@ table {
|
|||
border-collapse: collapse;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
border: 1px dotted var(--table-border);
|
||||
border: 1px solid var(--table-border);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
td,
|
||||
th {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
|
|
Loading…
Add table
Reference in a new issue