mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-13 19:55:21 +00:00
CSS cleanup
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
<h3>{{post.Title}}</h3>
|
||||
</a>
|
||||
{{/if}}
|
||||
<div class="views">
|
||||
<div class="views flex flex-center">
|
||||
<img class="icon" src="/static/icons/eye.svg" alt="Views">
|
||||
<p>{{post.Views}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logoContainer">
|
||||
<div class="flex flex-center">
|
||||
<a href="/{{post.Id}}">
|
||||
<img src="/static/img/rimgo.svg" width="32px" height="32px" class="logo">
|
||||
</a>
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
<head>
|
||||
{{> 'partials/head' }}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/error.css" />
|
||||
|
||||
<title>404 Not Found - rimgo</title>
|
||||
</head>
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
<head>
|
||||
{{> 'partials/head' }}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/error.css" />
|
||||
|
||||
<title>Rate limited by Imgur - rimgo</title>
|
||||
</head>
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
<main>
|
||||
<p>An alternative frontend for Imgur. Originally based on <a href="https://codeberg.org/3np/rimgu" rel="noreferrer">rimgu</a>.</p>
|
||||
|
||||
<br>
|
||||
<h2>Features</h2>
|
||||
<ul>
|
||||
<li>Lightweight</li>
|
||||
@@ -29,7 +28,6 @@
|
||||
<h2>Comparison</h2>
|
||||
<p>Comparing rimgo to Imgur.</p>
|
||||
|
||||
<br>
|
||||
<h3>Speed</h3>
|
||||
<p>Tested using <a href="https://pagespeed.web.dev/" rel="nofollow noreferrer">Google PageSpeed Insights</a>.</p>
|
||||
<table>
|
||||
@@ -60,33 +58,25 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<h3>Privacy</h3>
|
||||
<p>Imgur collects information about your device and uses tracking cookies for advertising, this is mentioned in their <a href="https://imgur.com/privacy/" rel="nofollow noreferrer">privacy policy</a>. <a href="https://themarkup.org/blacklight" rel="nofollow noreferrer">Blacklight</a> found 31 trackers and 87 third-party cookies.</p>
|
||||
<br>
|
||||
<p>See what cookies and trackers Imgur uses and where your data gets sent: <a href="https://themarkup.org/blacklight?url=imgur.com" rel="nofollow noreferrer">https://themarkup.org/blacklight?url=imgur.com</a></p>
|
||||
|
||||
<br>
|
||||
<h2>Usage</h2>
|
||||
<p>Just replace imgur.com or i.imgur.com with <code>{{domain}}</code> (add stack/ before the media ID for i.stack.imgur.com). You can setup automatic redirects using <a href="https://github.com/libredirect/libredirect" rel="nofollow noreferrer">LibRedirect</a> (recommended) or <a href="https://github.com/einaregilsson/Redirector" rel="nofollow noreferrer">Redirector</a>.</p>
|
||||
|
||||
<br>
|
||||
{{#if force_webp}}
|
||||
<p>To download images as their original filetype, add <code>?no_webp=1</code> to the end of the image URL.</p>
|
||||
{{/if}}
|
||||
|
||||
<br>
|
||||
<h2>Automatically redirect links</h2>
|
||||
|
||||
<br>
|
||||
<h3>LibRedirect</h3>
|
||||
<p>Use <a href="https://github.com/libredirect/libredirect" rel="nofollow noreferrer">LibRedirect</a> to automatically redirect Imgur links to rimgo!</p>
|
||||
|
||||
<br>
|
||||
<h3>GreaseMonkey script</h3>
|
||||
<p>There is a script to redirect Imgur links to rimgo. <a rel="noreferrer" href="https://codeberg.org/zortazert/GreaseMonkey-Redirect/src/branch/main/imgur-to-rimgo.user.js">https://codeberg.org/zortazert/GreaseMonkey-Redirect/src/branch/main/imgur-to-rimgo.user.js</a></p>
|
||||
|
||||
<br>
|
||||
<h3>Redirector</h3>
|
||||
<p>You can use the <a href="https://github.com/einaregilsson/Redirector" rel="nofollow noreferrer">Redirector</a> extension to redirect Imgur links to rimgo with the configuration below:</p>
|
||||
<ul>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div class="postMeta">
|
||||
<a href="/{{id}}.mp4" download="{{id}}.mp4">download</a>
|
||||
<div class="logoContainer">
|
||||
<div class="flex flex-center">
|
||||
<a href="/{{post.Id}}">
|
||||
<img src="/static/img/rimgo.svg" width="32px" height="32px" class="logo">
|
||||
</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="comment">
|
||||
<div class="comment flex flex-col">
|
||||
<div class="comment__user">
|
||||
{{#noteq this.User.Username "[deleted]"}}
|
||||
<img src="{{this.User.Avatar}}" class="pfp" width="24" height="24" loading="lazy">
|
||||
@@ -7,20 +7,20 @@
|
||||
</a>
|
||||
{{/noteq}}
|
||||
{{#equal this.User.Username "[deleted]"}}
|
||||
<p class="comment__user__username"><b>[deleted]</b></p>
|
||||
<p class="comment__user__username"><b>[deleted]</b></p>
|
||||
{{/equal}}
|
||||
</div>
|
||||
<div>
|
||||
{{{this.Comment}}}
|
||||
<p>
|
||||
<p>{{{this.Comment}}}</p>
|
||||
<div>
|
||||
<span title="{{this.CreatedAt}}">{{this.RelTime}}</span>
|
||||
{{#if this.DeletedAt}}
|
||||
<span class="comment__updatedDate">(deleted {{this.DeletedAt}})</span>
|
||||
{{/if}}
|
||||
|
|
||||
|
|
||||
<img class="icon" src="/static/icons/chevron-up.svg" alt="Likes"> {{this.Upvotes}}
|
||||
<img class="icon" src="/static/icons/chevron-down.svg" alt="Dislikes"> {{this.Downvotes}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="replies">
|
||||
{{#each this.Comments}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<footer>
|
||||
<footer class="flex flex-center">
|
||||
<a href="/privacy">Privacy</a>
|
||||
<a href="https://codeberg.org/video-prize-ranch/rimgo" rel="noreferrer">Source Code</a>
|
||||
</footer>
|
||||
@@ -12,4 +12,5 @@
|
||||
<meta name="msapplication-config" content="/static/favicon/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<link rel="stylesheet" href="/static/css/normalize.css"/>
|
||||
<link rel="stylesheet" href="/static/css/base.css"/>
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav>
|
||||
<nav class="flex flex-center">
|
||||
<a href="/">
|
||||
<img src="/static/img/rimgo.svg" width="64" height="64" class="logo" alt="Logo">
|
||||
</a>
|
||||
|
||||
@@ -9,18 +9,19 @@
|
||||
<img src="{{Cover.Url}}" loading="lazy" width="100%" height="100%">
|
||||
{{/equal}}
|
||||
<p class="post__title">{{Title}}</p>
|
||||
<div class="post__meta">
|
||||
<p>
|
||||
<div class="flex gap-2 p-2">
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/chevron-up.svg" alt="Points">
|
||||
{{Points}}
|
||||
</p>
|
||||
<p>
|
||||
</div>
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/message-square.svg" alt="Comments">
|
||||
{{Comments}}
|
||||
<p>
|
||||
</div>
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/eye.svg" alt="Views">
|
||||
{{Views}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
@@ -25,7 +25,7 @@
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="imageMeta__wrapper">
|
||||
<div class="flex flex-center-y gap-4">
|
||||
{{#if post.User.Username}}
|
||||
<a href="/user/{{post.User.Username}}" class="user">
|
||||
<img src="{{post.User.Avatar}}" class="pfp" width="36" height="36" />
|
||||
@@ -34,17 +34,17 @@
|
||||
</p>
|
||||
</a>
|
||||
{{/if}}
|
||||
<div class="imageMeta">
|
||||
<div class="imageMeta__item">
|
||||
<div class="flex flex-center-y gap-2">
|
||||
<div class="flex flex-center gap-2">
|
||||
<img class="icon" src="/static/icons/eye.svg" alt="Views">
|
||||
<p>{{post.Views}}</p>
|
||||
</div>
|
||||
{{#if post.SharedWithCommunity}}
|
||||
<div class="imageMeta__item">
|
||||
<div class="flex flex-center gap-2">
|
||||
<img class="icon" src="/static/icons/chevron-up.svg" alt="Likes">
|
||||
<p>{{post.Upvotes}}</p>
|
||||
</div>
|
||||
<div class="imageMeta__item">
|
||||
<div class="flex flex-center gap-2">
|
||||
<img class="icon" src="/static/icons/chevron-down.svg" alt="Dislikes">
|
||||
<p>{{post.Downvotes}}</p>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post__media">
|
||||
<div class="post__media flex flex-center flex-col">
|
||||
{{#each post.Media}}
|
||||
{{#if this.Title}}
|
||||
<h4>{{this.Title}}</h4>
|
||||
@@ -100,7 +100,7 @@
|
||||
<h3>Comments ({{post.Comments}})</h3>
|
||||
<span class="comments__expandBtn__icon"></span>
|
||||
</label>
|
||||
<div class="comments">
|
||||
<div class="comments flex flex-col">
|
||||
{{#each comments}}
|
||||
{{> partials/comment }}
|
||||
{{/each}}
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if config.Privacy.not_collected}}
|
||||
<div class="badgeWrapper">
|
||||
<div class="badge">
|
||||
<div class="badge">
|
||||
<div class="flex flex-col flex-center p-2 gap-2">
|
||||
<img class="icon largeIcon" src="/static/icons/check-circle.svg" alt="">
|
||||
<h2>Data Not Collected</h2>
|
||||
<p>The instance operator does not collect any data from this instance.</p>
|
||||
@@ -36,8 +36,8 @@
|
||||
{{/if}}
|
||||
|
||||
{{#unless config.Privacy.set}}
|
||||
<div class="badgeWrapper">
|
||||
<div class="badge">
|
||||
<div class="badge">
|
||||
<div class="flex flex-col flex-center p-2 gap-2">
|
||||
<img class="icon largeIcon" src="/static/icons/alert-triangle.svg" alt="">
|
||||
<h3>No Details Provided</h3>
|
||||
<p>The operator of this instance will be required to provide privacy details to be added to the instance list.
|
||||
@@ -46,8 +46,8 @@
|
||||
</div>
|
||||
{{else}}
|
||||
{{#unless config.Privacy.not_collected}}
|
||||
<div class="badgeWrapper">
|
||||
<div class="badge">
|
||||
<div class="badge">
|
||||
<div class="flex flex-col flex-center p-2 gap-2">
|
||||
<img class="icon largeIcon" src="/static/icons/alert-circle.svg" alt="">
|
||||
<h2>Data Collected</h2>
|
||||
<p>The following data may be collected:</p>
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
<main>
|
||||
<div class="tagMeta" style="background-image: url('{{tag.Background}}');">
|
||||
<div class="tagMeta__info">
|
||||
<div class="flex flex-center flex-col text-center">
|
||||
<h2>{{tag.Display}}</h2>
|
||||
<p>{{tag.PostCount}} posts</p>
|
||||
</div>
|
||||
<div class="tagMeta__sort">
|
||||
<div class="flex flex-col gap-2">
|
||||
{{#equal tag.Sort "popular"}}
|
||||
<a href="?sort=popular"><b>Popular</b></a>
|
||||
<a href="?sort=newest">Newest</a>
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
<main>
|
||||
<div class="userMeta" style="background-image: url('{{user.Cover}}');">
|
||||
<div class="userMeta__upper">
|
||||
<div class="flex flex-center-y gap-2">
|
||||
<img class="pfp" src="{{user.Avatar}}" width="72" height="72">
|
||||
<div>
|
||||
<h2>{{user.Username}}</h2>
|
||||
<p>{{user.Points}} pts · {{user.CreatedAt}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="userMeta__upper__bio">{{user.Bio}}</p>
|
||||
<p>{{user.Bio}}</p>
|
||||
</div>
|
||||
|
||||
<div class="posts">
|
||||
|
||||
Reference in New Issue
Block a user