File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 3636 z-index : 999 ;
3737 top : 0 ;
3838 inset-inline : 0 ;
39- padding-inline : 2 rem ;
39+ padding-inline : 1 rem ;
4040 height : var (--header-height );
4141 backdrop-filter : blur (0.5rem );
4242 background-color : color-mix(in srgb , var (--color-base-100 ) 90% , transparent );
Original file line number Diff line number Diff line change 135135 flex : 1 ;
136136 display : flex ;
137137 overflow : hidden ;
138- padding-inline : 1rem ;
138+ padding : 1rem ;
139139 }
140140
141141 .hero-container {
Original file line number Diff line number Diff line change 5454</svelte:head >
5555
5656<Header />
57- <div class = " icons-container " >
57+ <main >
5858 <div class =" links" >
5959 <a href =" /" >
6060 <coreicons-shape-chevron variant =" left" ></coreicons-shape-chevron >
131131 </span >
132132 <span >Under the MIT license.</span >
133133 </footer >
134- </div >
134+ </main >
135135
136136<style >
137- .icons-container {
137+ main {
138138 margin-top : var (--header-height );
139139 max-width : 35rem ;
140140 margin-inline : auto ;
141141 display : flex ;
142142 flex-direction : column ;
143143 gap : 1rem ;
144+ padding : 1rem ;
144145
145146 .links {
146147 display : flex ;
223224
224225 .icons-grid-container {
225226 display : grid ;
226- grid-template-columns : repeat (8 , 1fr );
227+ grid-template-columns : repeat (6 , 1fr );
227228 gap : 0.5rem ;
228229
230+ @media (width >= 40rem ) {
231+ grid-template-columns : repeat (8 , 1fr );
232+ }
233+
229234 button {
230235 aspect-ratio : 1 /1 ;
231236 border-radius : 0.75rem ;
You can’t perform that action at this time.
0 commit comments