diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..fbc29ccd1 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -7,27 +7,50 @@ -
-

Wireframe

-

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

-
-
-
- -

Title

+
+
+

Web Development Foundation

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + There are some frequently asked questions for beginner developers.

- Read more -
-
- + +
+
+
+ illustration of a readme file +
+

1. What is the purpose of a README file?

+

+ README file is the foundation document which ask user to Read Me First before doing anything in the project. It provides some concept explanation or basic requirements that user have to know. Sometimes it mentions contributin, licensing details and guideline for other developers who wants to contribute. +

+ Read more +
+
+
+ illustator of a wireframe icon +
+

2. What is the purpose of a wireframe?

+

+ Wireframe is a blueprints which can help teams to visualize the layout, user flow and hierarchy before committing to the colour or final UI design. +

+ Read more +
+
+
+ illustrator of github icon +
+

3. What is a branch in Git?

+

+ A branch is a copied workspace from the main development and developers can modify and fix on her/his own branch of project without messing the main development. +

+ Read more +
+
+ + diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..9de5fb8ca 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -24,36 +24,72 @@ As well as useful links to learn more */ --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); + text-align: center; + display: grid; } + a { padding: var(--space); border: var(--line); max-width: fit-content; } + img, svg { width: 100%; object-fit: cover; } + +p { + padding: 0 0 30px 0; +} + +.image-wrapper img { + width: 100%; + /* aspect ratio for image */ + aspect-ratio: 16 / 9; +} + /* ====== Site Layout ====== Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ */ +#container { + display:flex; + flex-direction:column; + min-height: 100vh; +} + +header, main { + width: 80%; + margin-inline: auto; +} + main { max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + margin: 0 auto calc(var(--space) * 10) auto; + min-height: 110dvh; + display: grid; } + footer { position: fixed; bottom: 0; + font-size: smaller; + width: 100%; + height: auto;; text-align: center; + background-color: #ababab; + padding: 10px 0; } + /* ====== 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 @@ -69,6 +105,7 @@ main { 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.