Skip to content

Commit 224f061

Browse files
committed
CSS changes
1 parent 8990849 commit 224f061

File tree

2 files changed

+27
-13
lines changed

2 files changed

+27
-13
lines changed

index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
<html>
33
<head>
44
<meta charset="UTF-8" />
5-
<title>Violet Tran | Portfolio</title>
5+
<title>Violet Tran</title>
66
<link rel="stylesheet" href="style.css">
7+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
8+
<link rel="icon" type="image/png" href="/assets/pfp.png">
79
</head>
810
<body>
9-
<!-- This is the navigation and links -->
1011
<div class="top-bar">
1112
<div class="top-left">
1213
Violet Tran
@@ -23,13 +24,12 @@
2324
</div>
2425
</div>
2526

26-
<!-- This is the main picture, location, beat, and description -->
2727
<div class="main-info">
2828
<div class="picture">
2929
<img src="/assets/pfp.png" alt="Profile Picture">
3030
</div>
3131
<div class="main-text">
32-
<h1>Hey, I'm Violet Tran!</h1>
32+
<h1>Hey, I'm Violet Tran.</h1>
3333
<div class="info-stuff">
3434
<div class="info-item">
3535
<img src="/assets/school.png" alt="School">
@@ -48,7 +48,6 @@ <h1>Hey, I'm Violet Tran!</h1>
4848
You can view some of my articles below and reach out if you have any questions!</p>
4949
</div>
5050
</div>
51-
<!-- This is the post section -->
5251
<div class="posts">
5352

5453
</div>

style.css

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
:root {
2-
--accent-color: #3a66ad;
3-
--background-color: #fafff9;
4-
--text-color: #000000;
5-
--gray-color: #868686;
2+
--accent-color: #D23030;
3+
--background-color: #d5dbe0;
4+
--text-color: #061827;
5+
--gray-color: #a0a9b1;
6+
--border-color: #081825;
67
}
78

89
body {
910
margin: 0 auto;
1011
max-width: 850px;
1112
font-family: Arial, sans-serif;
12-
font-weight: 800;
13+
font-weight: 500;
1314
font-size: 1.2em;
1415
color: var(--text-color);
1516
background: var(--background-color);
@@ -22,6 +23,20 @@ a {
2223
text-decoration: none;
2324
}
2425

26+
h1 {
27+
font-family: 'Lora', serif;
28+
font-weight: 700;
29+
color: var(--accent-color);
30+
font-size: 2em;
31+
}
32+
33+
h2{
34+
font-family: 'Lora', serif;
35+
font-weight: 700;
36+
color: var(--accent-color);
37+
font-size: 1.5em;
38+
}
39+
2540
.top-bar {
2641
display: flex;
2742
justify-content: space-between;
@@ -42,7 +57,7 @@ a {
4257
}
4358

4459
.main-info {
45-
border: 4px solid var(--text-color);
60+
border: 4px solid var(--border-color);
4661
padding: 10px;
4762
display: flex;
4863
gap: 20px;
@@ -52,7 +67,7 @@ a {
5267
.picture img {
5368
width: 260px;
5469
height: auto;
55-
border: 4px solid var(--text-color);
70+
border: 4px solid var(--border-color);
5671
}
5772

5873
.info-stuff {
@@ -79,7 +94,7 @@ a {
7994
}
8095

8196
.posts {
82-
border: 4px solid var(--text-color);
97+
border: 4px solid var(--border-color);
8398
border-top: 0px;
8499
padding: 10px;
85100
}

0 commit comments

Comments
 (0)