Skip to content

Commit e4afdfb

Browse files
committed
Change Font
1 parent 8838a72 commit e4afdfb

4 files changed

Lines changed: 49 additions & 42 deletions

File tree

52.7 KB
Binary file not shown.

main/src/components/Header.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
import { SITE_TITLE } from '../consts';
3-
import HeaderLink from './HeaderLink.astro';
42
import '../styles/style_header.css';
3+
import HeaderLink from './HeaderLink.astro';
54
---
65

76
<header>
@@ -13,7 +12,7 @@ import '../styles/style_header.css';
1312
</a>
1413
</h2>
1514
<div class="internal-links">
16-
<HeaderLink href="/">Home</HeaderLink>
15+
<HeaderLink href="/">ホーム</HeaderLink>
1716
<HeaderLink href="/works">作品展示</HeaderLink>
1817
<HeaderLink href="/achievements">活動実績</HeaderLink>
1918
</div>

main/src/consts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
// You can import this data from anywhere in your site by using the `import` keyword.
33

44
export const SITE_TITLE = "Toin Computer Association";
5-
export const SITE_DESCRIPTION = "TCA's Official Website";
5+
export const SITE_DESCRIPTION =
6+
"筑波大学附属高校の部活、TCA(Toin Computer Association)の公式Webサイトです。過去の作品紹介や活動実績などを掲載しています。";

main/src/styles/style_1.css

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,58 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');
2-
.midashi{
3-
color: white;
4-
padding-bottom: 75px;
5-
font-family: Rethink Sans;
6-
font-size: 80px;
7-
}
8-
.small_midashi_1{border-left: solid 8px rgb(151,244,255);
9-
padding-left: 13px;
10-
font-weight: normal;
11-
color:white;
12-
1+
/* @import url("https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap"); */
2+
@font-face {
3+
font-family: "Rethink Sans";
4+
src: url("/fonts/RethinkSans-VariableFont_wght.woff") format("woff");
5+
font-weight: 400;
6+
font-style: normal;
7+
font-display: swap;
138
}
14-
.small_midashi_2{border-left: solid 8px rgb(151,244,255);
15-
padding-left: 13px;
16-
font-weight: normal;
17-
color:white;
18-
9+
.midashi {
10+
color: white;
11+
padding-bottom: 75px;
12+
font-family: "Rethink Sans";
13+
font-size: 80px;
1914
}
20-
.small_midashi_3{border-left: solid 8px rgb(151,244,255);
21-
padding-left: 13px;
22-
font-weight: normal;
23-
color:white;
15+
.small_midashi_1 {
16+
border-left: solid 8px rgb(151, 244, 255);
17+
padding-left: 13px;
18+
font-weight: normal;
19+
color: white;
20+
}
21+
.small_midashi_2 {
22+
border-left: solid 8px rgb(151, 244, 255);
23+
padding-left: 13px;
24+
font-weight: normal;
25+
color: white;
26+
}
27+
.small_midashi_3 {
28+
border-left: solid 8px rgb(151, 244, 255);
29+
padding-left: 13px;
30+
font-weight: normal;
31+
color: white;
2432
}
2533

26-
body{
27-
background: black;
28-
34+
body {
35+
background: black;
2936
}
3037

31-
.bun_1{
32-
color: rgb(224, 224, 224);
33-
padding-bottom: 80px;
38+
.bun_1 {
39+
color: rgb(224, 224, 224);
40+
padding-bottom: 80px;
3441
}
3542

36-
.bun_2{
37-
color: rgb(224, 224, 224);
38-
padding-bottom: 80px;
43+
.bun_2 {
44+
color: rgb(224, 224, 224);
45+
padding-bottom: 80px;
3946
}
4047

41-
.link_list{
42-
padding-bottom: 60px;
43-
color: rgb(224, 224, 224);
48+
.link_list {
49+
padding-bottom: 60px;
50+
color: rgb(224, 224, 224);
4451
}
4552

46-
a{
47-
color: rgb(179, 157, 219);
53+
a {
54+
color: rgb(179, 157, 219);
55+
}
56+
a:hover {
57+
color: rgb(232, 234, 246);
4858
}
49-
a:hover{
50-
color: rgb(232, 234, 246);
51-
}

0 commit comments

Comments
 (0)