add: page css
This commit is contained in:
parent
c92fc36b40
commit
d96eeb4bef
@ -1,5 +1,5 @@
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import shutil
|
||||||
from progress.bar import Bar
|
from progress.bar import Bar
|
||||||
|
|
||||||
from path import Path
|
from path import Path
|
||||||
@ -49,6 +49,7 @@ def create_pages(pages: list[Page]) -> None:
|
|||||||
def main():
|
def main():
|
||||||
site_path: Path = Path(argument_parsing())
|
site_path: Path = Path(argument_parsing())
|
||||||
pages: list[Page] = scan_pages(site_path.get_dirs())
|
pages: list[Page] = scan_pages(site_path.get_dirs())
|
||||||
|
shutil.copy2("./src/templates/page.css", site_path.get_absolute_path())
|
||||||
create_pages(pages)
|
create_pages(pages)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@ -0,0 +1,64 @@
|
|||||||
|
:root {
|
||||||
|
--bg1: #002b36;
|
||||||
|
--bg2: #073642;
|
||||||
|
--content1: #586e75;
|
||||||
|
--content2: #657b83;
|
||||||
|
--content3: #839496;
|
||||||
|
--content4: #93a1a1;
|
||||||
|
--lbg1: #eee8d5;
|
||||||
|
--lbg2: #fdf6e3;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 50%;
|
||||||
|
background-color: var(--bg1);
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 50px;
|
||||||
|
color: lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
body * {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-container {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-container-element {
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.readme {
|
||||||
|
border: 1px solid;
|
||||||
|
background-color: var(--bg2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.readme-content {
|
||||||
|
margin: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.export,
|
||||||
|
.next {
|
||||||
|
margin-top: 0px;
|
||||||
|
display: block;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.download {
|
||||||
|
margin-top: 10px;
|
||||||
|
background-color: var(--bg2);
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navigation,
|
||||||
|
.meta-image {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user