/************************************************/ /* Pelican Theme CSS Stuff */ /* */ /* This is everything that can be ported to */ /* any theme that I make that isn't "theme" */ /* so I can change theme stuff a lot! */ /************************************************/ /************************************************/ /* resets */ .post st-link { text-decoration: none; } /************************************************/ /* main */ .tmpl-library .photo_gallery { border: 1px solid var(--base-dark); margin: 0 auto; padding: 1em; } /************************************************/ /* This is the stuff for my reading library */ .wip { width: 150px; opacity: 75%; border: 5px solid #d11586 } .read { width: 150px; } .dnf { width: 150px; opacity: 75%; filter: grayscale(100%); } /************************************************/ /* Gallery TEMPLATE */ /* "sourced" aka copied from - https://www.pagemelt.ink/published/ */ /* I have probably made enough changes that is it now "inspired by", but where is that lie really? */ .tmpl-library { margin: 0 auto; overflow-x: hidden; } .photo_gallery { display: flex; flex-wrap: wrap; justify-content: left; /*margin: .25em 0 0 0; */ padding-left: 0; width: 100%; border: 1px; } /************************************************/ /* photos */ .photo { display: flex; justify-content: center; margin: .1em; position: relative; text-transform: initial; transition: transform .05s; width: 200px; z-index: 1; } @media screen and (max-width: 900px) { .gallery-home li.photo:nth-of-type(7n) { display: none; } } @media screen and (max-width: 800px) { .gallery-home li.photo:nth-of-type(6n) { display: none; } } @media screen and (max-width: 710px) { .gallery-home li.photo:nth-of-type(5n) { display: none; } } @media screen and (max-width: 600px) { .gallery-home li.photo:nth-of-type(4n) { display: none; } } .photo:focus .photo__back { display: flex; } .photo:hover, photo:focus { transform: scale(1.4); z-index: 1000; } .footer .photo:hover, photo:focus { transform: scale(2); } @media screen and (max-width: 800px) { .photo:hover, photo:focus { transform: scale(1.5); } } @media screen and (max-width: 800px) { .photo.photo--widescreen { display: none; } } @media screen and (max-width: 650px) { .photo.photo--midscreen { display: none; width: 400px; } } .photo:hover .photo__image { box-shadow: 0 0 10px rgba(0,0,0,.5); } /************************************************/ /* Article/Entry Info */ #content { max-width:750px; } #entry-info { margin: 0 0 1em 0; /*border-bottom: solid 5px var(--style-colour); padding: 1em 0 0 0;*/ position: relative; } #entry-info p { line-height: 1; } #post-info { margin: 1em 0 1em 0; border-bottom: solid 5px var(--style-colour); padding: 1em 0 2em 0; position: relative; } #post-info p { line-height: 1; } .pentry { margin: 0 0 0 0; } /************************************************/ /* Special Classes */ .share { margin: 1em 0 1em 0; } /************************************************/ /* Post Series Styling */ .post-series p { color: var(--header-colour); font-family: "Roboto Slab", serif; font-weight: 700; font-size: 1.5em; text-decoration: underline; margin-top: 1em; margin-bottom: -0.5em; } .parts { display: block; list-style-type: decimal; margin-top: 1em; margin-bottom: 2em; margin-left: 0; margin-right: 0; padding-left: 40px; } /************************************************/ /* Article footer */ #article-footer { margin-top: 5em; } /************************************************/ /* Comments */ .comments { margin: .1em; max-width: 650px; } /* -- admonitions ----------------------------------------------------------- */ div.admonition { width: 80%; margin-top: 10px; margin-bottom: 10px; margin-right: 10px; padding: 7px; background-color: var(--admonition-backgroud); } div.admonition dt { font-weight: bold; } p.admonition-title { background-color: var(--admonition-header-backgroud); margin: 0px 10px 5px 0px; font-weight: bold; font-size: 1em; } div.body p.centered { text-align: center; margin-top: 25px; } div.admonition > :last-child { margin-bottom: 0; } div.admonition::after, blockquote::after { display: block; content: ''; clear: both; } /************************************************/ /* Linktrees are a thing */ /* used liberally from mollywhite.net from Sept 2, 2022 */ .linktree { width: 100%; height: 100%; } .linktree * { box-sizing: border-box; } .linktree body { width: 100%; height: 100%; background-color: #96B78A; } .linktree .linktree-content { max-width: 680px; margin: 100px auto 0 auto; width: 100%; height: 100%; padding: 24px 12px; } .linktree .linktree-content .wrapper { display: flex; flex-direction: column; justify-content: space-between; } .linktree .linktree-content .wrapper a.linktree-link { display: block; box-sizing: border-box; width: 100%; text-align: center; text-decoration: none; line-height: 40px; background-color: #FFFFFF; margin-bottom: 15px; border: 2px solid #FFFFFF; border-radius: 4px; padding: 5px; } .linktree .linktree-content .wrapper a.linktree-link:hover { background: rgba(255, 255, 255, 0.4); } .linktree .linktree-content .wrapper .social-links { display: flex; align-items: center; justify-content: center; width: 100%; } .linktree .linktree-content .wrapper .social-links a { color: #FFFFFF; text-decoration: none; padding: 0 10px; font-size: 120%; }