-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
58 lines (48 loc) · 1.85 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@300&family=Montserrat:wght@300;500&display=swap');
:root {
--primary-color: #f3e6d3;
--link-color: #451d3c; /* Dark purple for hyperlinks */
--text-color: #434a42; /* Main text color */
}
body {
font-family: 'Montserrat', sans-serif; /* Updated to Montserrat for body text */
font-weight: 300; /* Light weight for body text */
color: var(--text-color); /* Set the text color */
font-size: 16px; /* Increased font size */
}
/* Keep medium weight and Montserrat for headers */
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif; /* Ensure headers use Montserrat */
font-weight: 500; /* Medium weight for headers */
}
/* Customize hyperlink colors */
a {
color: var(--link-color);
}
a:hover {
color: darken(var(--link-color), 15%);
}
/* This is a generic selector; you may need to adjust it based on your site's structure */
.subtitle, .about-subtitle {
text-align: center;
display: block;
}
/* New styles for header and footer text and icons */
header, .navbar, footer, .page-footer {
color: var(--text-color); /* Apply the main text color to header and footer */
font-family: 'Montserrat', sans-serif; /* Ensure headers/footer text uses Montserrat */
}
.navbar a, .page-footer a, .page-footer .icon, header a, header .icon {
color: var(--text-color); /* Ensure links and icons in header/footer use the text color */
}
/* Assuming .project-header is your header's class and .project-description for the body */
.project-header {
padding-bottom: 2em; /* Adjust padding as needed */
}
.project-description {
display: -webkit-box;
-webkit-line-clamp: 4; /* Allowing up to 4 lines */
-webkit-box-orient: vertical;
overflow: hidden;
padding-top: 1em; /* Adds padding between the header and this text, adjust if needed */
}