Skip to content

realneville.com by smbl64

Details

Authorsmbl64

LicenseNo License

Categoryrealneville.com

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Prettify the texts

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         realneville.com
@version      20230522.19.12
@namespace    userstyles.world/user/smbl64
@description  Prettify the texts
@author       smbl64
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://realneville.com/txt/") {
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&family=Source+Code+Pro:wght@400;500&display=swap');

html {
    background-color: hsl(0deg 0% 50%);

    font-family: 'Crimson Text', Georgia, sans-serif;
    font-size: 22px;    
    line-height: 1.6;    
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    color: hsl(0deg 0% 10%);
    background-color: hsl(70deg  100%  95%);    
    box-shadow:hsl(70deg 100%  25%) 0px 6px 12px -2px;

    max-width: 800px;
    min-width: 400px;
    
    margin: 0 auto;
    padding: 22px 66px;
    border-radius: 8px;
}

font {
    font-size: inherit;
    font-family: inherit;
}

p {
    text-justify: inter-character;
    text-align: justify;
}

/* That empty p and br in it */
body > p:first-of-type,
body > p:nth-of-type(2) {
    display: none;
}

/* Neville and the date */
body > p:nth-of-type(3) {
    text-align: center;
    font-size: 0.7rem;
    font-variant: small-caps;
}

#google_translate_element {
    display: none;
}

/* Top menu */
body > center:first-of-type {
    display: none;
}

/* Header */
body > center:nth-of-type(2) {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 4px;
}

a:link,
a:visited {
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}

::selection,
::-moz-selection {
    background-color: deepskyblue;
}
}

Reviews

No reviews yet.