Skip to content

Commit 49a51ae

Browse files
committed
[proj. Journal] Add styles, fonts
Adding style.css file, working with font component. LP from Books
1 parent 2bf9209 commit 49a51ae

5 files changed

Lines changed: 38 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"cSpell.ignoreWords": [
33
"BYOWS",
44
"Baena",
5+
"Concequence",
56
"Simino",
67
"Starbuzz",
78
"Webville",
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@font-face {
2+
font-family: "Emblema One";
3+
src: url("../fonts/EmblemaOne-Regular.woff"),
4+
url("http://wickedlysmart.com/hfhtmlcss/chapter8/journal/EmblemaOne-Regular.woff");
5+
}
6+
7+
body {
8+
font-family: Verdana, Geneva, Arial, sans-serif;
9+
font-size: medium;
10+
}
11+
12+
h1 {
13+
font-family: "Emblema One", sans-serif;
14+
font-size: 200%;
15+
}
16+
17+
h1,
18+
h2 {
19+
/* border-bottom: thin dotted #888; */
20+
color: #c60;
21+
text-decoration: underline;
22+
}
23+
24+
h2 {
25+
font-weight: normal;
26+
font-size: 130%;
27+
}
28+
29+
blockquote {
30+
font-style: italic;
31+
}
Binary file not shown.

Learning_HTML_CSS_Freeman_E/Journal/journal.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html lang="en">
23

34
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
47
<title>Tony's Diary</title>
8+
<link rel="stylesheet" href="css/style.css">
59
</head>
610

711
<body>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- [proj. Lounge](https://s2kdev.github.io/Learning_Programming_from_Books/Learning_HTML_CSS_Freeman_E/Lounge/lounge.html)
88
- [proj. MyPod](https://s2kdev.github.io/Learning_Programming_from_Books/Learning_HTML_CSS_Freeman_E/MyPod)
9+
- [proj. Journal](https://s2kdev.github.io/Learning_Programming_from_Books/Learning_HTML_CSS_Freeman_E/Journal/journal.html)
910
- [**proj. Starbuzz**](https://s2kdev.github.io/Learning_Programming_from_Books/Learning_HTML_CSS_Freeman_E/Starbuzz)
1011

1112
![Page/book](Learning_HTML_CSS_Freeman_E/Different_Tasks/images/page-img.jpg)

0 commit comments

Comments
 (0)