Skip to content

Latest commit

 

History

History
101 lines (64 loc) · 2.46 KB

File metadata and controls

101 lines (64 loc) · 2.46 KB

Installation

include the following files:

css/sass

js files (in order)

File structure

  • Put this bitch boy wherever the fuq u want. 69/10 recommend the root folder

HTML setup

...must look like this

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Title</title>

	<!-- styles -->
		<!-- framework -->
			<link href="framework/dist/framework.css" rel="stylesheet">
		<!-- your styles -->
			<link href="/style.css" rel="stylesheet">
	</head>
	<body class="body-loading"">

		<!-- blahblahblah -->

		<!-- jquery setup -->
			<!-- jquery if you need it-->
				<script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
			<!-- framework w/ jquery -->
				<script src="framework/dist/framework.plugged.js"></script>

		<!-- no dependencies setup -->
			<!-- framework no jquery -->
				<script src="framework/dist/framework.js"></script>

		<!-- ya custom js -->
			<script src="/site.js"></script>
	</body>
</html>

and done

Body Classes

There are classes for our bod to be aware of

.body-loading

While javascript is initialized. some modules are at opacity: 0; while this is there. Add this to your html so shit can happen

.body-loaded

When bitch is ready. JS adds this shit, you don't have to fuck with it

.body-modal-active

Disables overflow scroll on the bod so user can focus on the active modal. JS adds this shit, you don't have to fuck with it

.body-nav-sticky-offset

Deprecated. Offsets the body to the set height of the nav

Theme Classes

Can be applied to the body or whatever

element

.theme-default

Applies default background-color and color properties

.theme-inverse

This switches color or background properties to allow inverse mode. good for supporting light and dark preferences

Back to TOC