Skip to content

Night1.css

Leia286 edited this page Sep 14, 2021 · 8 revisions

This is a WIP, so not all things are documented!

Classes in the Night1 style sheet.


.body Text align is set to left with text-align:left;, and 5 % padding is added with padding:5%; Percent is used so this page is more mobile friendly.
.center Aligns text center, with text-align:center;. Useful to do text alignment without inline CSS or 1k CSS ids.

Tag selectors in the Night1 style sheet.

body Background color is set to black with background-color:black;, text color is set to white with color:white;, and font family is set to sans-serif with font-family:sans-serif;.
code Tag has these CSS code font-family: 'Source Code Pro', monospace; color:white; background-color: rgb(92, 91, 88); This hasn't worked so well on RandomCSS's homepage.
h1,small These tags have this CSS code:font-family: 'Roboto', sans-serif;

Clone this wiki locally