mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
update docs website
This commit is contained in:
45
website/dist/docs/css/navstyle.css
vendored
45
website/dist/docs/css/navstyle.css
vendored
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* libreevent - navstyle.css
|
||||
*
|
||||
* Created by Janis Hutz 06/17/2023, Licensed under the GPL V3 License
|
||||
* https://janishutz.com, development@janishutz.com
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
.side-nav-container {
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(0, 0, 49);
|
||||
}
|
||||
|
||||
.side-nav-item {
|
||||
width: 90%;
|
||||
padding: 3% 5%;
|
||||
display: block;
|
||||
background-color: rgb(16, 16, 46);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
|
||||
.side-nav-subitem {
|
||||
width: 85%;
|
||||
padding: 2% 5% 2% 10%;
|
||||
display: block;
|
||||
background-color: rgb(16, 16, 46);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.side-dropdown {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.side-nav-item:hover, .side-nav-subitem:hover, .active {
|
||||
background-color: rgb(0, 0, 133);
|
||||
}
|
||||
145
website/dist/docs/css/style.css
vendored
145
website/dist/docs/css/style.css
vendored
@@ -1,4 +1,147 @@
|
||||
#docPage {
|
||||
/*
|
||||
* libreevent - style.css
|
||||
*
|
||||
* Created by Janis Hutz 06/17/2023, Licensed under the GPL V3 License
|
||||
* https://janishutz.com, development@janishutz.com
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: calc(15pt + 0.4vw);
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
background-color: #7c8cec;
|
||||
grid-template-areas:
|
||||
'header header header header header'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'menu main main main main'
|
||||
'footer footer footer footer footer';
|
||||
}
|
||||
|
||||
.title-wrapper {
|
||||
/*
|
||||
TODO: Replace with image
|
||||
*/
|
||||
background-color: white;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 90%;
|
||||
padding: 2%;
|
||||
margin: 3%;
|
||||
margin-bottom: 0%;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 90%;
|
||||
padding: 2%;
|
||||
margin: 3%;
|
||||
border-radius: 0px 0px 50px 50px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#docPage {
|
||||
grid-area: main;
|
||||
overflow: scroll;
|
||||
width: 74vw;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#doc-container {
|
||||
width: 90%;
|
||||
height: 100%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
.dev {
|
||||
background-color: rgb(182, 69, 69, 0.9);
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
#nav {
|
||||
grid-area: header;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
height: 15vh;
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#footer {
|
||||
grid-area: footer;
|
||||
}
|
||||
|
||||
#side-bar {
|
||||
width: 25vw;
|
||||
grid-area: menu;
|
||||
overflow: scroll;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
background-color: rgb(24, 43, 61);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
padding: 40px;
|
||||
padding-bottom: 20px;
|
||||
padding-top: 20px;
|
||||
border-radius: 30px;
|
||||
cursor: pointer;
|
||||
margin: 1.5%;
|
||||
transition: 1s;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
transition: 0.2s;
|
||||
border-radius: 5px;
|
||||
background-color: rgb(60, 85, 140);
|
||||
}
|
||||
|
||||
#backToTop {
|
||||
border-radius: 500px;
|
||||
border-width: 1px;
|
||||
background-color: rgb(34, 72, 143);
|
||||
background-image: url('/assets/up.svg');
|
||||
background-size: cover;
|
||||
width: calc(30px + 0.5vw);
|
||||
height: calc(30px + 0.5vw);
|
||||
padding: 0.2%;
|
||||
float: right;
|
||||
color: white;
|
||||
position: fixed;
|
||||
top: 90%;
|
||||
right: 7%;
|
||||
opacity: 0;
|
||||
cursor: default;
|
||||
transition: 0.5s
|
||||
}
|
||||
|
||||
#backToTop:hover {
|
||||
background-color: rgb(24, 43, 61);
|
||||
width: calc(35px + 0.5vw);
|
||||
height: calc(35px + 0.5vw);
|
||||
transition: 0.2s;
|
||||
}
|
||||
Reference in New Issue
Block a user