File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ import CherryBlossoms from './CherryBlossoms.astro';
8181 background-image: url(../assets/kando-logo-postfix-light.svg);
8282 }
8383
84- .tagline {
84+ .hero > img {
85+ max-width: 500px;
8586 }
8687
8788 @media (min-width: 50rem) {
Original file line number Diff line number Diff line change @@ -31,24 +31,20 @@ const { type, href } = Astro.props;
3131 padding: 2rem 2rem;
3232 margin-top: 0;
3333 position: relative;
34- text-decoration: none !important;
3534 color: var(--sl-white);
3635 transition:
3736 color 0.3s ease,
3837 transform 0.3s ease;
3938
40- mask-image: url('../assets/image-mask.jpg');
41- mask-mode: luminance;
42- mask-size: 100% 100%;
43-
4439 &:hover {
4540 transform: scale(1.03);
4641 }
4742
4843 &.feature {
4944 align-items: center;
5045 text-align: center;
51- width: calc(200px + 10vw);
46+ width: calc(300px + 5vw);
47+ text-decoration: none;
5248
5349 .icon {
5450 font-size: 2rem;
@@ -90,21 +86,6 @@ const { type, href } = Astro.props;
9086 text-align: center;
9187 width: calc(100px + 10vw);
9288
93- &::before {
94- content: '';
95- position: absolute;
96- top: 0;
97- left: 0;
98- width: 100%;
99- height: 100%;
100- z-index: -1;
101-
102- background-color: var(--sl-color-accent-low);
103- border-radius: 3rem;
104-
105- opacity: 0.4;
106- }
107-
10889 &:hover {
10990 color: var(--sl-color-accent-high);
11091 }
@@ -125,4 +106,10 @@ const { type, href } = Astro.props;
125106 }
126107 }
127108 }
109+
110+ @media (max-width: 30rem) {
111+ .grid-item {
112+ width: 90vw !important;
113+ }
114+ }
128115</style >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const { type } = Astro.props;
3030
3131<style >
3232 .show-case-item {
33- margin-top: 5rem !important ;
33+ margin-top: 7em ;
3434 display: flex;
3535 flex-direction: column;
3636 align-items: center;
@@ -65,7 +65,6 @@ const { type } = Astro.props;
6565
6666 @media (min-width: 50rem) {
6767 .show-case-item {
68- margin-top: 10rem !important;
6968 gap: 5vw;
7069 flex-direction: row;
7170 }
Original file line number Diff line number Diff line change 1717 - text : Read the Docs
1818 link : /intro/
1919 icon : right-arrow
20- - text : Download from GitHub
20+ - text : Download on GitHub
2121 link : https://github.com/kando-menu/kando/releases
2222 icon : external
2323 variant : minimal
@@ -51,14 +51,9 @@ import achievements from '../../assets/achievement-screen.png';
5151
5252<ShowCase >
5353
54- <ShowCaseItem type = " centered" >
55- <div slot = " description" >
56- <img style = " width: 160px; margin: 0 auto;" src = { icon .src } />
57- </div >
58- </ShowCaseItem >
59-
6054<ShowCaseItem type = " centered" >
61- <div slot = " title" style = " text-align: center; margin-top: -7rem;" >
55+ <div slot = " title" style = " text-align: center" >
56+ <img style = " width: 3em; margin: 0 auto 1em auto" src = { icon .src } />
6257 Master your workflow with <span class = " sakura-font" >Kando</span >.
6358 </div >
6459 <div slot = " description" style = " margin: 0 10% 10% 10%" >
@@ -124,7 +119,7 @@ import achievements from '../../assets/achievement-screen.png';
124119</ShowCaseItem >
125120
126121<ShowCaseItem type = " fullwidth" >
127- <div slot = " description" style = " margin: -7rem auto 0 auto; max-width: 2000px" >
122+ <div slot = " description" style = " margin: -3em auto 0 auto; max-width: 2000px" >
128123 <ShowCaseGrid >
129124 <ShowCaseGridItem type = " feature" >
130125 <Icon slot = " icon" name = " solar:rocket-bold-duotone" />
@@ -216,10 +211,12 @@ import achievements from '../../assets/achievement-screen.png';
216211 centeredSlides: true ,
217212 slideToClickedSlide: true ,
218213 slidesPerView: " auto" ,
214+ initialSlide: 1 ,
219215 coverflowEffect: {
220216 rotate: 0 ,
221- stretch: 300 ,
222- depth: 1000 ,
217+ stretch: 0 ,
218+ depth: 800 ,
219+ modifier:2 ,
223220 slideShadows: false ,
224221 },
225222 pagination: {
You can’t perform that action at this time.
0 commit comments