Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (88 loc) · 2.11 KB
/
Copy pathstyle.css
File metadata and controls
102 lines (88 loc) · 2.11 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
/* Add logo at the top of the page */
/* body::before {
content: "";
display: block;
background-image: url("/mathpeat/mathpeat.jpg");
background-size: contain;
background-repeat: no-repeat;
background-position: center top;
height: 200px;
margin-bottom: 0rem;
} */
/* Hide the "View on GitHub" button */
/* .page-header .btn {
display: none !important;
} */
.site-footer {
text-align: center;
padding: 1em;
font-size: 0.95em;
background-color: #f8f8f8;
color: #333;
}
/* --- MathPeat header & nav adjustments --- */
/* Reduce vertical space in the header */
.page-header {
padding-top: 0.6rem; /* reduce top space */
padding-bottom: 0.6rem; /* reduce bottom space */
}
/* Logo sizing and spacing */
.page-header img {
max-width: 180px; /* smaller logo */
height: auto;
display: block;
margin: 0 auto 0.6rem;
}
/* Title / subtitle spacing (tighter) */
.page-header .project-name {
margin: 0.2rem 0 0.4rem;
font-size: 3rem; /* adjust big title size; tweak as needed */
line-height: 1.05;
color: #ffffff; /* keep title white on gradient */
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.page-header .project-tagline {
margin: 0 0 0.6rem;
color: rgba(255,255,255,0.9);
font-size: 1.1rem;
}
/* Make the nav prominent and white */
.site-nav {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
.site-nav p {
margin: 0;
padding: 0.25rem 0;
text-align: center;
}
/* Nav links: larger and white */
.site-nav a {
color: #ffffff !important; /* force white */
text-decoration: none;
font-weight: 600;
font-size: 1.05rem; /* larger nav text */
margin: 0 0.6rem;
padding: 0.15rem 0.35rem;
}
/* subtle hover */
.site-nav a:hover,
.site-nav a:focus {
color: #e6f7f2 !important;
text-decoration: underline;
}
/* If the Cayman header background is dark, ensure contrast for small screens */
@media (max-width: 640px) {
.page-header .project-name {
font-size: 2rem;
}
.site-nav a {
display: inline-block;
font-size: 0.98rem;
margin: 0 0.35rem;
}
.page-header {
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
}