summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmightyMiau <almightymeow612@gmail.com>2025-02-05 16:15:04 -0800
committerAlmightyMiau <almightymeow612@gmail.com>2025-02-05 16:15:04 -0800
commitc355ca5ef3f60af33aeb43c507fd3f5a1baa627f (patch)
tree928b5ac26d63941b147879744f951592034d5964
parent31756a2bc5e154039b3d278f102fc1285294b88e (diff)
Use 'Roboto' font from Google
Apply the Roboto font to all elements with serif as a fallback font.
-rw-r--r--index.html1
-rw-r--r--styles.css3
2 files changed, 4 insertions, 0 deletions
diff --git a/index.html b/index.html
index 040f1ea..90106ff 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="styles.css" rel="stylesheet">
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<title>Document</title>
</head>
<body>
diff --git a/styles.css b/styles.css
index e69de29..c320099 100644
--- a/styles.css
+++ b/styles.css
@@ -0,0 +1,3 @@
+* {
+ font-family: "Roboto", serif;
+} \ No newline at end of file