Skip to content

Commit

Permalink
minor reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Jan 23, 2024
1 parent 9f020f6 commit a5df88e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 27 deletions.
49 changes: 23 additions & 26 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
/*Dark/Light*/
:root {
color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
* {
--theme: rgb(128, 0, 255);
--theme-darker: rgb(64, 0, 128);
--back: rgb(200, 200, 200);
--on-back: rgb(16, 16, 16);
--alt-back: rgb(212, 212, 212);
--hover: rgb(225, 225, 225);
--theme: rgb(128 0 255);
--theme-darker: rgb(64 0 128);
--back: rgb(200 200 200);
--on-back: rgb(16 16 16);
--alt-back: rgb(212 212 212);
--hover: rgb(225 225 225);
}
}

@media (prefers-color-scheme: dark) {
* {
--theme: rgb(255, 255, 128);
--theme-darker: rgb(128, 128, 64);
--back: rgb(32, 32, 32);
--on-back: rgb(225, 225, 225);
--alt-back: rgb(24, 24, 24);
--hover: rgb(16, 16, 16);
--theme: rgb(255 255 128);
--theme-darker: rgb(128 128 64);
--back: rgb(32 32 32);
--on-back: rgb(225 225 225);
--alt-back: rgb(24 24 24);
--hover: rgb(16 16 16);
}
}

/*Elements*/
body {
background-color: var(--back);
color: var(--on-back);
Expand All @@ -36,7 +34,7 @@ body {

*::selection {
background: var(--theme);
color: rgba(0, 0, 0, 0.9);
color: rgba(0, 0, 0, 90%);
}

a:link {
Expand All @@ -50,16 +48,17 @@ a:visited {
h2 span, h3 span, h4 span, h5 span, h6 span {
background-color: var(--alt-back);
transition: background-color 0.5s ease-out;
--notchSize: 10px;

--notch-size: 10px;
clip-path: polygon(
0% var(--notchSize),
var(--notchSize) 0%,
calc(100% - var(--notchSize)) 0%,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
calc(100% - var(--notchSize)) 100%,
var(--notchSize) 100%,
0% calc(100% - var(--notchSize))
0% var(--notch-size),
var(--notch-size) 0%,
calc(100% - var(--notch-size)) 0%,
100% var(--notch-size),
100% calc(100% - var(--notch-size)),
calc(100% - var(--notch-size)) 100%,
var(--notch-size) 100%,
0% calc(100% - var(--notch-size))
);
padding: 15px 35px;
text-align: center;
Expand Down Expand Up @@ -91,8 +90,6 @@ li {
color: var(--theme);
}

/*Classes*/

ul.vertical-list {
list-style: none;
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
content="I'm a Computer Engineer specializing in Software Engineering. Skilled in Android App Development and have professional experience in Kotlin and Java.">
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@context": "https://schema.org/",
"@type": "ProfilePage",
"mainEntity": {
"@type": "Person",
Expand Down

0 comments on commit a5df88e

Please sign in to comment.