Skip to content
Snippets Groups Projects
Commit c9f2c34d authored by Gabriel Copat's avatar Gabriel Copat
Browse files

Minor updates to CSS

parent 1148b943
No related branches found
No related tags found
1 merge request!11Resolve "As a user, I want to see all trails across a town and seamlessly move between them."
...@@ -8,7 +8,7 @@ import java.util.List; ...@@ -8,7 +8,7 @@ import java.util.List;
@Data @Data
public class Trail { public class Trail {
public static List<Trail> trails = List.of( public static List<Trail> trails = List.of(
new Trail(1,"Trail1", "This is trail one"), new Trail(1,"Caerphilly Castle Trail", "Take a stroll through the grounds of one of Europe's finest historic buildings and you will see stunning views of the castle and the lakes. The route of the trail is marked with eight special circular markers, which depict various fascinating historical facts relating to the castle. Pupils from Ysgol Gynradd Gymraeg Caerffili, Plasyfelin Junior School, Ysgol Y Castell and Twyn Primary worked with the artist to come up with the different designs. You do not need to pay to go in the castle to complete this trail. This Trail is fairly short at 1.5 miles and very suitable for wheelchairs and pushchairs as the route stays mostly on well-marked and ramped paths with just a couple of short diversions onto grassed areas."),
new Trail(2,"Trail2", "This is trail two"), new Trail(2,"Trail2", "This is trail two"),
new Trail(3,"Trail3", "This is trail three"), new Trail(3,"Trail3", "This is trail three"),
new Trail(4,"Trail4", "This is trail four"), new Trail(4,"Trail4", "This is trail four"),
......
...@@ -91,18 +91,23 @@ main { ...@@ -91,18 +91,23 @@ main {
border: black solid 1px; border: black solid 1px;
margin: 1%; margin: 1%;
flex: 1 1; flex: 1 1;
min-width: 20%; min-width: 20%;
max-width: 40%; max-width: 40%;
min-height: 20svh; min-height: 20svh;
max-height: 40svh; max-height: 90%;
overflow: hidden;
} }
& p { & p {
color: white; color: white;
flex: 1 1; flex: 1 1;
padding-top: 5px; padding: 5%;
padding-left: 10px;
width: 60%; width: 60%;
border-left: solid darkgrey 2px; border-left: solid darkgrey 2px;
font-size: x-large;
text-align: justify;
text-justify: inter-character;
line-height: 1.5;
} }
} }
......
src/main/resources/static/images/trails/trail1.jpg

833 KiB | W: | H:

src/main/resources/static/images/trails/trail1.jpg

53.3 KiB | W: | H:

src/main/resources/static/images/trails/trail1.jpg
src/main/resources/static/images/trails/trail1.jpg
src/main/resources/static/images/trails/trail1.jpg
src/main/resources/static/images/trails/trail1.jpg
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment