-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmixins.scss
53 lines (45 loc) · 1.02 KB
/
mixins.scss
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
@mixin flex-column {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
@mixin flex-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
}
@mixin odd-border {
border-width: 3px 3px 5px 5px;
border-radius:4% 95% 6% 95%/95% 4% 92% 5%;
transform: rotate(-2deg);
}
@mixin even-border {
border-width: 3px 4px 3px 5px;
border-radius:95% 4% 92% 5%/4% 95% 6% 95%;
transform: rotate(2deg);
}
@mixin even-border2{
border-width: 5px 3px 3px 5px;
border-radius:95% 4% 97% 5%/4% 94% 3% 95%;
transform: rotate(2deg);
}
@mixin odd-box-inner{
margin:15px;
transform: rotate(-2deg);
}
@mixin even-box-inner{
transform: rotate(2deg);
margin:15px;
padding:0 5px;
float:right;
background:#ddd;
border:1px solid #222;
box-shadow:3px 3px 0 #222;
}
@mixin grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto;
}