Skip to content

Commit 8abfd1f

Browse files
committed
new temp folder for new profile fonts and colors
1 parent 0f09e23 commit 8abfd1f

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

Diff for: 02-fonts-colors-new/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Background & Objectives
2+
3+
Add simple CSS rules to design fonts and colors of your profile page.
4+
5+
## Specs
6+
7+
[This is an example](https://lewagon.github.io/html-css-challenges/02-fonts-colors-new/) of what you should reproduce. Here is a list of CSS rules to write:
8+
9+
10+
### Body
11+
- Pick a nice background color, font family/color/size and line-height for the `<body>`. Setting font properties at the body-level will apply it on all basic texts (`<p>`, `<li>`, etc...).
12+
13+
### Headers
14+
- Choose a nice color and font-family for headers (`<h1>`, `<h2>`, `<h3>`)
15+
- Choose harmonious `font-size` and `line-height` for headers
16+
- Resize image `width`
17+
18+
### Links
19+
- Change links colors & text decoration
20+
- Add some hover effects on links using the pseudo-class `a:hover`.
21+
22+
## Tips & Resources
23+
24+
- Use Colorzilla plugin to pick nice colors from other websites. You can find inspiration [here](http://www.flatuicolorpicker.com/).
25+
- Pick your fonts on [google fonts](https://www.google.com/fonts)
26+
- On Google fonts, **Open Sans** is the standard choice for core texts. **Varela** & **Montserrat** are elegant candidates for headers.

Diff for: 02-fonts-colors-new/index.html

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>My profile</title>
5+
<meta charset="utf-8">
6+
<link href="https://fonts.googleapis.com/css?family=Lora:400,700|Roboto:300,400,500,700,900" rel="stylesheet">
7+
<link rel="stylesheet" href="style.css">
8+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
9+
</head>
10+
<body>
11+
12+
<h1>Hello, I'm Boris 😎</h1>
13+
<img src="../shared/images/profile.png" width="100px" alt="Boris Paillard">
14+
<p>
15+
I love Github, UX/UI Design, web-development and motorbikes 🏍️. I launched Le Wagon to teach code to entrepreneurs and creative people around the world 🌍.
16+
</p>
17+
<a href="#">Discover Le Wagon</a>
18+
<h2>Follow me</h2>
19+
<ul>
20+
<li>
21+
<a href="https://github.com/papillard" target="_blank">
22+
<i class="fab fa-github-square"></i>
23+
</a>
24+
</li>
25+
<li>
26+
<a href="https://twitter.com/bpapillard" target="_blank">
27+
<i class="fab fa-twitter-square"></i>
28+
</a>
29+
</li>
30+
<li>
31+
<a href="https://medium.com/@papillard" target="_blank">
32+
<i class="fab fa-medium"></i>
33+
</a>
34+
</li>
35+
</ul>
36+
37+
</body>
38+
</html>

Diff for: 02-fonts-colors-new/style.css

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* Colors and fonts */
2+
body {
3+
background: #F7F9FC;
4+
color: #575F7D;
5+
font-family: 'Lora', serif;
6+
font-size: 17px;
7+
font-weight: lighter;
8+
}
9+
h1, h2, h3 {
10+
font-family: 'Roboto', sans-serif;
11+
}
12+
h1 {
13+
color: #575F7D;
14+
font-size: 32px;
15+
font-weight: 900;
16+
}
17+
h2 {
18+
color: #7ECE90;
19+
font-size: 20px;
20+
font-weight: lighter;
21+
font-weight: 500;
22+
}
23+
a {
24+
font-family: 'Roboto', sans-serif;
25+
text-decoration: none;
26+
color: #6B72E1;
27+
font-weight: 600;
28+
font-size: 16px;
29+
}
30+
a:hover {
31+
color: black;
32+
}

0 commit comments

Comments
 (0)