A class-less CSS framework! https://mskf1383.codeberg.page/sedna-css.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MohammadSaleh Kamyab 4429b07fe4 fix code box overflow 2 months ago
LICENSE Initial commit 2 months ago
LICENSE.png بارگزاری پرونده به '' 2 months ago
README.md به روزرسانی README.md 2 months ago
sedna.css fix code box overflow 2 months ago

README.md

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