
- Change archives templates to be clean and present a simple list of all articles - Banner : add bottom margin to space the content - Banner : add specific condition for page, categories and tags respectively DISPLAY_PAGES_ON_MENU, DISPLAY_CATEGORIES_ON_MENU, DISPLAY_TAGS_ON_MENU so the user can fine tune what appears in the menu - Banner : add condition on SITEAVATAR to not display it if it's not defined. Default is None.
191 lines
3.3 KiB
CSS
191 lines
3.3 KiB
CSS
:root {
|
|
--color-darkest: #404040;
|
|
--color-lighter-orange: #ffbf81;
|
|
--color-light-orange: #ffab5a;
|
|
--color-dark-orange: #bc6817;
|
|
--color-darker-orange: #894504;
|
|
--color-darker-red: #801F00;
|
|
--color-dark-red: #B62E03;
|
|
--color-lighter-red: #FF8862;
|
|
--color-light-red: #FF693A;
|
|
--color-base-red: #F43F06;
|
|
--color-darker-purple: #58004D;
|
|
--color-dark-purple: #7E026F;
|
|
--color-base-purple: #A90495;
|
|
--color-lightest-purple: rgb(225, 198, 225);
|
|
--color-lighter-purple: #CD4FBE;
|
|
--color-light-purple: #B72AA6;
|
|
--color-darker-yellow: #805900;
|
|
--color-dark-yellow: #B68003;
|
|
--color-base-yellow: #F4AD06;
|
|
--color-light-yellow: #FFC43A;
|
|
--color-lighter-yellow: #FFD062;
|
|
}
|
|
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--color-darkest);
|
|
color: var(--color-lightest-purple);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-base-yellow);
|
|
}
|
|
|
|
a:hover, .menu-item:hover > a {
|
|
color: var(--color-light-yellow);
|
|
}
|
|
|
|
a:active, .menu-item:active > a {
|
|
color: var(--color-lighter-yellow);
|
|
}
|
|
|
|
.info {
|
|
display: inline-block;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
footer {
|
|
font-size: 0.6em;
|
|
text-align: center;
|
|
width: 50%;
|
|
margin: auto;
|
|
border-top-style: solid;
|
|
border-top-width: 3px;
|
|
border-top-color: var(--color-base-purple);
|
|
}
|
|
|
|
.banner a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.banner h2 {
|
|
text-align: center;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
hr {
|
|
color: var(--color-darkest-purple);
|
|
width: 200px;
|
|
}
|
|
|
|
.site-header {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.logo {
|
|
display: block;
|
|
height: 100px;
|
|
border: solid 1px var(--color-darkest);
|
|
border-radius: 50%;
|
|
margin: auto;
|
|
}
|
|
|
|
.banner {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
padding: 30px 0;
|
|
color: var(--color-light-red);
|
|
background: linear-gradient(22deg, var(--color-darker-purple) 0%, var(--color-darker-red) 20%, var(--color-darker-yellow) 100%);
|
|
border-bottom-color: var(--color-base-red);
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 5px;
|
|
}
|
|
|
|
menu {
|
|
width: 80%;
|
|
padding: 0;
|
|
margin: auto;
|
|
}
|
|
|
|
.menu-item {
|
|
display: inline-block;
|
|
padding: 5px;
|
|
background-color: var(--color-darker-purple);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
[aria-current]:not([aria-current="false"]) {
|
|
font-weight: bold
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background-color: var(--color-base-purple);
|
|
}
|
|
|
|
.menu-item:active {
|
|
background-color: var(--color-light-purple);
|
|
}
|
|
|
|
menu ul, nav ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
menu li, nav li {
|
|
display: inline;
|
|
}
|
|
|
|
.title {
|
|
font-size: 2.6em;
|
|
}
|
|
|
|
.title-block {
|
|
margin: 20px;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: auto;
|
|
text-align: center;
|
|
color: var(--color-lighter-red);
|
|
}
|
|
|
|
.content {
|
|
width: 80%;
|
|
margin: auto;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
row-gap: 10px;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.meta {
|
|
list-style-type: none;
|
|
border-left: solid 1px var(--color-base-purple);
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.meta {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.meta em {
|
|
color: var(--color-base-yellow);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin: 10px 0px;
|
|
}
|
|
|
|
h1.article {
|
|
background-color: var(--color-base-red);
|
|
color: var(--color-darker-purple);
|
|
border: solid 1px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
article img {
|
|
width: 100%;
|
|
}
|