Update design

This commit is contained in:
Chris Dill 2024-10-17 11:26:46 +01:00
parent 0cd35ad084
commit edd0f40e17
6 changed files with 81 additions and 69 deletions

@ -6,7 +6,12 @@
<meta name="theme-color" content="#1f2124" />
<meta name="description" content="Software development team" />
<link rel="stylesheet" href="/css/styles.css" />
<link rel="icon" type="image/png" href="/images/favicon.ico" />
<link
rel="icon"
type="image/png"
href="/images/favicon.png"
sizes="96x96"
/>
<link rel="preload" as="image" href="/images/bluenebula.webp" />
%sveltekit.head%
</head>

@ -17,11 +17,6 @@
</header>
<style>
a {
font-size: 1rem;
text-align: center;
}
nav {
display: flex;
justify-content: space-between;
@ -39,15 +34,19 @@
margin-top: 8px;
margin-bottom: 8px;
padding: 0;
gap: 20px;
}
ul li a {
a {
margin: 0;
border-bottom: 2px solid transparent;
color: var(--link-color);
text-decoration: none;
transition: color 0.1s linear;
padding: 4px 12px;
text-align: center;
}
ul li a:hover {
border-bottom: 2px solid var(--line);
a:hover {
border-bottom: 2px solid var(--link-color);
text-decoration: none;
}
</style>

@ -13,7 +13,7 @@
footer {
display: flex;
justify-content: space-between;
border-top: 2px solid var(--border);
border-top: 2px solid var(--border-color);
color: var(--text);
margin-top: 30px;
margin-bottom: 30px;

@ -1,16 +1,16 @@
/* theming */
:root {
--text: #ededed;
--background: #1f2124;
--background: #1a1e22;
--primary: #133b6e;
--secondary: #3869b3;
--accent: #cc99ff;
--highlight: #cc99ff;
}
:root {
--headings: var(--text);
--link: var(--highlight);
--border: #b5b5b5;
--line: #ffffff;
--link: #cc99ff;
--link-hover: #ffffff;
--border-color: var(--accent);
--headings-color: var(--text);
--link-color: var(--highlight);
}
body {
@ -25,19 +25,9 @@ body {
margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5 {
font-weight: 700;
}
html {
font-size: 100%;
} /* 16px */
html {
min-height: 100%;
scroll-behavior: smooth;
font-size: 100%;
} /* 16px */
@ -65,55 +55,52 @@ small {
font-size: 0.667rem; /* 10.72px */
}
hr {
background-color: var(--line);
}
/* layout */
body {
background-color: var(--background);
line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5 {
color: var(--headings);
line-height: 1.2;
h5,
h6 {
margin-top: 24px;
margin-bottom: 8px;
color: var(--headings);
font-weight: bold;
color: var(--headings-color);
line-height: 1.2;
margin-top: 0;
margin-bottom: 0.5rem;
font-weight: 700;
}
header {
padding-top: 4px;
padding-bottom: 4px;
p {
margin-top: 8px;
}
a {
text-decoration: none;
color: var(--link);
transition: color 0.1s linear;
table {
margin-bottom: 1rem;
width: 100%;
border: 0 solid var(--border-color);
border-collapse: collapse;
}
a:hover {
color: var(--link-hover);
text-decoration: none;
td,
th {
padding: 0.25rem 0.5rem;
border-color: inherit;
border-style: solid;
border-width: 1px;
}
th {
text-align: left;
}
thead th {
border-bottom-color: currentColor;
}
.container {
max-width: 800px;
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
padding: 10px;
}
@media (min-width: 576px) {
@ -140,18 +127,39 @@ a:hover {
}
}
.link {
text-decoration: none;
transition: color 0.1s linear;
padding: 4px 12px;
hr {
background-color: var(--border-color);
}
.link:hover {
border-bottom: 2px solid var(--line);
blockquote {
border-left: 4px solid var(--border-color);
margin-left: 0px;
padding-left: 10px;
}
a {
border-bottom: 2px solid transparent;
color: var(--link-color);
text-decoration: none;
}
a:hover {
border-bottom: 2px solid var(--link-color);
text-decoration: none;
}
main {
margin-top: 20px;
color: var(--text);
font-size: 1rem;
}
main img {
max-width: 100%;
}
header {
padding-top: 4px;
padding-bottom: 4px;
}
section {

Binary file not shown.

Before

Width: 48px  |  Height: 48px  |  Size: 15 KiB

BIN
static/images/favicon.png Normal file

Binary file not shown.

After

(image error) Size: 243 KiB