-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
28 lines (28 loc) · 1.59 KB
/
style.css
File metadata and controls
28 lines (28 loc) · 1.59 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
/* Scientific Repository Stylesheet */
:root {
--primary: #0366d6;
--secondary: #586069;
--bg: #ffffff;
--bg-alt: #f6f8fa;
--border: #e1e4e8;
--text: #24292e;
--accent: #28a745;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
header { background: var(--primary); color: white; padding: 2rem; text-align: center; }
header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
header .subtitle { opacity: 0.85; }
header a { color: #cce5ff; }
main { max-width: 900px; margin: 2rem auto; padding: 0 1.5rem; }
section { margin-bottom: 2rem; padding: 1.5rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; }
h2 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
ul { list-style: none; padding: 0; }
li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
li:last-child { border-bottom: none; }
code { display: block; background: #fff; border: 1px solid var(--border); padding: 1rem; border-radius: 4px; font-family: monospace; font-size: 0.9rem; word-break: break-all; }
.btn { display: inline-block; background: var(--accent); color: white; padding: 0.7rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; margin-top: 0.5rem; }
.btn:hover { opacity: 0.85; }
footer { text-align: center; padding: 1.5rem; color: var(--secondary); border-top: 1px solid var(--border); margin-top: 2rem; }
footer a { color: var(--primary); }
@media(max-width:600px){ header h1{font-size:1.3rem} main{padding:0 1rem} }