Skip to content

Commit ce00994

Browse files
committed
Cập nhật số lượng dự án
1 parent ca95421 commit ce00994

15 files changed

+169
-4
lines changed

css/font.css

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/* Adapted from https://fonts.googleapis.com/css?family=Lato:400,400i,700,900 */
2+
/* Borrowed from webapp lato.css */
3+
4+
/* latin */
5+
@font-face {
6+
font-family: 'Lato';
7+
font-style: italic;
8+
font-weight: 400;
9+
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/LatoLatin-Italic.woff2) format('woff2');
10+
/*
11+
If the font isn't downloaded, show nothing for about 100ms then display
12+
the fallback font (if it still isn't downloaded).
13+
More details:
14+
https://css-tricks.com/almanac/properties/f/font-display/
15+
*/
16+
font-display: fallback;
17+
}
18+
19+
/* latin */
20+
@font-face {
21+
font-family: 'Lato';
22+
font-style: normal;
23+
font-weight: 400;
24+
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/LatoLatin-Regular.woff2) format('woff2');
25+
font-display: fallback;
26+
}
27+
28+
/* latin */
29+
@font-face {
30+
font-family: 'Lato';
31+
font-style: normal;
32+
font-weight: 700;
33+
src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/LatoLatin-Bold.woff2) format('woff2');
34+
font-display: fallback;
35+
}
36+
37+
/* latin */
38+
@font-face {
39+
font-family: 'Lato';
40+
font-style: normal;
41+
font-weight: 900;
42+
src: local('Lato Black'), local('Lato-Black'), url(../fonts/LatoLatin-Black.woff2) format('woff2');
43+
font-display: fallback;
44+
}
45+
46+
/* non-latin (cyrillic, hungarian, serbian) */
47+
@font-face {
48+
font-family: 'Lato';
49+
font-style: italic;
50+
font-weight: 400;
51+
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic.woff2) format('woff2');
52+
unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F;
53+
font-display: fallback;
54+
}
55+
56+
@font-face {
57+
font-family: 'Lato';
58+
font-style: normal;
59+
font-weight: 400;
60+
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato-Regular.woff2) format('woff2');
61+
unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F;
62+
font-display: fallback;
63+
}
64+
65+
@font-face {
66+
font-family: 'Lato';
67+
font-style: normal;
68+
font-weight: 700;
69+
src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold.woff2) format('woff2');
70+
unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F;
71+
font-display: fallback;
72+
}
73+
74+
@font-face {
75+
font-family: 'Lato';
76+
font-style: normal;
77+
font-weight: 900;
78+
src: local('Lato Black'), local('Lato-Black'), url(../fonts/Lato-Black.woff2) format('woff2');
79+
unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F;
80+
font-display: fallback;
81+
}
82+
83+
/* Latin Extended (e.g. vietnamese) */
84+
@font-face {
85+
font-family: 'Lato';
86+
font-style: italic;
87+
font-weight: 400;
88+
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/LatoLatinExtended-Italic.woff2) format('woff2');
89+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
90+
font-display: fallback;
91+
}
92+
93+
@font-face {
94+
font-family: "Lato";
95+
font-weight: 400;
96+
src: url("../fonts/LatoLatinExtended-Regular.woff2");
97+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
98+
font-display: fallback;
99+
}
100+
101+
@font-face {
102+
font-family: "Lato";
103+
font-weight: 700;
104+
src: url("../fonts/LatoLatinExtended-Bold.woff2");
105+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
106+
font-display: fallback;
107+
}
108+
109+
@font-face {
110+
font-family: "Lato";
111+
font-weight: 900;
112+
src: url("../fonts/LatoLatinExtended-Black.woff2");
113+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
114+
font-display: fallback;
115+
}

css/style.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ body {
1212
margin-bottom: 40px;
1313
}
1414

15+
.page-logo {
16+
display: block;
17+
width: 200px;
18+
height: 40px;
19+
margin: 0 auto;
20+
background-image: url('../img/ka-logo.png');
21+
background-size: contain;
22+
background-repeat: no-repeat;
23+
}
1524

1625
.page-title {
1726
text-align: center;
@@ -42,7 +51,7 @@ body {
4251
float: left;
4352
box-sizing: border-box;
4453
width: 440px;
45-
height: 250px;
54+
height: 285px;
4655
margin-left: 20px;
4756
margin-bottom: 20px;
4857

fonts/Lato-Black.woff2

52.3 KB
Binary file not shown.

fonts/Lato-Bold.woff2

53.6 KB
Binary file not shown.

fonts/Lato-Italic.woff2

63.1 KB
Binary file not shown.

fonts/Lato-Regular.woff2

52.9 KB
Binary file not shown.

fonts/LatoLatin-Black.woff2

42.4 KB
Binary file not shown.

fonts/LatoLatin-Bold.woff2

43.3 KB
Binary file not shown.

fonts/LatoLatin-Italic.woff2

44.3 KB
Binary file not shown.

fonts/LatoLatin-Regular.woff2

42.7 KB
Binary file not shown.

fonts/LatoLatinExtended-Black.woff2

46.6 KB
Binary file not shown.

fonts/LatoLatinExtended-Bold.woff2

47.5 KB
Binary file not shown.

fonts/LatoLatinExtended-Italic.woff2

50.4 KB
Binary file not shown.

fonts/LatoLatinExtended-Regular.woff2

47.5 KB
Binary file not shown.

index.html

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ <h2>Các khóa học</h2>
7676
<div class="card-content">
7777
<div class="content">
7878
<div class="title">
79-
???
79+
Học ngoại ngữ
8080
</div>
8181
<div class="description">
82-
Another website to learn something new
82+
Phương pháp học ngoại ngữ chung áp dụng cho các ngoại ngữ khác
8383
</div>
8484
<div class="actions">
85-
<a href="http://daihocmo.github.io" target="_blank" class="button">
85+
<a href="http://daihocmo.github.io/ngoai-ngu" target="_blank" class="button">
8686
Check it out!
8787
</a>
8888
</div>
@@ -92,6 +92,47 @@ <h2>Các khóa học</h2>
9292

9393
</div>
9494

95+
<div class="page-content">
96+
<!--Learn Vietnamese-->
97+
<div class="card">
98+
<div class="card-content">
99+
<div class="content">
100+
<div class="title">
101+
Khoa học máy tính
102+
</div>
103+
<div class="description">
104+
Giáo trình KHMT/CNTT thuộc bậc đại học, học hoàn toàn miễn phí.
105+
</div>
106+
<div class="actions">
107+
<a href="http://daihocmo.github.io/hoc-tieng-nhat" target="_blank" class="button">
108+
Check it out!
109+
</a>
110+
</div>
111+
</div>
112+
</div>
113+
</div>
114+
115+
<!--Học Tiếng Anh-->
116+
<div class="card">
117+
<!-- <div class="card-content">
118+
<div class="content">
119+
<div class="title">
120+
Học ngoại ngữ
121+
</div>
122+
<div class="description">
123+
Phương pháp học ngoại ngữ chung áp dụng cho các ngoại ngữ khác
124+
</div>
125+
<div class="actions">
126+
<a href="http://daihocmo.github.io/ngoai-ngu" target="_blank" class="button">
127+
Check it out!
128+
</a>
129+
</div>
130+
</div>
131+
</div> -->
132+
</div>
133+
134+
</div>
135+
95136

96137
</div>
97138
</body>

0 commit comments

Comments
 (0)