Agg. interni

This commit is contained in:
octospacc 2022-08-30 00:35:13 +02:00
parent 878825774b
commit 67ab42db35
9 changed files with 53 additions and 28 deletions

View File

@ -18,13 +18,15 @@ jobs:
- name: Build - name: Build
run: | run: |
sudo apt update sudo apt update
sudo apt install software-properties-common sudo apt install -y software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10 curl git sudo apt update
sudo apt install -y npm python3.10 curl git
curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.10 curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.10
sudo pip3 install lxml sudo pip3 install lxml
sudo npm install -g pug-cli
git clone --depth 1 https://gitlab.com/octtspacc/staticoso git clone --depth 1 https://gitlab.com/octtspacc/staticoso
python3.10 ./staticoso/Source/Build.py ./Scripts/Deploy.GitHub.sh
- name: Deploy - name: Deploy
uses: JamesIves/github-pages-deploy-action@v4 uses: JamesIves/github-pages-deploy-action@v4

View File

@ -1,3 +1,13 @@
#RingsDiv Img,
.CCIcons > Img, .CCIcon {
Display: Inline !Important;
Max-Height: 1em !Important;
Vertical-Align: Sub;
}
.CCIcons > Img, .CCIcon {
Margin-Left: 3px;
}
.BlinkA { .BlinkA {
Animation: BlinkerA 0.25s Step-Start Infinite; Animation: BlinkerA 0.25s Step-Start Infinite;
} }

View File

@ -3,7 +3,8 @@
*--------------------------------------------------------*/ *--------------------------------------------------------*/
:Root { :Root {
--WindowPadding: 4px; --WindowMargin: 4px;
--WindowPadding: 8px;
--WindowBorderSize: 4px; --WindowBorderSize: 4px;
--TitleBarHeight: 32px; --TitleBarHeight: 32px;
@ -28,6 +29,14 @@ Body {
.NoDisplay { .NoDisplay {
Display: None; Display: None;
} }
.Center {
Text-Align: Center;
}
Ul {
Padding-Left: 8px;
Padding-Right: 4px;
}
/*--------------------------------------------------------*/ /*--------------------------------------------------------*/
@ -38,16 +47,16 @@ Body {
*--------------------------------------------------------*/ *--------------------------------------------------------*/
.Window { .Window {
Margin: Var(--WindowPadding); Margin: Var(--WindowMargin);
Border: Solid Var(--WindowBorderSize) Var(--TitleBarBackground); Border: Solid Var(--WindowBorderSize) Var(--TitleBarBackground);
Color: #000000; Color: #000000;
Background: #EEE0FF; Background: #EEE0FF;
} }
.WindowContent { .WindowContent {
Min-Width: Calc(100% + Var(--WindowPadding)*2 + Var(--WindowBorderSize)*2); Min-Width: Calc(100% + Var(--WindowMargin)*2 + Var(--WindowBorderSize)*2);
Padding: Calc(Var(--WindowPadding)*2); Padding: Calc(Var(--WindowPadding)*2);
Overflow-Y: Auto; Overflow-Y: Auto;
Margin-Left: Calc(0px - Var(--WindowPadding) - Var(--WindowBorderSize)); Margin-Left: Calc(0px - Var(--WindowMargin) - Var(--WindowBorderSize));
Margin-Top: Var(--WindowBorderSize); Margin-Top: Var(--WindowBorderSize);
Color: #000000; Color: #000000;
Background: #EEE0FF; Background: #EEE0FF;
@ -58,7 +67,7 @@ Body {
} }
.TitleBar { .TitleBar {
Padding: Var(--WindowPadding); Padding: Var(--WindowMargin);
Color: Var(--TitleBarForeground); Color: Var(--TitleBarForeground);
Background: Var(--TitleBarBackground); Background: Var(--TitleBarBackground);
Vertical-Align: Top; Vertical-Align: Top;
@ -81,7 +90,7 @@ Body {
Background: Var(--TaskBarBackground); Background: Var(--TaskBarBackground);
Position: Fixed; Position: Fixed;
Bottom: 0px; Bottom: 0px;
Padding: Var(--WindowPadding); Padding: Var(--WindowMargin);
Min-Height: Var(--TaskBarHeight); Min-Height: Var(--TaskBarHeight);
Max-Height: Var(--TaskBarHeight); Max-Height: Var(--TaskBarHeight);
Z-Index: 256; Z-Index: 256;
@ -152,7 +161,7 @@ Body {
Z-Index: 16; Z-Index: 16;
} }
#MainWindow .WindowContent { #MainWindow .WindowContent {
Max-Height: Calc(90vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding)); Max-Height: Calc(90vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowMargin));
} }
#TitlesWindow { #TitlesWindow {
@ -164,7 +173,11 @@ Body {
Z-Index: 8; Z-Index: 8;
} }
#TitlesWindow .WindowContent { #TitlesWindow .WindowContent {
Max-Height: Calc(60vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding)); Max-Height: Calc(60vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowMargin));
}
#TitlesWindow .WindowContent Ul Li, .TaskBarMenu Ul Li {
List-Style-Type: None !Important;
} }
/*--------------------------------------------------------*/ /*--------------------------------------------------------*/

View File

@ -75,9 +75,6 @@ article #title span, article #title img {
margin: 2px 0px 0px 0px; margin: 2px 0px 0px 0px;
padding: 2px; padding: 2px;
} }
#ContentInfo br {
Display: None;
}
/* Article content */ /* Article content */
article .e-content { article .e-content {

View File

@ -39,6 +39,8 @@ Body {
Color: Transparent !Important; Color: Transparent !Important;
} }
/*--------------------------------------------------------*/ /*--------------------------------------------------------*/
@ -141,16 +143,6 @@ A:Hover:Not(
Margin-Bottom: -4px; Margin-Bottom: -4px;
} }
#RingsDiv Img,
.CCIcons > Img, .CCIcon {
Display: Inline !Important;
Max-Height: 1em !Important;
Vertical-Align: Sub;
}
.CCIcons > Img, .CCIcon {
Margin-Left: 3px;
}
Details > Summary:hover { Details > Summary:hover {
Font-Size: 15pt; Font-Size: 15pt;
} }

View File

@ -10,7 +10,7 @@ python3 ../staticoso/Source/Build.py \
# Spacc # Spacc
" #\ " #\
#--GemtextOut=True #\ #--DiffBuild="True" \
#--SitemapOut=True \ #--GemtextOutput=True #\
#--MastodonURL="https://botsin.space" \ #--MastodonURL="https://botsin.space" \
#--MastodonToken="$MastodonToken" #--MastodonToken="$MastodonToken"

6
Scripts/Deploy.GitHub.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
python3.10 ./staticoso/Source/Build.py \
--SiteDomain="https://sitoctt.octt.eu.org" \
--FolderRoots="{'*':'https://octtspacc.gitlab.io'}" \
--DynamicParts="{'Head':['Twemoji.html'], 'Footer':['StatCounter.html']}"

View File

@ -6,8 +6,7 @@ python3 ./staticoso/Source/Build.py \
--DynamicParts="{'Head':['Twemoji.html'], 'Footer':['StatCounter.html']}" \ --DynamicParts="{'Head':['Twemoji.html'], 'Footer':['StatCounter.html']}" \
--MastodonURL="https://botsin.space" \ --MastodonURL="https://botsin.space" \
--MastodonToken="$MastodonToken" \ --MastodonToken="$MastodonToken" \
--SitemapOut=True \ --GemtextOutput=True \
--GemtextOut=True \
--GemtextHeader="\ --GemtextHeader="\
# sitoctt # sitoctt
Alcune informazioni importanti sono disponibili su: Alcune informazioni importanti sono disponibili su:

View File

@ -3,7 +3,13 @@ Name = ✨sitoctt✨
BlogName = blogoctt BlogName = blogoctt
Template = sitoctt.html Template = sitoctt.html
Lang = it Lang = it
[Categories]
Uncategorized = Fritto-Misto
[Minify]
Minify = True Minify = True
KeepComments = True
[Markdown] [Markdown]
Exts = ('attr_list', 'def_list', 'footnotes', 'markdown_del_ins', 'md_in_html', 'mdx_subscript', 'mdx_superscript', 'tables') Exts = ('attr_list', 'def_list', 'footnotes', 'markdown_del_ins', 'md_in_html', 'mdx_subscript', 'mdx_superscript', 'tables')