PranathReddy commited on
Commit
ac2a75f
·
verified ·
1 Parent(s): 1e6c5c6

Publish DeepLense organization card

Browse files
Files changed (2) hide show
  1. index.html +52 -17
  2. style.css +170 -17
index.html CHANGED
@@ -1,19 +1,54 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="description" content="DeepLense is an open-source research group developing machine-learning methods for strong gravitational lensing and AI for science.">
7
+ <title>DeepLense</title>
8
+ <link rel="stylesheet" href="style.css">
9
+ </head>
10
+ <body>
11
+ <main class="card">
12
+ <div class="lens-field" aria-hidden="true"><i></i><i></i><i></i></div>
13
+
14
+ <header class="brand-row">
15
+ <a class="brand" href="https://deeplense.org/" target="_blank" rel="noreferrer" aria-label="Visit the DeepLense website">
16
+ <svg viewBox="-6 -6 40 40" role="img" aria-label="DeepLense mark">
17
+ <circle cx="14" cy="14" r="13"></circle>
18
+ <path d="M21.31 15.69A7.5 7.5 0 1 1 15.69 6.69"></path>
19
+ <circle class="point" cx="23.83" cy="6.08" r="2.5"></circle>
20
+ </svg>
21
+ <span>DeepLense</span>
22
+ </a>
23
+ <p>Part of <a href="https://ml4sci.org/" target="_blank" rel="noreferrer">ML4SCI</a></p>
24
+ </header>
25
+
26
+ <section class="content">
27
+ <p class="eyebrow">Open research in machine learning, physics, and astronomy</p>
28
+ <h1>Machine learning for <em>strong gravitational lensing.</em></h1>
29
+ <p class="lede">We study dark matter through strong gravitational lenses and develop machine-learning methods for scientific data, connecting controlled simulation with astronomical observations and careful evaluation.</p>
30
+
31
+ <ul class="topics" aria-label="Research areas">
32
+ <li>Strong lensing</li>
33
+ <li>Dark matter</li>
34
+ <li>Scientific simulation</li>
35
+ <li>Foundation models</li>
36
+ <li>Neural operators</li>
37
+ <li>Scientific agents</li>
38
+ </ul>
39
+
40
+ <nav class="links" aria-label="DeepLense resources">
41
+ <a class="primary" href="https://deeplense.org/" target="_blank" rel="noreferrer">Visit the website</a>
42
+ <a href="https://deeplense.org/research" target="_blank" rel="noreferrer">Research</a>
43
+ <a href="https://deeplense.org/software" target="_blank" rel="noreferrer">Software</a>
44
+ <a href="https://github.com/ML4SCI/DeepLense" target="_blank" rel="noreferrer">GitHub</a>
45
+ </nav>
46
+ </section>
47
+
48
+ <footer>
49
+ <p>Open-source research and student programs supported through <a href="https://summerofcode.withgoogle.com/" target="_blank" rel="noreferrer">Google Summer of Code</a>.</p>
50
+ <a href="mailto:ml4-sci@cern.ch">ml4-sci@cern.ch</a>
51
+ </footer>
52
+ </main>
53
+ </body>
54
  </html>
style.css CHANGED
@@ -1,28 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: dark;
3
+ --surface: #0b1715;
4
+ --surface-2: #102d2c;
5
+ --ink: #edf4f0;
6
+ --muted: #aebdb8;
7
+ --mint: #91e3ae;
8
+ --line: rgba(237, 244, 240, .14);
9
+ }
10
+
11
+ * { box-sizing: border-box; }
12
+
13
+ html, body { margin: 0; min-height: 100%; }
14
+
15
  body {
16
+ background: transparent;
17
+ color: var(--ink);
18
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
19
+ }
20
+
21
+ a { color: inherit; }
22
+
23
+ .card {
24
+ position: relative;
25
+ min-height: 520px;
26
+ padding: clamp(24px, 5vw, 64px);
27
+ overflow: hidden;
28
+ border: 1px solid var(--line);
29
+ border-radius: 22px;
30
+ background:
31
+ radial-gradient(circle at 85% 16%, rgba(145, 227, 174, .12), transparent 28%),
32
+ linear-gradient(135deg, var(--surface), #0d211e 62%, var(--surface-2));
33
+ }
34
+
35
+ .brand-row,
36
+ .content,
37
+ footer { position: relative; z-index: 1; }
38
+
39
+ .brand-row {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: space-between;
43
+ gap: 24px;
44
+ }
45
+
46
+ .brand {
47
+ display: inline-flex;
48
+ align-items: center;
49
+ gap: 13px;
50
+ font-size: 23px;
51
+ font-weight: 750;
52
+ letter-spacing: -.03em;
53
+ text-decoration: none;
54
+ }
55
+
56
+ .brand svg { width: 42px; height: 42px; }
57
+ .brand svg circle:not(.point), .brand svg path { fill: none; stroke: var(--mint); stroke-width: 2; }
58
+ .brand svg path { stroke-width: 1; }
59
+ .brand svg .point { fill: var(--mint); }
60
+
61
+ .brand-row p {
62
+ margin: 0;
63
+ color: var(--muted);
64
+ font-size: 14px;
65
+ font-weight: 650;
66
+ }
67
+
68
+ .brand-row p a { color: var(--ink); text-decoration-color: rgba(237, 244, 240, .35); text-underline-offset: 4px; }
69
+
70
+ .content { max-width: 900px; margin-top: clamp(52px, 8vw, 92px); }
71
+
72
+ .eyebrow {
73
+ margin: 0 0 18px;
74
+ color: var(--mint);
75
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
76
+ font-size: 13px;
77
+ font-weight: 700;
78
+ letter-spacing: .12em;
79
+ text-transform: uppercase;
80
  }
81
 
82
  h1 {
83
+ max-width: 780px;
84
+ margin: 0;
85
+ font-size: clamp(40px, 7vw, 78px);
86
+ line-height: .98;
87
+ letter-spacing: -.055em;
88
  }
89
 
90
+ h1 em { color: var(--mint); font-family: Georgia, serif; font-weight: 400; }
91
+
92
+ .lede {
93
+ max-width: 760px;
94
+ margin: 26px 0 0;
95
+ color: var(--muted);
96
+ font-size: clamp(17px, 2.2vw, 21px);
97
+ line-height: 1.55;
98
  }
99
 
100
+ .topics {
101
+ display: flex;
102
+ flex-wrap: wrap;
103
+ gap: 8px;
104
+ margin: 28px 0 0;
105
+ padding: 0;
106
+ list-style: none;
107
+ }
108
+
109
+ .topics li {
110
+ padding: 8px 12px;
111
+ border: 1px solid var(--line);
112
+ border-radius: 999px;
113
+ color: #c8d6d1;
114
+ background: rgba(255, 255, 255, .035);
115
+ font-size: 14px;
116
+ }
117
+
118
+ .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
119
+
120
+ .links a {
121
+ min-height: 44px;
122
+ padding: 11px 17px;
123
+ border: 1px solid var(--line);
124
+ border-radius: 12px;
125
+ font-size: 15px;
126
+ font-weight: 700;
127
+ text-decoration: none;
128
+ transition: background .2s, border-color .2s, color .2s;
129
+ }
130
+
131
+ .links a:hover { border-color: rgba(145, 227, 174, .55); background: rgba(145, 227, 174, .08); }
132
+ .links a.primary { border-color: var(--mint); background: var(--mint); color: #0b1715; }
133
+ .links a.primary:hover { background: #b3f0c6; }
134
+
135
+ footer {
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: space-between;
139
+ gap: 24px;
140
+ margin-top: 52px;
141
+ padding-top: 20px;
142
+ border-top: 1px solid var(--line);
143
+ color: var(--muted);
144
+ font-size: 14px;
145
+ line-height: 1.5;
146
+ }
147
+
148
+ footer p { margin: 0; }
149
+ footer a { color: var(--ink); text-underline-offset: 4px; }
150
+
151
+ .lens-field { position: absolute; inset: 0; pointer-events: none; }
152
+ .lens-field::before,
153
+ .lens-field::after,
154
+ .lens-field i {
155
+ content: "";
156
+ position: absolute;
157
+ top: -44%;
158
+ right: -7%;
159
+ width: min(76vw, 720px);
160
+ aspect-ratio: 1;
161
+ border: 1px solid rgba(145, 227, 174, .10);
162
+ border-radius: 50%;
163
+ }
164
+ .lens-field::after { inset: auto -22% -86% auto; border-color: rgba(237, 244, 240, .07); }
165
+ .lens-field i:nth-child(1) { transform: scale(.82); }
166
+ .lens-field i:nth-child(2) { transform: scale(.64); }
167
+ .lens-field i:nth-child(3) { transform: scale(.46); }
168
+
169
+ @media (max-width: 640px) {
170
+ .card { min-height: 0; padding: 24px; border-radius: 16px; }
171
+ .brand-row { align-items: flex-start; }
172
+ .brand-row p { max-width: 100px; text-align: right; }
173
+ .content { margin-top: 56px; }
174
+ h1 { font-size: clamp(38px, 13vw, 58px); }
175
+ .lede { font-size: 17px; }
176
+ footer { align-items: flex-start; flex-direction: column; }
177
  }
178
 
179
+ @media (prefers-reduced-motion: reduce) {
180
+ .links a { transition: none; }
181
  }