Skip to content

Commit 0804661

Browse files
committed
Front page: fit 320 px phones (smaller header, single-column tool grid)
1 parent 5f6b585 commit 0804661

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎index.html‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@
117117
@media (max-width: 980px) {
118118
.nav { display: none; }
119119
#lang { margin-left: auto; }
120-
.tools .tool { grid-column: 1 / -1; }
120+
.tools { grid-template-columns: 1fr; }
121+
.tools .tool { grid-column: auto; }
121122
.shot { height: auto; aspect-ratio: 16 / 10; }
122123
.news-grid { grid-template-columns: 1fr; gap: 20px; }
123124
.links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@@ -135,6 +136,12 @@
135136
.links { grid-template-columns: 1fr; }
136137
footer .wrap { grid-template-columns: 1fr; }
137138
}
139+
@media (max-width: 420px) {
140+
.top .wrap { gap: 12px; }
141+
.brand { font-size: 16px; gap: 8px; font-variation-settings: "wdth" 100; }
142+
.brand svg { width: 26px; height: 26px; }
143+
#lang { padding: 5px 11px; font-size: 13px; }
144+
}
138145
</style>
139146
</head>
140147
<body>

0 commit comments

Comments
 (0)