Skip to content

Commit 8352130

Browse files
committed
Edit text
1 parent a97cfca commit 8352130

2 files changed

Lines changed: 14 additions & 19 deletions

File tree

Wireframe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h2>What is a branch in Git?</h2>
6262
these commits. The default branch name in Git is master . As you start
6363
making commits, you're given a master branch that points to the last
6464
commit you made. Every time you commit, the master branch pointer
65-
moves forward automatically. Note.
65+
moves forward automatically.
6666
</p>
6767
<a href="https://www.w3schools.com/GIT/git_branch.asp?remote=github"
6868
>Read more</a

Wireframe/style.css

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
/* Here are some starter styles
2-
You can edit these or replace them entirely
3-
It's showing you a common way to organise CSS
4-
And includes solutions to common problems
5-
As well as useful links to learn more */
6-
7-
/* ====== Design Palette ======
8-
This is our "design palette".
9-
It sets out the colours, fonts, styles etc to be used in this design
10-
At work, a designer will give these to you based on the corporate brand, but while you are learning
11-
You can design it yourself if you like
12-
Inspect the starter design with Devtools
13-
Click on the colour swatches to see what is happening
14-
I've put some useful CSS you won't have learned yet
15-
For you to explore and play with if you are interested
16-
https://web.dev/articles/min-max-clamp
17-
https://scrimba.com/learn-css-variables-c026
18-
====== Design Palette ====== */
191
:root {
202
--paper: oklch(7 0 0);
213
--ink: color-mix(in oklab, var(--color) 5%, black);
@@ -36,6 +18,12 @@ a {
3618
border: var(--line);
3719
max-width: fit-content;
3820
}
21+
a:hover {
22+
border-color: var(--ink);
23+
background: blue;
24+
color: whitesmoke;
25+
}
26+
3927
img,
4028
svg {
4129
width: 100%;
@@ -48,10 +36,12 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
4836
main {
4937
max-width: var(--container);
5038
margin: 0 auto calc(var(--space) * 4) auto;
39+
padding-bottom: 80px;
5140
}
5241
footer {
5342
position: fixed;
5443
bottom: 0;
44+
width: 100%;
5545
text-align: center;
5646
}
5747
/* ====== Articles Grid Layout ====
@@ -61,6 +51,11 @@ Play with the options that come up.
6151
https://developer.chrome.com/docs/devtools/css/grid
6252
https://gridbyexample.com/learn/
6353
*/
54+
header {
55+
text-align: center;
56+
margin-bottom: var(--space);
57+
}
58+
6459
main {
6560
display: grid;
6661
grid-template-columns: 1fr 1fr;

0 commit comments

Comments
 (0)