1
1
Fork
You've already forked Sedna-CSS
0
A class-less CSS framework! https://mskf1383.codeberg.page/sedna-css.html
  • CSS 100%
2022年09月30日 13:48:10 +02:00
LICENSE Initial commit 2022年09月30日 11:44:48 +02:00
LICENSE.png بارگزاری پرونده به '' 2022年09月30日 11:45:27 +02:00
README.md به روزرسانی README.md 2022年09月30日 12:52:41 +02:00
sedna.css fix code box overflow 2022年09月30日 13:48:10 +02:00

Sedna CSS

A Free (as in Freedom), class-less, lightweight CSS framework!

Features

  • Free as in Freedom!
  • Class-less: You do not need to use classes; Only pure html!
  • Bidi support: Work for both RTL and LTR pages!
  • Lightweight: It is less than 10KiB!
  • Responsice: Looks good in small screens!
  • Dark & Light mode: Automaticly dark mode with optional force-light and force-dark modes!
  • Palettes: You can optionaly use classes to use your favourite color palette!
  • Colors: You can optionaly use classes to coloring parts!
  • Fonts: You can optionaly use classes to change font!

How to use

  1. Put sedna.css in css folder, near your html file.
  2. An example sedna page:
<!DOCTYPE html>
<html lang="en">
 <head>
 <!-- Base informations -->
 <meta charset="utf-8">
 <title>Title</title>
 <meta name="description" content="description">
 <!-- Mobile specific metas -->
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <!-- Font -->
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css">
 <!-- CSS -->
 <link rel="stylesheet" href="css/sedna.css">
 <!-- Favicon -->
 <link rel="icon" type="image/png" href="images/favicon.png">
 </head>
 <body>
 <header>
 <nav>
 <a href="#">nav 1</a>
 <a href="#">nav 2</a>
 </nav>
 <h1>Title</h1>
 <p>description</p>
 </header>
 <main>
 /* your content is here */
 </main>
 </body>
</html>
  1. Set your favourite palette:
<html class="palette">
...
</html>
  • Palettes: reasonable (default), adwaita, nord, dracula, solarized, catppuccin, gruvbox, tango
  1. Set your favourite font:
<html class="font">
...
</html>

you should load the font you want!

  1. force-dark or force-light mode:
<html class="force-dark">
...
</html>
  1. Use colors everywhere you like:
<p class="color">text</p>
  • Colors: red, green, yellow, blue, purple

License

GNU GPL v3