custom.scss 1.6 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
12
$ButterYellow: #FEDC00;

@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";

$custom-colors: (
    "ButterYellow": $ButterYellow
);
    
$theme-colors: map-merge($theme-colors, $custom-colors);

13
@import '~bootstrap/scss/bootstrap.scss';
Kim, Subin's avatar
Kim, Subin committed
14
15
@import '~bootstrap-icons/font/bootstrap-icons'; 

Kim, Subin's avatar
Kim, Subin committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@font-face {
    font-family: 'HangeulNuriB';
    src: url("../fonts/HangeulNuriB.ttf") format('truetype')
}

@font-face {
    font-family: 'HangeulNuriR';
    src: url("../fonts/HangeulNuriR.ttf") format('truetype')
}

* {
    font-family: "HangeulNuriB"
}

Kim, Subin's avatar
Kim, Subin committed
30
31
32
33
34
35
36
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
    justify-content: center;
}

한규민's avatar
한규민 committed
37
38
39
40
41
42
43
@font-face {
  font-family: 'HangeulNuri-Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_three@1.0/HangeulNuri-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

Kim, Subin's avatar
Kim, Subin committed
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
@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

/* medium and up screens */
@media (min-width: 768px) {
    
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
한규민's avatar
한규민 committed
70
71
72
73
74
}

// .nav-link{
//   color: yellow;
// }