summaryrefslogtreecommitdiffstats
path: root/sass/base/_layout.scss
blob: 24c67d8c799a98d1720f470c711dfabd83954b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
$max-width: 1000px;

@mixin square($property){
	width: $property;
	height: $property;
}
@mixin user-select($select){
	-moz-user-select: $select;
	-khtml-user-select: $select;
	-webkit-user-select: $select;
	-o-user-select: $select;
	user-select: $select;
}
@mixin border-shadow($top: #fff, $bottom: #ddd){
	border-top: 1px solid $top;
	border-bottom: 1px solid $bottom;
}
@mixin center($width, $height){
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: $width/(-2);
	margin-top: $height/(-2);
	width: $width;
	height: $height;
}

*{
	margin: 0;
	padding: 0;
}
body{
	font-family: $default;
	font-weight: 300;
	font-size: 14px;
	background: $background;
	color: $font-main;
}
h1{
	font-size: 2em;
}
h2{
	font-size: 1.5em;
}
h3{
	font-size: 1.3em;
}
a{
	text-decoration: none;
	outline-width: 0;
	color: $main;
}
.left{
	float: left;
}
.right{
	float: right;
}
.clear{
	clear: both;
}
.inner{
	width: $max-width;
	margin: 0 auto;
}

@media screen and (max-width: 1030px){
	body{
		margin: 0 30px;
	}
	.inner{
		width: 100%;
	}
}

@media screen and (max-width: 600px){
	body{
		font-size: 13px;
	}
}