Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="main.css" />
</head>
<body>
<button class="logo"></button>
<div class="logo"></div>
<h1 id="title"><a href="#title">rexim</a></h1>
<p>Hi! My name is Alexey Kutepov. I'm also known as rexim, mixer, Tsoding, Zozin, and many other names. I'm a Recreational Programmer.</p>
<h2 id="socials"><a href="#socials">My social media links</a></h2>
Expand Down
32 changes: 6 additions & 26 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ small {
font-size: 16px;
}
h1 {
color: #EEE;
font-size: 48px;
margin-bottom: 45px;
}
h2 {
color: #EEE;
font-size: 32px;
margin-bottom: 40px;
}
h3 {
color: #EEE;
font-size: 24px;
margin-bottom: 35px;
}
Expand All @@ -53,38 +50,23 @@ li {
position: relative;
margin-bottom: 4px;
}
a:link {
a {
color: #EEE;
transition: text-decoration-color 0.2s;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #73c936;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:link,
a:visited {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #73c936;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:hover {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #EEE;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
a:active {
color: #EEE;
text-decoration: underline;
text-decoration-thickness: 2px;
text-decoration-color: #f43841;
transition: text-decoration-color 0.2s;
text-underline-offset: 2px;
}
}
h1 a:link {
text-decoration-thickness: 4px;
}
Expand All @@ -101,23 +83,21 @@ h2 a:link {
top: -5px;
border-radius: 0%;
transition: all 0.2s;
user-select: none;
}

li:has(a:hover)::before,
.logo:hover,
body:has(.logo:hover) li::before {
border-radius: 50%;
}

li:has(a:active)::before,
.logo:active,
body:has(.logo:active) li::before {
background: #f43841;
border-radius: 0%;
transform: rotate(45deg);
}

body:has(.logo:active) a:link,
body:has(.logo:active) a:visited {
text-decoration-color: #f43841;
}
}