Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
![logo](./assets/1000x600(light).jpg)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./assets/1000x600(dark).jpg">
<source media="(prefers-color-scheme: light)" srcset="./assets/1000x600(light).jpg">
<img alt="logo" src="./assets/1000x600(dark).jpg">
</picture>

This is the site at https://semver.org/ that describes the Semantic Versioning specification.

Expand Down
20 changes: 12 additions & 8 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ CSS for semver.org
@link http://mathiasbynens.be/
*/

:root {
color-scheme: light dark;
}

h1,
h2,
ol,
Expand All @@ -22,8 +26,8 @@ body {
margin: 0 auto;
padding: 0 10%;
max-width: 710px;
color: #000;
background-color: #fff;
color: light-dark(#000,#ccc);
background-color: light-dark(#ccc,#111);
}

pre {
Expand Down Expand Up @@ -60,11 +64,11 @@ html[dir="rtl"] h3 {
}

a {
color: #009;
color: light-dark(#009,#66f);
}
a:hover,
a:focus {
color: #000;
color: light-dark(#000,#ccc);
}
ol,
ul {
Expand Down Expand Up @@ -98,7 +102,7 @@ p {
/* Nav */

ul.nav {
background-color: #333;
background-color: light-dark(#333,#ccc);
list-style-type: none;
margin: 0;
padding: 0.5em 0;
Expand All @@ -113,18 +117,18 @@ ul.nav li {
}

ul.nav li a {
color: white;
color: light-dark(#fff,#000);
}

ul.lang {
background-color: white;
background-color: light-dark(#fff,#000);
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

ul.lang li a {
color: black;
color: light-dark(#000,#fff);
}

/* Anchor Link styling */
Expand Down