Skip to content

Commit e5af6e0

Browse files
committed
Changed content and styling
1 parent 5e8c6dd commit e5af6e0

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<meta name="date" content="May 6, 2026" />
1515
<title>Portfolio</title>
1616

17-
<link rel="stylesheet" href="./css/main.css" />
1817
<link rel="stylesheet" href="./css/colors.css" />
18+
<link rel="stylesheet" href="./css/main.css" />
1919
</head>
2020
<body>
2121
<div id="app"></div>

public/css/main.css

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
@import url(colors.css);
2-
@import url(animations.css);
3-
41
* {
52
box-sizing: border-box;
63
margin: 0;
74
padding: 0;
85
scroll-behavior: smooth;
96
-webkit-tap-highlight-color: transparent;
10-
7+
scrollbar-color: var(--color-primary) var(--color-surface-container);
8+
scrollbar-width: thin;
119
}
1210

1311
html {
@@ -16,7 +14,7 @@ html {
1614
}
1715

1816
body {
19-
background-color: var(--color-surface);
17+
background-color: var(--color-surface-container);
2018
color: var(--color-on-surface);
2119
font-family: Arial, sans-serif;
2220
margin: 0;
@@ -92,4 +90,18 @@ img {
9290
height: 1.2em;
9391
vertical-align: middle;
9492
display: inline-block;
93+
}
94+
95+
::-webkit-scrollbar{
96+
/*background: transparent;*/
97+
width: 8px;
98+
height: 8px;
99+
}
100+
::-webkit-scrollbar-track{
101+
background: var(--color-surface-container)
102+
}
103+
::-webkit-scrollbar-thumb{
104+
/*position: absolute;*/
105+
background: var(--color-secondary);
106+
border-radius: var(--border-radius-md)
95107
}

src/components/HeroSection.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import BlogBackground from "@/components/BlogBackground.vue";
99
I'm Divyansh
1010
</h1>
1111
<p>
12-
Self-taught developer and a student with a passion for building
13-
softwares from ground up. Experienced in C/C++, Typescript, Java,
12+
A freshman student in Mechanical Engineering. I have experience with C/C++, Typescript, Java,
1413
and Python.
1514
</p>
1615
</section>

src/views/Algo.vue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<script setup lang="ts">
2+
import { useRouter } from "vue-router";
3+
4+
const router = useRouter();
5+
const close = () => router.back();
6+
</script>
7+
8+
<template>
9+
<div class="overlay" @click.self="close">
10+
<div class="popup">
11+
<h2>Login</h2>
12+
<button @click="close">Close</button>
13+
</div>
14+
</div>
15+
</template>
16+
17+
<style scoped></style>

0 commit comments

Comments
 (0)