minor updates

main
Gabriel 1 year ago
parent 5e96b3adee
commit eda92e3b59

@ -0,0 +1,300 @@
<!DOCTYPE html>
<html>
{{partial "head" .}}
<body>
<svg style="display:none;">
<symbol id="shrink"
viewBox="0 0 200 200"
>
<g>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z"
/>
</g>
</symbol>
<symbol id="loop"
viewBox="0 0 200 200"
>
<g>
<ellipse
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1"
cy="99.93528"
cx="100.03613"
rx="95.000404"
ry="95.057236" />
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" />
<path
style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z"
/>
</g>
</symbol>
<symbol id="substack"
viewBox="0 0 200 200"
>
<g>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 35.819292,74.079299 H 164.18071"
/>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 35.891493,29.66426 H 164.25291"
/>
<path
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1"
d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z"
/>
</g>
</symbol>
<symbol id="expand"
viewBox="0 0 200 200"
>
<g>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z"
/>
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z"
/>
</g>
</symbol>
<symbol id="pause"
viewBox="0 0 200 200"
>
<g>
<ellipse
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1"
cy="99.93528"
cx="100.03613"
rx="95.000404"
ry="95.057236" />
<rect
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
width="34.369987"
height="121.93053"
x="57.219501"
y="42.457039" />
<rect
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
width="34.369987"
height="121.93053"
x="115.24053"
y="42.650131" />
</g>
</symbol>
<symbol id="link"
viewBox="0 0 200 200"
>
<g>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162"
/>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016"
/>
</g>
</symbol>
<symbol id="btc"
viewBox="0 0 200 200"
>
<g>
<circle
style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
cx="100"
cy="100"
r="92.324692" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
x="83.549644"
y="186.25789"
transform="rotate(-15.468221)"><tspan
style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none"
x="83.549644"
y="186.25789">B</tspan></text>
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="9.3419447"
height="15.677465"
x="43.400417"
y="47.026237"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="9.3419447"
height="15.677465"
x="66.457565"
y="47.152031"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="9.3419447"
height="15.677465"
x="43.380985"
y="186.2144"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="9.3419447"
height="15.677465"
x="66.41478"
y="186.15088"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="28.949465"
height="19.075401"
x="22.285784"
y="167.17883"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
<rect
style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="28.949465"
height="19.075401"
x="23.174849"
y="62.679756"
rx="0"
ry="0"
transform="rotate(-15.468221)" />
</g>
</symbol>
<symbol id="rss"
viewBox="0 0 200 200"
>
<g>
<rect
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
width="193.26019"
height="193.26019"
x="3.3699021"
y="3.3699021"
ry="30.002089" />
<path
style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" />
<path
style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25"
d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z"
/>
<path
style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25"
d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z"
/>
</g>
</symbol>
<symbol id="play"
viewBox="0 0 200 200"
>
<g>
<ellipse
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1"
cy="99.93528"
cx="100.03613"
rx="95.000404"
ry="95.057236" />
<path
style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z"
/>
</g>
</symbol>
<symbol id="tag"
viewBox="0 0 200 200"
>
<g>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z"
/>
<circle
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
cx="138.22505"
cy="-78.649734"
r="10.656578"
transform="rotate(46.321904)" />
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="m 32.307964,111.18133 59.64203,59.64203 z"
/>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="M 45.070354,98.671666 104.71238,158.3137 Z"
/>
<path
style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1"
d="m 57.643191,85.97246 59.642029,59.64203 z"
/>
</g>
</symbol>
</svg>
{{partial "header" .}}
<main>
<article>
<h1>Can't find what you're looking for.</h1>
If this is a mistake, please <a href="mailto:{{.Site.Params.email}}?subject=404s">let me know</a>
</article>
</main>
<div class="spacer"></div>
{{partial "footer" .}}
</body>
</html>

@ -287,24 +287,19 @@
</g>
</symbol>
</svg>
{{partial "header" .}}
<main>
{{ if .Content}}
<article>{{.Content}}</article>
{{end}}
</main>
<main class="posts">
{{range .Pages}}
{{partial "post" .}}
{{end}}
</main>
<div class="spacer"></div>
{{partial "profile" .}}
<div class="spacer"></div>
<aside id="posts">
<div class="post">
<h3>Subscribe via RSS</h3>
<a href="index.xml">
<svg class="icon icon-mid">
<use href="#rss"></use>
</svg>
</a>
</div>
{{range .Pages}}
{{partial "post" .}}
{{end}}
</aside>
<div class="spacer"></div>
<hr>
{{partial "footer" .}}
</body>
</html>

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
{{partial "head" .}}
<body id="height-override">
<body>
<svg style="display:none;">
<symbol id="shrink"
viewBox="0 0 200 200"
@ -287,6 +287,24 @@
</g>
</symbol>
</svg>
{{partial "profile" .}}
{{partial "header" .}}
<main>
{{ if .Content}}
<article>{{.Content}}</article>
{{end}}
<hr>
<p>
<a href="mailto:{{.Site.Params.email}}?subject={{.Title}}">Reply to this post</a>
</p>
<div class="post-tags">
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}" class="tag"><svg class='icon'>
<use href="#tag"></use>
</svg><span>{{.LinkTitle}}</span></a>
{{end}}
</div>
</main>
<div class="spacer"></div>
{{partial "footer" .}}
</body>
</html>

@ -287,14 +287,13 @@
</g>
</symbol>
</svg>
{{partial "header" .}}
<main>
{{ if .Content}}
<article>{{.Content}}</article>
{{end}}
</main>
<div class="spacer"></div>
{{partial "profile" .}}
<div class="spacer"></div>
<aside id="posts">
{{range first 10 .Site.RegularPages}}
{{partial "post" .}}
{{end}}
</aside>
<div class="spacer"></div>
{{partial "footer" .}}
</body>
</html>

@ -0,0 +1,3 @@
<footer>
<p><a href="https://codeberg.org/gabe/valor">Valor</a> by <a href="https://gabe.rocks">Gabriel</a></p>
</footer>

@ -0,0 +1,23 @@
<header>
<a href="{{.Site.BaseURL}}">
<h1>{{.Site.Title}}</h1>
</a>
{{partial "nav" .}}
<div>
<span>Subscribe via RSS</span>
{{ if .Site.Params.rss}}
<a href="{{.Site.BaseURL}}{{.Site.Params.rss}}">
<svg class="icon">
<use href="#rss"></use>
</svg>
</a>
{{else}}
<a href="{{.Site.BaseURL}}/index.xml">
<svg class="icon">
<use href="#rss"></use>
</svg>
</a>
{{end}}
</div>
</header>

@ -1,6 +1,6 @@
<nav>{{ range .Site.Sections }}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
<h3>{{.Title}}</h3>
{{if .Params.icon}}
<img src="{{.Params.icon}}">
{{end}}

@ -1,26 +1,25 @@
<div class="post">
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
{{if .Date }}
<p>{{.Date | time.Format "Jan 02 2006"}}</p>
{{end}}
<a href="{{.Permalink}}">
{{if .Params.gif}}
<video autoplay muted loop preload="true">
<source src="{{.Site.BaseURL}}{{.Params.gif}}">
</video>
{{else}}
{{if .Params.image}}<img loading="lazy" src="{{.Site.BaseURL}}{{.Params.image}}">
{{end}}
{{end}}
</a>
<p>{{.Params.description}}</p>
{{ if .GetTerms "tags" }}
<div class="post-tags">
<span>Tags:</span>
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
{{end}}
</div>
{{end}}
{{if .Params.image}}
<a href="{{.Permalink}}">
<div class="post-image" style="background-image:url({{.Params.image}})">
</div>
</a>
{{end}}
<section>
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
</a>
<div>
<p>{{.Params.description}}{{if .Date}}<br>Published: <strong>{{.Date | time.Format "Jan 02 2006"}}{{end}}</strong></p>
</div>
{{ if .GetTerms "tags" }}
<div class="post-tags">
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}" class="tag"><svg class='icon'>
<use href="#tag"></use>
</svg><span>{{.LinkTitle}}</span></a>
{{end}}
</div>
{{end}}
</section>
</div>

@ -22,6 +22,7 @@
padding:0.5rem;
border-radius: 0.5rem;
color:var(--theme-accent);
flex-wrap: nowrap;
}
.audio-player>*{
margin:5px;

@ -1,7 +1,7 @@
{{ if .Get "href"}}
<a href='{{.Get "href"}}'>
{{end}}
<video autoplay muted loop preload="true">
<video autoplay muted loop preload="true" class="gif">
{{if .Get 0}}<source src='{{.Site.BaseURL}}{{.Get 0 }}'>{{end}}
{{if .Get "src"}}<source src='{{.Site.BaseURL}}{{.Get "src" }}'>{{end}}
</video>

@ -10,6 +10,7 @@
flex-direction: row;
width: 100%;
height: fit-content;
flex-wrap: nowrap;
}
.video-controls p {

@ -1,364 +1,225 @@
body {
--theme-color-primary: rgba(255, 255, 255, 0.8);
--theme-color-primary: rgb(255, 255, 255);
--theme-color-secondary: black;
--theme-accent: #09448c;
}
@media screen and (prefers-color-scheme:dark) {
body {
--theme-color-primary: rgba(0, 0, 0, 0.8);
--theme-color-secondary: white;
--theme-accent: #2db1f3;
}
}
body {
color: var(--theme-color-secondary);
background-color: var(--theme-color-primary);
background-image: url(/res/bg.png);
background-size: 35vh;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: space-evenly;
width: 100%;
margin: 0;
overflow-x: hidden;
font-weight: 500;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
font-size: 18px;
}
.spacer {
width: 10vw;
svg {
stroke: var(--theme-accent);
fill: var(--theme-accent);
}
a,
a:visited,
hr {
a:hover {
color: var(--theme-accent);
}
hr {
width: 100%;
color: var(--theme-accent);
margin-top: 1rem;
margin-bottom: 1rem;
margin-top:25px;
margin-bottom:25px;
}
img,
audio,
video {
max-width: 100%;
max-height: 50vh;
@media screen and (prefers-color-scheme:dark) {
body {
--theme-color-primary: rgb(0, 0, 0);
--theme-color-secondary: white;
--theme-accent: #1291e5;
}
}
iframe {
max-width: 80%;
max-height: 100vh;
width: 60vw;
height: 25vw;
width:100%;
min-height:25rem;
height:25vw;
}
img,
video,
iframe,
audio {
width: 80%;
}
#profile article {
overflow-y: scroll;
max-width: 95%;
display:flex;
flex-direction: column;
max-width: 90vw;
max-height: 100%;
}
article{
display:flex;
flex-direction: column;
align-items: center;
}
#profile-details {
display: flex;
flex-direction: column;
align-items: center;
.gif {
max-height:50vh;
}
#profile-links {
.gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
justify-content: center;
overflow:hidden;
max-width:95%;
}
#profile-links>a {
margin: 0.5rem;
.gallery >*{
max-width:25vw;
max-height:20vw;
}
#posts {
width: fit-content;
display: flex;
flex-direction: column;
align-items: center;
max-width: 40rem;
height: 95vh;
overflow-y: scroll;
.image-container a{
height:100%;
}
.post {
width: 90%;
word-wrap: break-word;
margin-bottom: 1rem;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
background-color: var(--theme-color-primary);
color: var(--theme-color-secondary);
border: 0.25rem solid var(--theme-accent);
backdrop-filter: blur(0.5rem);
border-radius: 1rem;
margin-bottom: 1.5rem;
.image-container img{
max-height:100%;
}
.post h2 {
margin-top: 0;
.gallery > img{
max-width:600px;
max-height:400px;
}
#profilephoto {
margin: 1rem;
max-width: 5rem;
}
section {
width: 100%;
header,
footer {
width: 100vw;
margin: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
}
nav {
width: 100%;
}
#profile>nav,
#profile>div {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
justify-content: space-between;
}
#profile-details {
flex-direction: column;
align-items: flex-start;
nav>* {
margin: 1rem;
}
#profile-details>*{
margin:0.25rem;
.icon {
height: 34px;
width: 34px;
}
nav {
div {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
align-items: baseline;
justify-content: space-evenly;
flex-wrap: wrap;
}
#profile {
article {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--theme-color-primary);
color: var(--theme-color-secondary);
border: 0.25rem solid var(--theme-accent);
backdrop-filter: blur(0.5rem);
border-radius: 1rem;
margin-bottom: 1.5rem;
width: 90%;
height:95vh
width: 100%;
padding-left:10px;
padding-right:10px;
max-width: 60rem;
font-size:24px;
}
aside {
min-width: 40vw;
article img {
max-width:90%;
}
article p,
article h3,
article h4,
article table,
article ul,
article ol,
article table {
article h3,
article h4,
article h2 {
width: 100%;
text-align: left;
width: 90%;
}
article p {
width: 90%;
}
article img {}
blockquote {
margin-left: 10%;
padding-left: 2.5rem;
width: 80%;
border-left: 0.5rem solid var(--theme-accent);
font-style: italic;
article .highlight{
width:100%;
align-items: flex-start;
}
.gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
article .highlight pre{
width:100%;
text-align: left;
}
.gallery>* {
margin: 0.1rem;
}
article h1 {}
.gallery p {
width: 100%;
.posts {
display: flex;
flex-direction: row;
align-items: flex-start;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
audio {
padding: 1rem;
justify-content: space-evenly;
}
.post-tags {
display: flex;
.post {
flex-direction: row;
flex-wrap: wrap;
display:flex;
align-items: center;
justify-content: space-evenly;
font-weight: bolder;
font-size: 1.25rem
margin:1rem;
background-color:#151515;
border:2px solid #252525;
padding:25px;
border-radius:25px;
max-width: 90vw;
}
.post-tags>* {
margin: 0.5rem;
.post>*{
margin:15px;
}
@media screen and (orientation: portrait) {
body {
flex-direction: column;
align-items: center;
justify-content: flex-start;
flex-wrap: none;
padding: 0;
font-size: 1rem;
height: unset;
}
#profile,
#posts {
margin-top: 10px;
width: 90%;
max-width: 90vw;
height: unset;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
background-color: var(--theme-color-primary);
color: var(--theme-color-secondary);
border: 0.25rem solid var(--theme-accent);
backdrop-filter: blur(0.5rem);
border-radius: 1rem;
margin-bottom: 1.5rem;
}
.post h2{
text-align: center;
}
#profile a>img {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
.post p{
max-width: 460px;
}
.link-preview {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
padding: 1.5%;
justify-content: center;
text-decoration: none;
text-align: left;
width: 80%;
.post-image{
width:25rem;
height:15rem;
background-position: top center;
background-size: contain;
background-repeat: no-repeat;
}
.link-preview>div {
margin: 1rem;
}
.link-preview>img {
max-width: 20%;
@media screen and (orientation:portrait){
.post-image{}
}
.link-preview>div>p {
text-decoration: none !important;
color: var(--theme-color-secondary);
.post-tags a {
margin: 5px;
}
.image-container {
.tag {
display: flex;
flex-direction: column;
flex-direction: row;
align-items: center;
max-width: 95%;
}
.caption {
padding-left: 10%;
padding-right: 10%;
max-width: 90%;
}
#height-override article,#height-override #profile {
height: unset;
max-height: unset;
overflow-y: unset;
.highlight pre {
background-color: transparent !important;
}
.audio-player{
backdrop-filter: blur(1.5rem);
article .gallery{
width: 80vw;
max-width: 90vw;
}
article hr {
max-width:95%;
border-style:dashed;
}
article h1,article h2{
width:100%;
text-align: center;
}
.icon{
stroke:var(--theme-accent);
fill:var(--theme-accent);
margin:1rem;
}
.icon-mid {
width:2.5rem;
height:2.5rem;
h3{
margin:0;
}
article a {
height:fit-content;
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:20px;margin:5px;text-decoration: none;}
.image-container a::after, .liberapay-container a::after{
content: "" !important;margin:0 !important;font-size:0;
}
.video-container{
width:fit-content;
border: 0.15rem solid var(--theme-accent);
}
Loading…
Cancel
Save