_mixin_style.scss
1.78 KB
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
81
82
83
/* 游ゴシック
=========================================== */
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Medium");
font-weight: 100;
}
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Medium");
font-weight: 200;
}
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Medium");
font-weight: 300;
}
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Medium");
font-weight: 400;
}
@font-face {
font-family: "Yu Gothic";
src: local("Yu Gothic Bold");
font-weight: bold;
}
@mixin YuGothic() {
font-family: "Yu Gothic", YuGothic;
font-weight: 500;
}
@mixin transformFont(){
transform: scale( 1 , 1.4 );
}
/* 矢印
=========================================== */
@mixin arrow_r($width:6px, $height:6px, $color:#333){
content:"";
display: block;
width: $width;
height: $height;
border-right: 1px $color solid;
border-bottom: 1px $color solid;
transform: rotate(-45deg);
}
@mixin arrow_l($width:6px, $height:6px, $color:#333){
content:"";
display: block;
width: $width;
height: $height;
border-right: 1px $color solid;
border-bottom: 1px $color solid;
transform: rotate(45deg);
}
@mixin arrow_t($width:6px, $height:6px, $color:#333,$bwidth:1px){
content:"";
display: block;
width: $width;
height: $height;
border-right: $bwidth $color solid;
border-bottom: $bwidth $color solid;
transform: rotate(-135deg);
}
@mixin arrow_b($width:6px, $height:6px, $color:#333){
content:"";
display: block;
width: $width;
height: $height;
border-right: 1px $color solid;
border-bottom: 1px $color solid;
transform: rotate(45deg);
}
/* 角丸
=========================================== */
@mixin kadomaru($size:3px){
border-radius: $size;
-webkit-border-radius: $size;
-moz-border-radius: $size;
}