-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
132 lines (115 loc) · 2.38 KB
/
style.css
File metadata and controls
132 lines (115 loc) · 2.38 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
/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: #222;
background: #fff;
}
/* Header (hero) */
header {
width: 100%;
background: #003366; /* ETH-ish deep blue */
color: #f0f4f8;
box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.header-lower {
max-width: 980px;
margin: 0 auto;
padding: 28px 16px 20px;
text-align: center;
}
.header-lower h1 {
margin: 0;
font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
line-height: 1.2;
font-weight: 700;
}
.header-lower p {
margin: 10px 0 0;
font-size: clamp(1rem, 1vw + .6rem, 1.25rem);
font-weight: 400;
opacity: 0.95;
}
/* Nav (tabs) */
nav {
display: flex;
justify-content: center;
gap: 8px;
padding: 10px 8px 16px;
flex-wrap: wrap;
}
nav a {
text-decoration: none;
color: #f0f4f8;
padding: 6px 12px;
border-radius: 6px;
font-weight: 600;
transition: background .2s ease, color .2s ease;
border: 1px solid transparent;
}
nav a:hover { background: rgba(255,255,255,.15); }
nav a.active {
background: #f0f4f8;
color: #003366;
border-color: #e6ecf2;
}
nav a.disabled {
opacity: 0.55;
cursor: not-allowed;
}
/* Main content */
.content-container {
max-width: 980px;
margin: 28px auto 24px;
padding: 0 16px;
}
.readme-wrapper {
background: #fff;
border: 1px solid #eaecef;
border-radius: 12px;
padding: 24px;
box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
/* Make README headings look nice under the hero */
.readme-wrapper h1:first-child,
.readme-wrapper h2:first-child {
margin-top: 0;
}
/* Footer */
footer {
background: #f8f9fb;
margin-top: 40px;
border-top: 1px solid #eaecef;
}
.footer-container {
max-width: 980px;
margin: 0 auto;
padding: 22px 16px;
}
.footer-logos {
display: flex;
gap: 24px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 12px;
}
.footer-logos img {
height: 42px;
width: auto;
display: block;
}
footer p {
margin: 0;
text-align: center;
color: #4b5563;
font-size: 0.95rem;
}
/* README content niceties */
.readme-wrapper img { max-width: 100%; height: auto; }
.readme-wrapper pre { overflow: auto; }
.readme-wrapper code, .readme-wrapper pre code {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}