diff --git a/Wireframe/images/git.webp b/Wireframe/images/git.webp new file mode 100644 index 000000000..779928a41 Binary files /dev/null and b/Wireframe/images/git.webp differ diff --git a/Wireframe/images/readme.png b/Wireframe/images/readme.png new file mode 100644 index 000000000..b7af6f648 Binary files /dev/null and b/Wireframe/images/readme.png differ diff --git a/Wireframe/images/wireframe-hero.png b/Wireframe/images/wireframe-hero.png new file mode 100644 index 000000000..95d28083c Binary files /dev/null and b/Wireframe/images/wireframe-hero.png differ diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..64f04f48a 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,33 +1,97 @@ - - - - Wireframe - - - -
-

Wireframe

-

- This is the default, provided code and no changes have been made yet. -

-
+ + + + + + + + The Blog | Learning Programming Basics + + + + + + + + +
+
+
+

The Blog

+

A blog on learning programming

+
+ +
+
+ +
-
- -

Title

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. -

- Read more -
+
+ illustration of a README.md file +
+

What is the purpose of a README file

+

+ according to GitHub Docs, a README file serves as the primary source of information about a project + and + helps users understand how to install, use, and contribute to it (GitHub Docs, n.d.). +

+

+ A README file is one of the most important documents within a software + project. It is usually the first file that users, developers, recruiters, + or potential employers look at when they visit a project's repository. + The name "README" comes from the idea that it should be the file people + read before doing anything else with the project. +

+ README file ... +
+
+ +
+
+ illustration of a man showing a wireframe +

What is the purpose of a wireframe

+

+ A wireframe is a simple visual representation of a website or application's layout. It acts as a + blueprint. +

+

Figma describes a wireframe as a low-fidelity representation of a user interface that focuses on + layout, + structure, and functionality before visual design decisions are made (Figma, n.d.).

+ Wireframes +
+ +
+ illustration of a git tree branching out +

What is a branch in Git?

+

Git documentation explains that branches allow developers to diverge from the main line of + development + and work independently on features before merging their changes back into the project + (Git SCM, n.d.).

+

+

+ A branch in Git is a separate line of development that allows developers to + work on changes independently without affecting the main project. +

+ Git + branching +
+
- - +
+ + + + diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..1e4541591 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,89 +1,97 @@ -/* 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 */ +/* ====== Base ====== */ body { - background: var(--paper); - color: var(--ink); - font: var(--font); + margin: 0; + box-sizing: border-box; + line-height: 1.5; + font-family: "Cantarell", sans-serif; + font-weight: 400; + color: #222; } -a { - padding: var(--space); - border: var(--line); - max-width: fit-content; -} -img, -svg { + +img { width: 100%; - object-fit: cover; + display: block; } -/* ====== 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; + +/* ====== Layout ====== */ +.container { + width: 70%; + max-width: 1200px; + margin: 0 auto; } -footer { - position: fixed; - bottom: 0; + +/* ====== Header ====== */ +.header__content { text-align: center; + padding: 20px; } -/* ====== 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; - } + +.header__title { + font-weight: 900; + font-style: italic; + color: #c1121f; + margin-bottom: 0; } -/* ====== 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. -*/ + +.header__tagline { + color: #780000; + margin-top: 0; + font-size: 18px; + font-weight: 700; +} + +/* ====== Articles ====== */ 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; + border: 1px solid #ced4da; +} + +.article-feature-text { + padding: 0 0 2em 2em; +} + +.article-secondary-flex { + display: flex; + justify-content: space-between; + gap: 1rem; +} + +.article-sec { + margin-top: 1.5em; + padding: 1.5em; + width: 44%; +} + +/* ====== Buttons / Links ====== */ +.article__link { + text-decoration: none; + border: 1px solid #ced4da; + padding: 0.7em 1.2em; + color: #fff; + background: #e76f51; + border-radius: 2px; + display: inline-block; +} + +.article__link:hover, +.article__link:focus { + background: #ffc300; + color: black; +} + +/* ====== Footer ====== */ +.site-footer { + text-align: center; + padding: 20px 0; +} + +/* ====== Responsive ====== */ +@media (max-width: 750px) { + .article-secondary-flex { + flex-direction: column; } - > img { - grid-column: span 3; + + .article-sec{ + width: 90%; } -} + +} \ No newline at end of file