File tree Expand file tree Collapse file tree 2 files changed +135
-5
lines changed
Expand file tree Collapse file tree 2 files changed +135
-5
lines changed Original file line number Diff line number Diff line change 44website :
55 title : " From Map to Analysis"
66 navbar :
7+ tools :
8+ - icon : github
9+ href : https://github.com/UCSB-Library-Research-Data-Services/from-maps-to-analysis
710 left :
811 - href : 01_make_map.qmd
912 text : " Make a map"
@@ -13,11 +16,12 @@ website:
1316 text : " Geospatial Analysis"
1417format :
1518 html :
16- theme :
17- - cosmo
18- - brand
19- css : styles.css
19+ css : styles.scss
2020 toc : true
21+ page-layout : full
22+ code-line-numbers : false
23+ code-fold : false
24+ code-tools : true
2125
2226
2327
Original file line number Diff line number Diff line change 1- /* css styles */
1+ /*-- scss:defaults --*/
2+
3+ // Import fonts
4+ @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' );
5+
6+ // fonts
7+ $font- family- sans- serif: 'Nunito' , sans-serif ;
8+ $font- family- serif: 'Sanchez' , serif ;
9+ $font- family- monospace: 'Roboto Mono' , monospace ;
10+
11+ / / color s
12+ $baby- blue: # d2e3f3 ;
13+ $teal: # 047C90;
14+ $dark- blue: # 003660;
15+ $white: # FFFFFF ;
16+ $yellow: # CC7722 ;
17+ $magenta: # 900C3F;
18+ $off- white: # F7F7F7 ;
19+ $gray: # ADADAD ;
20+ $dark- gray: # 373A3E;
21+ $peach: # DF8073 ;
22+
23+ / / quarto sass variables
24+ $navbar- bg: $off- white;
25+ $navbar- fg: $dark- blue;
26+ $navbar- hl: $teal;
27+ $body- bg: $white;
28+ $body- color : $dark- gray;
29+ $footer- bg: $dark- blue;
30+ $link- color : $yellow;
31+
32+ /*-- scss:rules --*/
33+
34+ / / header font & color
35+ h1 , h2 , h3 , h4 {
36+ font-family: $font- family- serif;
37+ color : $dark- blue;
38+ }
39+
40+ // line beneath h2
41+ h2 {
42+ border-bottom : 3px solid $dark-blue;
43+ padding-bottom : 0.5rem ;
44+ }
45+
46+ .large-fa-icon {
47+ font-size : 10.5em ;
48+ }
49+
50+ // XL body text
51+ .body-text-xl {
52+ font-size : 30px ;
53+ line-height : 1.7em ;
54+ margin-bottom : 1em ;
55+ }
56+
57+ // L body text
58+ .body-text-l {
59+ font-size : 25px ;
60+ line-height : 1.7em ;
61+ margin-bottom : 1em ;
62+ }
63+
64+ // M body text
65+ .body-text-m {
66+ font-size : 20px ;
67+ line-height : 1.7em ;
68+ margin-bottom : 1em ;
69+ }
70+
71+ // pink-box
72+ .pink-box {
73+ width : 800px ;
74+ padding : 10px ;
75+ border : 5px solid rgba (217 , 178 , 189 , 0.5 );
76+ margin : 0 auto;
77+ }
78+
79+ // gray text
80+ .gray-text {
81+ color: $gray;
82+ }
83+
84+ // teal text
85+ .teal-text {
86+ color: $teal;
87+ }
88+
89+ // pink text
90+ .pink-text {
91+ color: $magenta;
92+ }
93+
94+ // peach text
95+ .peach-text {
96+ color: $peach;
97+ }
98+
99+ // center text (horizontally)
100+ .center-text {
101+ text-align : center;
102+ }
103+
104+ // btn styling
105+ .btn {
106+ color: $teal;
107+ background- color : $white;
108+ bor der- color : $teal;
109+ }
110+
111+ // button hover styling
112+ .btn : hover {
113+ color: $yellow;
114+ background- color : $white;
115+ bor der- color : $yellow;
116+ }
117+
118+ .solutionbox {
119+ margin-top : 1em ;
120+ margin-bottom : 1em ;
121+ border-radius : .25rem ;
122+ border-left : solid # acacac .3rem ;
123+ border-right : solid 0.5px silver;
124+ border-top : solid 0.5px silver;
125+ border-bottom : solid 0.5px silver;
126+ border-left-color : $teal !important ;
127+ }
You can’t perform that action at this time.
0 commit comments