File tree Expand file tree Collapse file tree 7 files changed +94
-2
lines changed
Expand file tree Collapse file tree 7 files changed +94
-2
lines changed Original file line number Diff line number Diff line change 8989 margin-right : auto;
9090}
9191
92+ .gallery-images {
93+ display : flex;
94+ flex-wrap : nowrap;
95+ gap : 5em ;
96+ width : 25% ;
97+
98+
99+ }
100+
92101/* main heading */
93102h1 {
94103 font-size : 3em ;
@@ -128,6 +137,21 @@ h2 {
128137 line-height : 1.8 ;
129138}
130139
140+ /* table styling */
141+ .table {
142+ width : 50% ;
143+ border-collapse : separate;
144+ border-spacing : 10px 10px ;
145+ background-color : yellow;
146+ color : black;
147+ margin : auto;
148+ }
149+
150+ .table th ,
151+ .table td {
152+ text-align : left;
153+ }
154+
131155/*form submission css*/
132156form {
133157 background-color : yellow;
@@ -139,6 +163,20 @@ form {
139163 text-align : center;
140164}
141165
166+ .submit-button {
167+ background-color : black;
168+ color : yellow;
169+ border : none;
170+ padding : 10px 20px ;
171+ font-size : 1em ;
172+ border-radius : 5px ;
173+ }
174+
175+ .submit-button : hover {
176+ background-color : red;
177+ color : black;
178+ }
179+
142180/* footer at bottom */
143181footer {
144182 bottom : 0 ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,4 +12,41 @@ import Layout from '../layouts/Layout.astro';
1212 Saykan Combat offers a supportive environment to help you achieve your goals.</p >
1313
1414 <p ><a href =" https://fmacombat.wordpress.com/about/" >Learn more about Saykan Combat</a ></p >
15+
16+ <table class =" table" >
17+ <h2 >Pricing</h2 >
18+ <thead >
19+ <tr >
20+ <th >Option</th >
21+ <th >Price</th >
22+ </tr >
23+ </thead >
24+ <tbody >
25+ <tr >
26+ <td class =" dot" ><span >First class:</span ></td >
27+ <td >Free</td >
28+ </tr >
29+ <tr >
30+ <td class =" dot" ><span >Afterwards:</span ></td >
31+ <td >€10 per session</td >
32+ </tr >
33+ </tbody >
34+ </table >
35+
36+ <table class =" table" >
37+ <h2 >Equipment</h2 >
38+ <thead >
39+ <tr >
40+ <th >Item</th >
41+ <th >Quantity</th >
42+ </tr >
43+ </thead >
44+ <tbody >
45+ <tr >
46+ <td class =" dot" ><span >Kali sticks</span ></td >
47+ <td >×2</td >
48+ </tr >
49+ </tbody >
50+ </table >
51+
1552</Layout >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import Layout from '../layouts/Layout.astro';
2121
2222 <label for =" phone" >Phone Number:</label ><br >
2323
24- <input type =" tel" id =" phone" name =" phone" ><br ><br >
24+ <input type =" tel" id =" phone" name =" phone" required ><br ><br >
2525
2626 <label for =" subject" >Subject:</label ><br >
2727
@@ -31,7 +31,7 @@ import Layout from '../layouts/Layout.astro';
3131
3232 <textarea id =" message" name =" message" rows =" 4" required ></textarea ><br ><br >
3333
34- <strong ><a href =" ./contact2" ><button type =" button" >Submit</button ></a ></strong >
34+ <strong ><a href =" ./contact2" ><button type =" button" class = " submit-button " >Submit</button ></a ></strong >
3535
3636 </form >
3737
Original file line number Diff line number Diff line change @@ -6,4 +6,21 @@ import Layout from '../layouts/Layout.astro';
66
77<Layout >
88 <h1 >Gallery</h1 >
9+
10+ <br >
11+ <picture class =" gallery-images" >
12+ <source srcset =" images/img1.png" media =" (max-width: 400px)" />
13+ <img src =" images/img1.png" alt =" Image 1" style =" width: 50%; height: auto;" />
14+
15+ <source srcset =" images/escrima.jpg" media =" (max-width: 400px)" />
16+ <img src =" images/escrima.jpg" alt =" Image 2" style =" width: 50%; height: auto;" />
17+
18+ <source srcset =" images/img2.jpg" media =" (max-width: 400px)" />
19+ <img src =" images/img2.jpg" alt =" Image 3" style =" width: 50%; height: auto;" />
20+
21+ <source srcset =" images/img3.jpg" media =" (max-width: 400px)" />
22+ <img src =" images/img3.jpg" alt =" Image 4" style =" width: 50%; height: auto;" />
23+
24+ </picture >
25+
926</Layout >
You can’t perform that action at this time.
0 commit comments