Skip to content

Commit 4b7337b

Browse files
committed
more illo work
1 parent f3a78ab commit 4b7337b

File tree

11 files changed

+30
-13
lines changed

11 files changed

+30
-13
lines changed

src/_includes/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/_includes/doc-grid.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ul class='doc-grid'>
22
{%- for doc in collections.docs %}
33
<li {% if doc.url == page.url -%} class="doc-list-active" {%- endif -%}>
4-
<img src="/img/{{ doc.data.title | slug }}.png" />
4+
<img src="/img/{{ doc.data.title | slug }}.png" class='pixel' />
55
<h2><a href="{{ doc.url }}">{{ doc.data.title }}</a></h2>
66
<p>{% excerpt doc %}</p>
77
</li>

src/_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header>
2-
<img src="/img/logo.png" width="100" class='pixel' />
2+
<img src="/img/logo.png" width="64" class='' />
33
<h1>
4-
<span role='img' aria-label='Hammer and wrench emoji'>🛠</span> <a href='/'>designsystems.dev</a>
4+
<a href='/'>designsystems.dev</a>
55
</h1>
66

77
<p>{{ pkg.description }}</p>

src/img/components.png

-22.1 KB
Loading

src/img/design-tokens.png

-382 Bytes
Loading

src/img/logo.png

7.42 KB
Loading

src/img/taxonomy.png

-327 KB
Loading

src/img/tools.png

79.2 KB
Loading

src/styles/doc.css

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,42 @@ nav.toc ol ol {
77
}
88

99
img.doc-header-image {
10-
max-width: none;
11-
width: calc(100% + 10em);
12-
margin-left: -5em;
10+
/* max-width: none; */
11+
/* width: calc(100% + 10em);
12+
margin-left: -5em; */
13+
width: 100%;
1314
}
1415

1516
ul.doc-grid {
1617
padding: 0;
17-
display: flex;
18+
/* display: flex;
1819
flex-wrap: wrap;
19-
margin: -0.5em -0.5em 0;
20+
margin: -0.5em -0.5em 0; */
21+
22+
--auto-grid-min-size: 20rem;
23+
display: grid;
24+
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
25+
grid-gap: 3rem;
26+
}
27+
28+
@media screen and (max-width: 30rem) {
29+
ul.doc-grid {
30+
--auto-grid-min-size: 100%;
31+
}
2032
}
2133

2234
ul.doc-grid li {
2335
list-style-type: none;
2436
display: block;
25-
width: 100%;
37+
/* width: 50%;
2638
padding: 0.5em 0.5em 0;
39+
min-width: 30ch; */
2740
}
2841

2942
ul.doc-grid img {
3043
/* height: 180px; */
31-
width: 100%;
32-
object-fit: cover;
44+
/* width: 100%;
45+
object-fit: cover; */
3346
margin-bottom: 0.5em;
3447
}
3548

src/styles/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:root {
2+
--wrapper-max-width: 100ch;
3+
}
4+
15
/* body {
26
background: #151515;
37
color: white;

0 commit comments

Comments
 (0)