update css

This commit is contained in:
Simon Vieille 2022-08-04 23:14:17 +02:00
parent 71c0fc582f
commit 2a89840e1f
Signed by: deblan
GPG key ID: 579388D585F70417
5 changed files with 62 additions and 29 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/node_modules/

27
assets/css/app.css Normal file

File diff suppressed because one or more lines are too long

6
build.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
(
cat node_modules/siimple/siimple.css
cat src/app.css
) > assets/css/app.css

View file

@ -4,35 +4,7 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="node_modules/siimple/siimple.css">
<link rel="icon" href="https://gitnet.fr/assets/img/logo.svg" type="image/svg+xml">
<style>
pre, code {
background: #2a2a2a;
color: #e6e6e6;
}
p > code {
padding: 3px;
border-radius: 3px;
}
pre {
padding: 5px 10px;
border-radius: 3px;
}
html {
background: #f6f7f9;
}
.header {
background: #212c41;
color: #f6f7f9;
}
.title:not(:first-child) {
margin-top: 0;
}
</style>
<link rel="stylesheet" href="assets/css/app.css">
<title>Gitnet Pages</title>
</head>
<body>

27
src/app.css Normal file
View file

@ -0,0 +1,27 @@
pre, code {
background: #2a2a2a;
color: #e6e6e6;
}
p > code {
padding: 3px;
border-radius: 3px;
}
pre {
padding: 5px 10px;
border-radius: 3px;
}
html {
background: #f6f7f9;
}
.header {
background: #212c41;
color: #f6f7f9;
}
.title:not(:first-child) {
margin-top: 0;
}