Skip to content

Commit 942c23e

Browse files
committed
opencodelaw: merge fonts css
Signed-off-by: kiranpranay <[email protected]>
1 parent 977236e commit 942c23e

File tree

4 files changed

+28
-17
lines changed

4 files changed

+28
-17
lines changed

css/fonts.css

Lines changed: 0 additions & 15 deletions
This file was deleted.

css/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
@font-face {
2+
font-family: "montserrat";
3+
src: url("../assets/fonts/Montserrat.ttf") format("ttf");
4+
font-weight: normal;
5+
font-style: normal;
6+
}
7+
@font-face {
8+
font-family: "cuprumregular";
9+
src: url("../assets/fonts/cuprum-variablefont_wght-webfont.woff") format("woff2"), url("../assets/fonts/cuprum-variablefont_wght-webfont.woff") format("woff");
10+
font-weight: normal;
11+
font-style: normal;
12+
}
113
* {
214
margin: 0;
315
padding: 0;

css/style.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
@charset "UTF-8";
2+
@font-face {
3+
font-family: "montserrat";
4+
src: url("../assets/fonts/Montserrat.ttf") format("ttf");
5+
font-weight: normal;
6+
font-style: normal;
7+
}
8+
@font-face {
9+
font-family: "cuprumregular";
10+
src: url("../assets/fonts/cuprum-variablefont_wght-webfont.woff")
11+
format("woff2"),
12+
url("../assets/fonts/cuprum-variablefont_wght-webfont.woff") format("woff");
13+
font-weight: normal;
14+
font-style: normal;
15+
}
116
$background-color: #f5f5f5;
217
$primary-font: "montserrat";
318
$box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.18);

index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Document</title>
7-
<link rel="stylesheet" href="./css/fonts.css" />
6+
<title>STM Constitution</title>
87
<link rel="stylesheet" href="./css/style.css" />
98
</head>
109
<body>

0 commit comments

Comments
 (0)