-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
66 lines (55 loc) · 2.23 KB
/
style.css
File metadata and controls
66 lines (55 loc) · 2.23 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
/* --- Reset / Base --- */
html, body {
margin: 0;
padding: 0;
}
body {
box-sizing: border-box;
color: #373737;
background: #ffffff;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
a { color: #0F79D0; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
/* --- Layout containers --- */
.outer { width: 100%; }
.inner { position: relative; max-width: 980px; padding: 20px; margin: 0 auto; }
/* Header */
#header_wrap { background: linear-gradient(to top,#373737,#212121); color: #fff; }
#header_wrap .inner { padding: 40px 10px; }
#project_title { margin: 0; color: #fff; font-size: 42px; font-weight: 700; }
#project_tagline { color: #fff; font-size: 20px; font-weight: 300; margin-top: 8px; }
/* Main content area */
#main_content_wrap { background: #f2f2f2; border-top: 1px solid #111; border-bottom: 1px solid #111; }
#main_content { padding-top: 30px; }
/* Sidebar and main column */
.layout-two-column .inner { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 30px; }
.layout-two-column .sidebar { background: #ffffff; padding: 20px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.layout-two-column .main { background: #ffffff; padding: 30px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.layout-two-column img { max-width: 200px; border-radius: 6px; }
/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 10px 0; color: #222222; font-weight: 700; }
h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
p { margin: 10px 0 15px 0; }
ul { margin-left: 1.25rem; margin-bottom: 15px; }
/* Footer */
#footer_wrap { background: #212121; }
#footer_wrap .inner { padding: 15px 10px; text-align: center; }
#footer_wrap p { color: #f2f2f2; }
/* Responsive tweaks */
@media screen and (max-width: 720px) {
.layout-two-column .inner { grid-template-columns: 1fr; }
.layout-two-column img { max-width: 160px; }
}
@media screen and (max-width: 480px) {
body { font-size: 14px; }
.inner { padding: 20px; }
#project_title { font-size: 32px; }
h1 { font-size: 28px; }
}