cultureyes-stack commited on
Commit
2c55f9d
·
verified ·
1 Parent(s): e6232e7

Publish Cultureyes organization landing page

Browse files
Files changed (1) hide show
  1. style.css +59 -20
style.css CHANGED
@@ -1,28 +1,67 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
1
+ :root {
2
+ color-scheme: light;
3
+ --ink: #142b2a;
4
+ --muted: #65716b;
5
+ --paper: #f5f2e9;
6
+ --card: #fffdf8;
7
+ --line: #ddd9ce;
8
+ --green: #176d56;
9
+ --gold: #bd8d42;
10
  }
11
 
12
+ * { box-sizing: border-box; }
 
 
 
13
 
14
+ body {
15
+ margin: 0;
16
+ background: var(--paper);
17
+ color: var(--ink);
18
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
19
+ line-height: 1.6;
20
  }
21
 
22
+ .shell { width: min(100% - 40px, 1020px); margin: 0 auto; }
23
+ .hero { padding: clamp(64px, 10vw, 112px) 0 68px; border-bottom: 1px solid var(--line); }
24
+ .eyebrow { margin: 0 0 13px; color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
25
+ h1, h2, h3, p { margin-top: 0; }
26
+ h1 { margin-bottom: 16px; font-size: clamp(42px, 8vw, 78px); line-height: .98; letter-spacing: -.065em; }
27
+ h1 span { color: var(--green); font-weight: 450; }
28
+ .lead { max-width: 660px; margin-bottom: 18px; color: #40514b; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.5; }
29
+ .languages { margin: 0; color: var(--muted); font-size: 14px; }
30
+ .releases { padding: 62px 0; }
31
+ .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
32
+ .section-heading .eyebrow { margin: 0; }
33
+ h2 { margin-bottom: 0; font-size: clamp(25px, 4vw, 36px); letter-spacing: -.04em; }
34
+ .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
35
+ .release-card { display: flex; min-height: 238px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
36
+ .release-card:hover { transform: translateY(-3px); border-color: #9db9aa; box-shadow: 0 14px 32px #142b2a12; }
37
+ .release-card:focus-visible, .arabic-links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
38
+ .size { color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .14em; }
39
+ h3 { margin: 10px 0 7px; font-size: 25px; letter-spacing: -.03em; }
40
+ .release-card p { max-width: 430px; margin-bottom: 22px; color: var(--muted); }
41
+ .link-label { margin-top: auto; color: var(--green); font-size: 14px; font-weight: 700; }
42
+ .work { padding: 48px 0 58px; border-top: 1px solid var(--line); }
43
+ .work h2 { margin-bottom: 24px; }
44
+ .work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
45
+ .work-grid p { margin: 0; color: var(--muted); font-size: 14px; }
46
+ .work-grid strong { color: var(--ink); font-size: 17px; }
47
+ .arabic { margin: 16px 0 56px; padding: clamp(24px, 5vw, 42px); border-radius: 14px; background: #e8eee6; }
48
+ .arabic .eyebrow { letter-spacing: 0; }
49
+ .arabic h2 { margin: 0 0 12px; font-size: 32px; }
50
+ .arabic > p:not(.eyebrow) { max-width: 720px; margin-bottom: 18px; color: #40514b; font-size: 18px; }
51
+ .arabic-links { display: flex; flex-wrap: wrap; gap: 10px; }
52
+ .arabic-links a { padding: 8px 13px; border: 1px solid #b7c9bd; border-radius: 999px; color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
53
+ footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
54
+
55
+ @media (max-width: 650px) {
56
+ .shell { width: min(100% - 28px, 1020px); }
57
+ .hero { padding-top: 62px; }
58
+ .section-heading { display: block; }
59
+ .section-heading h2 { margin-top: 10px; }
60
+ .cards, .work-grid { grid-template-columns: 1fr; }
61
+ .release-card { min-height: 210px; }
62
+ footer { flex-direction: column; gap: 5px; }
63
  }
64
 
65
+ @media (prefers-reduced-motion: reduce) {
66
+ *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
67
  }