Rewrote the whole website to get rid on a heavy theme

This commit is contained in:
Julien Dessaux 2021-03-11 18:53:14 +01:00
parent 3ea54810ad
commit 60d3abc6ec
122 changed files with 346 additions and 2558 deletions

26
assets/base.css Normal file
View file

@ -0,0 +1,26 @@
* {
box-sizing: border-box;
}
body {
font-family: open sans,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol;
font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
display: grid;
grid-template-rows: auto 1fr auto;
}
main p {
text-align: justify;
}
nav#TableOfContents ul {
padding: 0;
list-style-type: none;
a + ul {
padding-left:1em;
}
}
@media only screen and (min-width: 60rem) {
body {
max-width:60rem;
margin-left: auto;
margin-right: auto;
}
}

9
assets/footer.css Normal file
View file

@ -0,0 +1,9 @@
footer {
background-color: #30638e;
color: lightgray;
text-align: center;
padding: 10px;
}
footer a {
color: lightgray;
}

32
assets/header.css Normal file
View file

@ -0,0 +1,32 @@
header {
background-color: #30638e;
}
header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
font-size: 1.25rem;
}
header nav ul li {
display: inline;
float: right;
}
header nav ul li a {
display: block;
color: lightgray;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
header nav ul li a:hover {
color: black;
}
.nav-menu-title {
float: left;
text-transform: uppercase;
font-weight: 700;
}
.nav-menu-active {
color: white;
}

17
assets/home.css Normal file
View file

@ -0,0 +1,17 @@
.home-page {
min-height: 80vh;
}
.home-page h1 {
text-align: center;
margin-top: 3rem;
padding-bottom: 1.5rem;
font-size: 3rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: .5rem;
}
.home-page p {
font-size: 1.25rem;
font-weight: 300;
}

36
assets/pagination.css Normal file
View file

@ -0,0 +1,36 @@
.pagination {
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
list-style:none;
border-radius:.25rem;
}
.pagination li a {
border:1px solid rgba(0,0,0,.1);
position:relative;
display:block;
padding:.5rem .75rem;
line-height:1.25;
text-decoration: none;
}
.pagination li:first-child a {
border-top-left-radius:.25rem;
border-bottom-left-radius:.25rem
}
.pagination li:last-child a {
border-top-right-radius:.25rem;
border-bottom-right-radius:.25rem
}
.pagination li a:hover {
color:#1e53a0;
background-color:#eee;
z-index: 999;
}
.pagination-disabled {
color: lightgray;
}
.pagination-active a {
color: white;
background-color: #30638e;
}

View file

@ -1,9 +0,0 @@
/*
Add styles or override variables from the theme here.
*/
p {
text-align: justify;
}