This repository was archived by the owner on May 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgesis_style.css
More file actions
196 lines (165 loc) · 4.63 KB
/
gesis_style.css
File metadata and controls
196 lines (165 loc) · 4.63 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
p {
text-align: justify;
}
.logo {
position: fixed;
top: 20px; /* Adjust the top distance from the page */
left: 20px; /* Adjust the right distance from the page */
width: 400px; /* Set the width of the logo */
z-index: 1000; /* Ensure it's on top of other elements */
}
/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');
/* Define color variables */
:root {
--dark-blue: #003C78; /* Dark Blue */
--pink: #D20064; /* Pink */
}
/* Hyperlinks */
a {
color: var(--pink); /* Pink */
text-decoration: none;
}
/* Author links inside any paragraph or header */
p a,
header a,
.author a {
color: var(--dark-blue) !important; /* Force dark blue for author links */
text-decoration: none; /* Remove underline for author links */
}
p a:hover,
header a:hover,
.author a:hover {
text-decoration: underline; /* Optional underline on hover */
}
/* General text styles */
body, p {
font-family: 'Source Sans Pro', sans-serif;
font-weight: 400; /* Regular */
font-size: 1em; /* Standard body size */
line-height: 1.6; /* Adjust for readability */
color: var(--dark-blue); /* Dark Blue */
margin-bottom: 1em;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: 'Cabin', sans-serif;
font-weight: 700; /* Bold */
color: var(--dark-blue); /* Dark Blue */
margin-top: 1.5em;
margin-bottom: 0.75em;
}
/* Italicized text */
em {
font-style: italic;
/* Inherit color from parent (dark blue) */
}
/* Bold text */
strong {
font-weight: bold;
/* Inherit color from parent (dark blue) */
}
a:hover {
text-decoration: underline; /* Optional underline on hover */
}
/* Additional styling as needed */
/* Base styles for custom callouts */
.callout-yellow, .callout-orange, .callout-turquoise,
.callout-rust, .callout-olive, .callout-rose, .callout-petrol {
border-left: 6px solid;
padding: 1em;
margin: 1.5em 0;
border-radius: 4px;
background-color: #f9f9f9; /* Light background for contrast */
}
/* Yellow Callout */
.callout-yellow {
border-left-color: #FAD205;
}
/* Orange Callout */
.callout-orange {
border-left-color: #F08741;
}
/* Turquoise Callout */
.callout-turquoise {
border-left-color: #64AFAF;
}
/* Rust Callout */
.callout-rust {
border-left-color: #AA4137;
}
/* Olive Callout */
.callout-olive {
border-left-color: #699E6E;
}
/* Rose Callout */
.callout-rose {
border-left-color: #C873A0;
}
/* Petrol Callout */
.callout-petrol {
border-left-color: #006A82;
}
/* Headings inside callouts */
.callout-yellow h2, .callout-orange h2, .callout-turquoise h2,
.callout-rust h2, .callout-olive h2, .callout-rose h2, .callout-petrol h2 {
margin-top: 0;
color: inherit;
}
/* Text inside callouts */
.callout-yellow p, .callout-orange p, .callout-turquoise p,
.callout-rust p, .callout-olive p, .callout-rose p, .callout-petrol p {
margin: 0.5em 0 0 0;
}
/* Define your spot colors */
:root {
--yellow: #FAD205;
--orange: #F08741;
--olive: #699E6E;
--rust: #AA4137;
}
/* Callout - Caution (Yellow) */
.callout-caution {
border-left-color: #FAD205;
background-color: rgba(250, 210, 5, 0.1); /* Light yellow background for the block content */
}
.callout-caution .callout-title {
background-color: #FAD205; /* Solid yellow background for the title */
color: #333; /* Dark text color for contrast */
}
/* Callout - Important (Orange) */
.callout-important {
border-left-color: #F08741;
background-color: rgba(240, 135, 65, 0.1); /* Light orange background for the block content */
}
.callout-important .callout-title {
background-color: #F08741; /* Solid orange background for the title */
color: #fff; /* White text color for better contrast */
}
/* Callout - Warning (Rust) */
.callout-warning {
border-left-color: #AA4137;
background-color: rgba(170, 65, 55, 0.1); /* Light rust background for the block content */
}
.callout-warning .callout-title {
background-color: #AA4137; /* Solid rust background for the title */
color: #fff; /* White text color for better contrast */
}
/* Callout - Tip (Turquoise) */
.callout-tip {
border-left-color: #64AFAF;
/* Ensure text color remains unchanged inside callouts */
.callout-caution,
.callout-important,
.callout-warning,
.callout-tip {
color: inherit; /* Inherit text color from parent */
}
/* Optional: Adjust callout styles for consistency */
.callout {
border-left-width: 4px; /* Adjust border width if desired */
padding: 1em;
margin: 1.5em 0;
border-radius: 4px;
}