-
Notifications
You must be signed in to change notification settings - Fork 0
/
meds-website-styles.scss
108 lines (90 loc) · 2.05 KB
/
meds-website-styles.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/*-- scss:defaults --*/
// import fonts
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Nunito:wght@300;800&family=Roboto+Mono:wght@300;400&family=Sanchez&display=swap');
// fonts
$font-family-sans-serif: 'Nunito', sans-serif; // body text
$font-family-serif: 'Sanchez', serif; // headers
$font-family-monospace: 'Roboto Mono', monospace; // code
// colors
$baby-blue: #d2e3f3;
$teal: #047C90;
$dark-blue: #003660;
$green: #78A540;
$white: #FFFFFF;
$off-white: #F7F7F7;
$gray: #ADADAD;
$dark-gray: #373A3E;
// quarto sass variables (see https://quarto.org/docs/output-formats/html-themes.html#sass-variables)
$navbar-bg: $off-white; // navbar background color
$navbar-fg: $dark-blue; // navbar text color
$navbar-hl: $teal; // navbar text hover oclor
$body-bg: $white; // page body background color
$body-color: $dark-gray; // page body text color
$footer-bg: $dark-blue; // page footer background color
$link-color: $green; // hyperlink color
/*-- scss:rules --*/
// header font & color
h1, h2, h3, h4 {
font-family: $font-family-serif;
color: $dark-blue;
}
// line style (which is automatically added beneath a level-2 header)
h2 {
border-bottom: 3px solid $dark-blue;
padding-bottom: 0.5rem;
}
// render a larger font awesome icon
.large-fa-icon {
font-size: 2.5em;
}
// XL body text
.body-text-xl {
font-size: 30px;
line-height: 1.7em;
margin-bottom: 1em;
}
// L body text
.body-text-l {
font-size: 25px;
line-height: 1.7em;
margin-bottom: 1em;
}
// M body text
.body-text-m {
font-size: 20px;
line-height: 1.7em;
margin-bottom: 1em;
}
// S body text
.body-text-s {
font-size: 14px;
line-height: 0.3em;
}
// gray text
.gray-text {
color: $gray;
}
// teal text
.teal-text {
color: $teal;
}
// dark blue text
.dark-blue-text {
color: $dark-blue;
}
// center text (horizontally)
.center-text{
text-align: center;
}
// btn styling
.btn {
color: $teal;
background-color: $white;
border-color: $teal;
}
// button hover styling
.btn:hover {
color: $green;
background-color: $white;
border-color: $green;
}