Hinside Style
hinside.hi.org/ by brtrdkeller
Details
Authorbrtrdkeller
LicenseNo License
CategoryIntranet
Created
Updated
Code size1.2 kB
Code checksumfba5c360
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name hinside.hi.org/
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Bertrand Keller
==/UserStyle== */
@-moz-document url-prefix("https://hinside.hi.org/") {
.Article,.selection-footer {
margin: auto;
max-width: 100rem;
}
.article-related-content {
margin: 2rem auto;
}
.cs-body,.lead {
line-height: 1.5;
}
.cs-body p,.cs-body ul,.cs-body td {
font-size: clamp(1.5rem, 2vw + 1rem, 2rem) !important;
}
h1.publication-title {
font-size: 60px !important;
margin-bottom: 1em
}
.article-picture {
position: relative;
}
.custom-article .img-thumbnail {
display: block;
object-fit: cover;
margin: 0 auto 3.5rem;
padding: 0;
width: 100%;
height: 300px;
max-height: 300px;
border: 3px solid #333;
}
p:has(picture) {
display: grid;
grid-template-columns: 1fr 10px 1fr;
margin-bottom: 2rem;
padding-left: 40px !important;
gap: 0;
}
p:has(picture) picture {
width: 100%;
border: 1px solid #ccc;
}
p:has(picture) img {
width: 100%;
object-fit: cover;
}
p:empty {
display: none;
}
}