Style Guide

This style guide page contains styles and components to be used throughout my component collection. Take inspiration from Nikolaibain.com and UI8

Structure Classes

Defined and flexible core structure we can use on all or most pages.

								
|-- .page-wrapper
	|-- .header-wrapper
	|-- .main-wrapper
	|-- .footer-wrapper
								
							

Container

									
|-- .padding-global
	|-- .container
									
								
padding-global
container

HTML Heading Tags

HTML tags define default Heading styles.

H1

Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

H2

Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

H3

Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

H4

Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

H5
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.
H6
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

Other HTML Tags

HTML tags define default text styles.

Paragraph

Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text.

All Links
All Links
All Quotes
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website.
All Ordered List
  1. Sample text is being used as a placeholder for real text that is normally present.
  2. Sample text is being used as a placeholder for real text that is normally present.
  3. Sample text is being used as a placeholder for real text that is normally present.
  4. Sample text is being used as a placeholder for real text that is normally present.
All Unordered List
  1. Sample text is being used as a placeholder for real text that is normally present.
  2. Sample text is being used as a placeholder for real text that is normally present.
  3. Sample text is being used as a placeholder for real text that is normally present.
  4. Sample text is being used as a placeholder for real text that is normally present.

Heading Styles

Heading classes when typography style doesn't match the default HTML tag.

.h1
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.
.h2
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.
.h3
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.
.h4
Sample text helps you understand how real text may look. Sample text is being used as a placeholder.

Text Classes

Text classes when typography style doesn't match the default HTML tag.

Font Size

font-size-24px
font-size-24px
font-size-18px
font-size-18px

Font Weight

font-weight-400
font-weight-400
font-weight-500
font-weight-500
font-weight-600
font-weight-600

Text Styles

text-style-strikethrough
text-style-strikethrough
text-style-italic
text-style-italic
text-style-muted
text-style-muted
text-style-uppercase
text style uppercase
text-style-nowrap
text style nowrap
text-style-link
text-style-quote
text style quote. lorem ipsum
text-style-2lines
Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis vero veritatis nulla aspernatur unde temporibus architecto autem veniam, eaque ab et omnis tempore. Non eius fugiat iusto id iure aliquid.
text-style-3lines
Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis vero veritatis nulla aspernatur unde temporibus architecto autem veniam, eaque ab et omnis tempore. Non eius fugiat iusto id iure aliquid.

Text Weight

Text Alignments

text-align-left
text-align-left
text-align-center
text-align-center
text-align-right
text-align-right

Buttons

The different types of buttons used throughout the website.

Primary
Stroke
Stroke Red
White
Button Small
Button Square
Button Square Stroke
Button Disabled

Colors

Paddings

Margins

Spacers

.spacer-8
.spacer-16
.spacer-24
.spacer-32
.spacer-48
.spacer-64
.spacer-80
.spacer-96
.spacer-128

Flex layout

The 12 column grid system to make it easy to align sections across different screen sizes.

.flex-col-1
.flex-col-2
.flex-col-3
.flex-col-4
.flex-col-5
.flex-col-6
.flex-col-7
.flex-col-8
.flex-col-9
.flex-col-10
.flex-col-11
.flex-col-12

Grids

.grid-layout.is-4-cols
.grid-layout.is-3-cols
.grid-layout.is-2-cols
.grid-layout.is-4-cols
.grid-layout.is-2-1-cols
.grid-layout.is-1-2cols

Icons

Forms

Useful utility systems

Utility classes we like to use in most of our projects to build faster.

Visibility

										
.desktop {
	// .desktop-hide
	&-hide {
		@include mq-medium {
			display: none !important;
		}
	}

	// .desktop-show
	&-show {
		display: none !important;

		@include mq-medium {
			display: block !important;
		}
	}
}

.tablet {
	// .tablet-hide
	&-hide {
		@include mq-tablet {
			display: none !important;
		}
	}

	// .tablet-show
	&-show {
		display: none !important;

		@include mq-tablet {
			display: block !important;
		}
	}

}

.mobile {
	// .mobile-hide
	&-hide {
		@include mq-tablet-small {
			display: none !important;
		}
	}

	// .mobile-show
	&-show {
		display: none !important;

		@include mq-tablet-small {
			display: block !important;
		}
	}
}
										
									

Displays

										
$display-dom-values: (
	block,
	inline-block,
	flex,
	inline-flex
);
.display {
	@each $display_prop in $display-dom-values {
		&-#{$display_prop} {
			display: $display_prop
		}
	}
}