Aguia
Design System

Do you like Aguia and want to Tweet it, share it, or star it?

Well, I appreciate that

Download

or npm i @devler/aguia-css

Light
as a feather.

Only ~ 75 kb built with Mobile First Design in mind.

Flexibility
and quality.

Styles designed for flexibility and quality, not a user interface framework.

Easy
quick start.

Quick start with no need of compiling and installing. No JS, no Third party libraries.

-col-12

-col-1

-col-11

-col-2

-col-10

-col-3

-col-9

-col-4

-col-8

-col-5

-col-7

-col-6

-col-6

To use the -col- modifier it is not necessary to have a parent modifier of -display-row type
but you can use the modifier -display-row to display the columns as a Flex-box row.

            
<div class="-display-row">
    <div class="-col-1">
        <p>-col-1</p>
    </div>
    <div class="-col-11">
        <p>-col-11</p>
    </div>
</div>
            
        

-xl-col-1

-lg-col-2

-ip-col-3

-md-col-4

-sm-col-5

-xsm-col-6

-col-7

-xl-col-11

-lg-col-10

-ip-col-9

-md-col-8

-sm-col-7

-xsm-col-6

-col-5

-col-12

The media queries prefixes can be used as a prefix of any Aguia modifiers class.
In this block of code we use the prefixes to change the display and column size.

            
<div class="-display-row">
    <div class="-col-7 -xsm-col-6 -sm-col-5 -md-col-4 -ip-col-3 -lg-col-2 -xl-col-1">
        <p class="-display-none -xl-display-block"> -xl-col-1 </p>
        <p class="-display-none -lg-display-block -xl-display-none"> -lg-col-2 </p>
        ...
    </div>
    <div class="-col-5 -xsm-col-6 -sm-col-7 -md-col-8 -ip-col-9 -lg-col-10 -xl-col-11">
        <p class="-display-none -xl-display-block"> -xl-col-11 </p>
        <p class="-display-none -lg-display-block -xl-display-none"> -lg-col-10 </p>
        ...
    </div>
</div>
            
        

List of media queries:

  • Small Mobile: 0 to 374px
  • Mobile: 375px to 479px with -xsm- prefix
  • Phablet: 480px to 639px with -sm- prefix
  • Tablet: 640px to 1023px with -md- prefix
  • iPad - Desktop: 1024px to 1365px with -ip- prefix
  • Desktop HD: 1366px to 1919px with -lg- prefix
  • Desktop Full HD: > 1920px with -xl- prefix
            
/** Mobile first queries **/

/* Large than mobile */
@media (min-width: 375px) {}

/* Large than phablet */
@media (min-width: 480px) {}

/* Large than tablet */
@media (min-width: 640px) {}

/* Large than iPad or Desktop */
@media (min-width: 1023px) {}

/* Large than Desktop HD */
@media (min-width: 1366px) {}

/* Large than Desktop Full HD */
@media (min-width: 1920px) {}
            
        

-lg-col-4

-ip-col-6

-col-12

-lg-col-4

-ip-col-6

-col-12

-lg-col-4

-col-12

            
<div class="-display-row -wrap">
    <div class="-col-12 -ip-col-6 -lg-col-4">
        <!-- -->
    </div>
    <div class="-col-12 -ip-col-6 -lg-col-4">
        <!-- -->
    </div>
    <div class="-col-12 -lg-col-4">
        <!-- -->
    </div>
</div>
            
        

-col-12

-col-1

-col-11

-col-2

-col-10

-col-3

-col-9

-col-4

-col-8

-col-5

-col-7

-col-6

-col-6

It must be used at the same level of -display-row or -display-row-reverse

            
<div class="-display-row -gap">
    <div class="-col-1">
        <p>-col-1</p>
    </div>
    <div class="-col-11">
        <p>-col-11</p>
    </div>
</div>
            
        

-lg-col-4

-ip-col-6

-col-12

-lg-col-4

-ip-col-6

-col-12

-lg-col-4

-col-12

            
<div class="-display-row -gap -wrap">
    <div class="-col-12 -ip-col-6 -lg-col-4">
        <!-- -->
    </div>
    <div class="-col-12 -ip-col-6 -lg-col-4">
        <!-- -->
    </div>
    <div class="-col-12 -lg-col-4">
        <!-- -->
    </div>
</div>
            
        

-text-left

-text-center

-text-right

Use align-items utilities on flexbox containers to change the alignment of flex items on the cross axis (the y-axis to start, x-axis if flex-direction: column).
Choose from start, end, center, baseline, or stretch (browser default).

-align-start

-align-start

-align-center

-align-center

-align-end

-align-end

Use justify-content utilities on flexbox containers to change the alignment of flex items on the main axis (the x-axis to start, y-axis if flex-direction: column).
Choose from start, end, center, etc.

-justify-start

-justify-start

-justify-center

-justify-center

-justify-end

-justify-end

-justify-around

-justify-around

-justify-around

-justify-between

-justify-between

-justify-between

Other flex-box modifiers are:

  • -align-stretch
  • -justify-stretch
  • -justify-evenly
  • -justify-around
  • -justify-between
  • -wrap
  • -display-row
  • -display-row-reverse
  • -display-column
  • -display-column-reverse
  • -order-n

Float modifiers:

  • To float left: -pull
  • To float right: -push
  • To clear float row: -clear

Position modifiers:

  • To position static: -position-static
  • To position relative: -position-relative
  • To position fixed: -position-fixed
  • To position absolute: -position-absolute
  • To position sticky: -position-sticky

Padding:

  • To padding: -p-n
  • To padding top: -pt-n
  • To padding bottom: -pb-n
  • To padding left: -pl-n
  • To padding right: -pr-n

Margin:

  • To margin: -m-n
  • To margin top: -mt-n
  • To margin bottom: -mb-n
  • To margin left: -ml-n
  • To margin right: -mr-n

Padding and margin modifiers modify their property with a default size of .75rem * n.
Where n is a number from 0 to twice the grid columns.