From 0bee2fc4e5305e601fe3a6c7efeda6390280909c Mon Sep 17 00:00:00 2001 From: SultanOfSauce Date: Fri, 5 Apr 2024 15:05:28 +0200 Subject: [PATCH] Slider + tooltip completati --- .../Luxor_Obelisk__Paris-removebgl.png | Bin luxor400_fin.xcf => Misc/luxor400_fin.xcf | Bin archetypes/CCMP.md | 16 - archetypes/DR.md | 16 - config-old.toml | 104 ------ server/about/index.html | 342 ------------------ themes/memento/LICENSE | 20 - themes/memento/layouts/partials/footer.html | 5 +- themes/memento/static/css/slider.css | 57 ++- themes/memento/static/css/style.css | 6 +- .../pix/{desertile_03.png => deserttile.png} | Bin .../static/pix/{obelisk2.png => obelisk.png} | Bin .../static/pix/{Tileset4.png => wall.png} | Bin themes/memento/theme.toml | 21 +- 14 files changed, 70 insertions(+), 517 deletions(-) rename Luxor_Obelisk__Paris-removebgl.png => Misc/Luxor_Obelisk__Paris-removebgl.png (100%) rename luxor400_fin.xcf => Misc/luxor400_fin.xcf (100%) delete mode 100644 archetypes/CCMP.md delete mode 100644 archetypes/DR.md delete mode 100644 config-old.toml delete mode 100644 server/about/index.html delete mode 100644 themes/memento/LICENSE rename themes/memento/static/pix/{desertile_03.png => deserttile.png} (100%) rename themes/memento/static/pix/{obelisk2.png => obelisk.png} (100%) rename themes/memento/static/pix/{Tileset4.png => wall.png} (100%) diff --git a/Luxor_Obelisk__Paris-removebgl.png b/Misc/Luxor_Obelisk__Paris-removebgl.png similarity index 100% rename from Luxor_Obelisk__Paris-removebgl.png rename to Misc/Luxor_Obelisk__Paris-removebgl.png diff --git a/luxor400_fin.xcf b/Misc/luxor400_fin.xcf similarity index 100% rename from luxor400_fin.xcf rename to Misc/luxor400_fin.xcf diff --git a/archetypes/CCMP.md b/archetypes/CCMP.md deleted file mode 100644 index ca4bc2a..0000000 --- a/archetypes/CCMP.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "CCMP: {{ replace .Name "-" " " | title }}" -date: {{ .Date }} -description: "" -draft: true -comments: false -showShare: false -norss: false -nosearch: false -toc: false -tags: -- CCMP -categories: - ---- - diff --git a/archetypes/DR.md b/archetypes/DR.md deleted file mode 100644 index 68fe37c..0000000 --- a/archetypes/DR.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "[DR] De Rebus: {{ replace .Name "-" " " | title }}" -date: {{ .Date }} -description: "" -draft: true -comments: false -showShare: false -norss: false -nosearch: false -toc: false -tags: -- DR -categories: - ---- - diff --git a/config-old.toml b/config-old.toml deleted file mode 100644 index 330a554..0000000 --- a/config-old.toml +++ /dev/null @@ -1,104 +0,0 @@ -#baseURL = "https://memento.theforbidden.link/" -baseURL = "" -theme = ["hugo-ficurinia"] -title = "Obelisco Digitale" -languageCode = "it" -defaultContentLanguage = "it" -enableEmoji = true - -# this will be included in the footer after the current year the site is last -# built, followed by the (c) symbol -# you can use markdown inside this field -copyright = "" - - -[params] - author = "Adriano Sepe" - description = "Un'eterno flusso di coscienza'" # this will be added as metadata - - posts = "/posts" # content directory where to find home page posts; default searches in "posts" and "post" - showPostsLink = true # show or hide the link to the simple post list - extraContentDirs = ["about/"] # other content directories to render similarly to the home page - showcaseDir = "showcase/" # create a content directory that shows a special showcase section in the home page - - # shows a specified single page as a home page, instead of the traditional articles list - # requires setting `homeSinglePage` - # goes well with extraContentDirs - showSinglePageAsHome = true - homeSinglePage = "/home" - - # It's best to put these icons in the "static" folder of your site - logo = "/obelisk.png" - favicon = "/favicon.png" # 32x32 - faviconIco = "/favicon.ico" # 32x32 - appletouch = "/apple-touch-icon.png" # 180x180 - svgicon = "/obelisk.png" - icon512 = "/icon512.png" # 512x512 png image - - logoRightOfTitle = false # positions the logo to the right of the title; default: false - - showTags = true # show the Tags menu item; default true - showRss = true # show the link for the RSS feed; default true - - imageInArticlePreview = false # show images in article preview; default false - fitImageInArticlePreview = false # make article preview images fit the article preview instead of getting cropped - articleSummary = false # show a summary in article preview; default true - - fontFamily = "Finlandica" # changes the font, default "JetBrains Mono" - titleFontFamily = "Labrada" # font used for titles and headings - monospaceFontFamily = "JetBrains Mono" # changes the monospace font for code, default "JetBrains Mono" - - # multipliers applied to font sizes, useful for custom fonts that may be too big or too small - titleFontSizeMultiplier = 1.2 - mainFontSizeMultiplier = 1.1 - monoFontSizeMultiplier = 1.0 - - contentWidth = "1920px" # maximum width of the site content, css syntax - - paperCards = false # enable paper card style; default false - buttonTags = true # enable button tag style; default false - tagsInArticlePreview = true # enable tags list in the article preview card - gridView = false # show post list as a grid. goes well with paperCards - bigArticleTitle = true # makes the title in the single article view bigger - navtype = "circles" # changes the style of the pagination, available styles are: "standard", "circles" - enableShadow = false # shows a shadow around some elements - menuStyle = "buttons" # changes the style of the main site navigation menu, available styles are: "standard", "buttons" - - enableSearch = true # enable search page - searchbarEverywhere = true # if the searchbar should be shown in every page; requires enableSearch - searchMenuLink = false # add a search link to the navigation menu; requires enableSearch - mobileHamburgerNav = true # alternative hamburger menu layout for the main nav menu when screen is small - - enableFeatured = false # enable a particular view for articles marked as featured (featured: true in the article frontmatter) - - underlineTitleLinks = true # show an underline also for links that are titles - - enableShareOnFediverse = false # enable a button at the end of an article to share it on the fediverse - tocBeforeImage = false # show the table of contents before the main article image; default false - - # alternative sidebar layout - enableSidebarLayout = true - tocInSidebar = false # if the sidebar is enbabled, show the TOC in the sidebar - - # redirect to baseURL if current URL host doesn't match - # useful if deploying in gitlab pages with custom domain and don't want - # the username.gitlab.io/website url to persist - # this requires you to set baseURL (see above) - forceRedirect = false - -[menu] - # these links will be added to the main navigation menu, sorted by weight - # other elements in this menu are added automatically from the "pages" folder - # the folder it will look into can be customized with the pages variable - # in params above - [[menu.main]] - identifier = "categorie" - name = "Categorie" - url = "/categories/" - weight = 10 - [[menu.icons]] - identifier = "email" - name = "Email" - url = "mailto:webmaster@obeliscodigitale.online" - weight = 20 - diff --git a/server/about/index.html b/server/about/index.html deleted file mode 100644 index 763756e..0000000 --- a/server/about/index.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - - - - - - - - - - - About – - - Obelisco Digitale - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - Logo - - - -
- - - -
- - - - - - -
-
-
-
-
- -

About

- - - - - -

Ciao, se sei qui è perché vuoi più informazioni su questo sito.

-

Come scritto anche nella breve descrizione di questo sito, i post che carico qui non sono altro che pensieri e ricordi più o meno personali. Cercherò per quanto possibile di aggiungere tag intelligenti per ogni post, ed inoltre volevo cercare di introdurre una serie di rubriche per quando voglio parlare di argomenti ricorrenti. Di seguito una descrizione delle rubriche in questo sito; Ovviamente questa sezione verrà aggiornata gradualmente.

-

Rubriche

-
    -
  • -

    Cose Che Mi Piacciono (CCMP)

    -
  • -
-

Una rubrica sulle cose che mi piacciono. Si parla di musica, videogame o cose che in generale mi sconfinferano. L’obiettivo è semplicemente quello di tenere traccia dei miei gusti nel tempo.

-
    -
  • -

    Sondering Individuals (SI)

    -
  • -
-

Persone sconosciute che hanno lasciato il segno. La storia di incontri avvenuti una volta e che voglio ricordare.

-
    -
  • -

    De Rebus (Sulle cose) (DR)

    -
  • -
-

Riflessioni su argomenti più o meno filosofici.

-
    -
  • -

    Come Va? (CV)

    -
  • -
-

“Adri, come va?”

-
    -
  • -

    Eventi (E)

    -
  • -
-

Storie di cose che mi sono accadute.

-
    -
  • -

    Miscellanea

    -
  • -
-

To do (aggiunto qui perché non voglio creare altre sezioni)

-
    -
  • Aggiungere un contatore per il numero di visitatori (Se mi puoi aiutare contattami!);
  • -
  • Se necessario, aggiungere un pulsantino per le donazioni al fine di tenere i costi di hosting.
  • -
-

Licensing etc.

-

I font utilizzati sono Finlandica per il testo normale e Labrada per i titoli, entrambi disponibili su Google Fonts.

-

Sto inoltre utilizzando il tema Ficurinia come indicato nel footer.

-
-
- - - - - - -
-
-
-
- - - - diff --git a/themes/memento/LICENSE b/themes/memento/LICENSE deleted file mode 100644 index 20ffcb4..0000000 --- a/themes/memento/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2024 YOUR_NAME_HERE - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/memento/layouts/partials/footer.html b/themes/memento/layouts/partials/footer.html index a55aeda..96b2ee9 100644 --- a/themes/memento/layouts/partials/footer.html +++ b/themes/memento/layouts/partials/footer.html @@ -1,6 +1,7 @@
diff --git a/themes/memento/static/css/slider.css b/themes/memento/static/css/slider.css index 925aa3d..9aaf4b6 100644 --- a/themes/memento/static/css/slider.css +++ b/themes/memento/static/css/slider.css @@ -23,7 +23,7 @@ .slider { box-sizing: border-box; border: 1px solid var(--main-color); - box-shadow: 0px 4px var(--main-color); + box-shadow: 0px 4px 0px var(--main-color); position: absolute; cursor: var(--pointercur), pointer; top: 0; @@ -36,6 +36,7 @@ black ); transition: 0.2s; + transition-timing-function: ease-in-out; } .slider:before { @@ -53,6 +54,60 @@ background-color: var(--bg-color); box-shadow: 0 3px 0 var(--main-color); transition: 0.2s; + transition-timing-function: ease-in-out; + } + + .slider .tooltiptext { + visibility: hidden; + white-space: nowrap; + height: 20px; + margin: 5px; + padding: 5px; + background-color: #F7F3E3; + color: #191102; + text-align: center; + border: solid; + border-width: 1px; + border-color: #191102; + font-family: Heal The Web A; + + /* Position the tooltip */ + position: absolute; + z-index: 1; + left: 110%; + top: -7px; + opacity: 0; + transition: .3s; + } + + .slider:hover .tooltiptext { + visibility: visible; + opacity: 1; + + box-shadow: 0px 8px 0px var(--main-color); + top: -15px; + } + + .slider .tooltiptext::before { + content: " "; + position: absolute; + top: calc(50% - 1px); + right: 100%; /* To the left of the tooltip */ + margin-top: -5px; + border-width: 6px; + border-style: solid; + border-color: transparent var(--main-color) transparent transparent; + } + + .slider .tooltiptext::after { + content: " "; + position: absolute; + top: 50%; + right: 100%; /* To the left of the tooltip */ + margin-top: -5px; + border-width: 5px; + border-style: solid; + border-color: transparent var(--bg-color) transparent transparent; } .font-toggle:checked + .slider { diff --git a/themes/memento/static/css/style.css b/themes/memento/static/css/style.css index b39af44..b04f9ba 100644 --- a/themes/memento/static/css/style.css +++ b/themes/memento/static/css/style.css @@ -10,10 +10,10 @@ --link: #A81ADB; --defcur: url("../curdark/cursor-pointer-1-dark.png"); --pointercur: url("../curdark/cursor-pointer-18-dark.png"); - --desertbg: url("../pix/desertile_03.png"); + --desertbg: url("../pix/deserttile.png"); --sand: url("../pix/sand.png"); - --obelisk: url("../pix/obelisk2.png"); - --wall: url("../pix/Tileset4.png"); + --obelisk: url("../pix/obelisk.png"); + --wall: url("../pix/wall.png"); --bg: linear-gradient(0deg, #53F4FF 0%, #85F7FF 33%, #ADFAFF 66%); --bg-repeats: no-repeat, repeat-x, repeat, no-repeat; --clouds: url("../pix/cloudtiling.png"); diff --git a/themes/memento/static/pix/desertile_03.png b/themes/memento/static/pix/deserttile.png similarity index 100% rename from themes/memento/static/pix/desertile_03.png rename to themes/memento/static/pix/deserttile.png diff --git a/themes/memento/static/pix/obelisk2.png b/themes/memento/static/pix/obelisk.png similarity index 100% rename from themes/memento/static/pix/obelisk2.png rename to themes/memento/static/pix/obelisk.png diff --git a/themes/memento/static/pix/Tileset4.png b/themes/memento/static/pix/wall.png similarity index 100% rename from themes/memento/static/pix/Tileset4.png rename to themes/memento/static/pix/wall.png diff --git a/themes/memento/theme.toml b/themes/memento/theme.toml index 80a32de..f731502 100644 --- a/themes/memento/theme.toml +++ b/themes/memento/theme.toml @@ -1,21 +1,16 @@ # theme.toml template for a Hugo theme # See https://github.com/gohugoio/hugoThemes#themetoml for an example -name = "ExampleTheme" -license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" -description = "" -homepage = "http://example.com/" +name = "Memento" +license = "-" +licenselink = "-" +description = "-" +homepage = "-" tags = [] features = [] -min_version = "0.41.0" +min_version = "1.00.0" [author] - name = "" - homepage = "" + name = "Adriano" + homepage = "obelisco.digital" -# If porting an existing theme -[original] - name = "" - homepage = "" - repo = ""