Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,44 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<title>Alexandra Park</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Wireframe</h1>
<main>
<h1>Alexandra Park</h1>
<p>
This is the default, provided code and no changes have been made yet.
The Park was opened to the public in 1870 and was designed by Alexander Hennell. The design of the Park was experimental in its use of oval shaped and curved pathways, which contrasted with the more rigid geometry seen previously in Victorian landscapes. It is located between the vibrant communities of Whalley Range & Moss Side, just off Princess Road and covers 60 acres.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="">Read more</a>
</article>
</main>
<img src="http://images.ontheplatform.org.uk/sites/default/files/styles/large_1x/public/ATT00001.jpeg?itok=6RBXGlrQ" alt="" />

<article>
<h3>Sports and Physical Activity</h3>
<ul>
<li>Cricket - The park boasts a club standard cricket pitch with changing rooms which is used by several cricket clubs from the local community and compete in local cricket leagues.</li>
<li>Football - The park has a full size football pitch with changing rooms with adult teams playing in the Manchester Amateur League. A Junior Football club is also being developed in the park.</li>
<li>Cycling - Whalley Range on wheels delivers women only cycling sessions in the park and also general bike maintenance sessions.</li>
<li>Tennis - The park has 4 porous macadam courts. Tennis Manchester delivers a community tennis coaching programme from Tots to adults and also social tennis sessions.</li>
</ul>
<a href="https://www.alexandraparkmanchester.org/sports">Details found here</a>
</article>
<article>
<h4>Park History</h4>
<p>Alexandra Park is one of Manchester’s earliest and most intact Victorian Parks. In 1995 the park was listed Grade 2 on the English Heritage Register of Parks and Gardens. The 60 acre site for the Park was bought by Manchester Corporation and laid out between 1868 and 1870. The design was the subject of an architect’s competition which was won by Alexander Gordon Hennell of Chancery Lane, London. Hennell’s winning design was ahead of its time integrating the provision of traditional ornamental features and sporting facilities, something we take for granted in parks today. The design exploited the flat and featureless site by creating a series of broad sweeping and curved footpaths, perfect for the Victorian fashion of park promenading, whilst defining the oval activity areas. The heritage forum are a friendly volunteer group who are interested in the history of the park and the local area. If you want to get involved with research, planning and putting on events and bringing history to life in the park get in touch.</p>
<a href="https://www.alexandraparkmanchester.org/park-history">Here</a>
</article>
<article>
<title>How to find the park</title>
<h5>How to find us</h5>
<p>The park is very accesible for those coming by bus or car. There are several buses that pass the park and it has it's own car park for those driving.</p>
<a href="https://www.alexandraparkmanchester.org/find-us"
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
<a href="https://www.alexandraparkmanchester.org/">Visit Here</a>
</p>
</footer>
</body>
</html>
[=]
93 changes: 10 additions & 83 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,89 +1,16 @@
/* Here are some starter styles
You can edit these or replace them entirely
It's showing you a common way to organise CSS
And includes solutions to common problems
As well as useful links to learn more */

/* ====== Design Palette ======
This is our "design palette".
It sets out the colours, fonts, styles etc to be used in this design
At work, a designer will give these to you based on the corporate brand, but while you are learning
You can design it yourself if you like
Inspect the starter design with Devtools
Click on the colour swatches to see what is happening
I've put some useful CSS you won't have learned yet
For you to explore and play with if you are interested
https://web.dev/articles/min-max-clamp
https://scrimba.com/learn-css-variables-c026
====== Design Palette ====== */
:root {
--paper: oklch(7 0 0);
--ink: color-mix(in oklab, var(--color) 5%, black);
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
--container: 1280px;
}
/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
}
a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
}
img,
svg {
width: 100%;
object-fit: cover;
background-color: antiquewhite;
}
/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/
main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
h1 {
color: cornflowerblue
text-align: centre;
}
footer {
position: fixed;
bottom: 0;
h3{
text-align: center;
}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Inspect this in Devtools and click the "grid" button in the Elements view
Play with the options that come up.
https://developer.chrome.com/docs/devtools/css/grid
https://gridbyexample.com/learn/
*/
main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
> *:first-child {
grid-column: span 2;
}
}
/* ====== Article Layout ======
Setting the rules for how elements are placed in the article.
Now laying out just the INSIDE of the repeated card/article design.
Keeping things orderly and separate is the key to good, simple CSS.
*/
article {
border: var(--line);
padding-bottom: var(--space);
text-align: left;
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-column: 2/3;
}
> img {
grid-column: span 3;
}
h4{
text-align: center;
}
h5{
text-align: center;
}
Loading