Compare commits

...

12 Commits

Author SHA1 Message Date
Alexander 576eaa9ed5 тестирую 2025-04-20 02:17:27 +03:00
Alexander 09efa92792 dev 1 2025-04-20 01:52:49 +03:00
Alexander Zhirov 1e4751f487 Увеличение ширины с социальными кнопками 2024-09-14 21:30:35 +03:00
Alexander Zhirov bce7224732 Добавлен линк на галерею 2024-09-14 21:20:17 +03:00
Alexander Zhirov 5e56eb4511 Добавлен линк на Matrix 2024-05-29 14:31:53 +03:00
Alexander Zhirov 77f600cac4 soundcloud icon 2023-07-26 19:07:27 +03:00
Alexander Zhirov 4518e23261 width to 900 px 2023-07-26 16:11:33 +03:00
Alexander Zhirov e981de36ba soundcloud link 2023-07-26 16:09:23 +03:00
Alexander Zhirov baf23872b9 band link 2023-07-26 14:38:30 +03:00
Alexander Zhirov ee4b0cc660 иконки переведены на спрайты 2023-05-08 12:17:34 +03:00
Alexander Zhirov a3bbe8399d disable selection 2023-05-02 03:32:10 +03:00
Alexander Zhirov 8919e8f1a2 Merge pull request 'dev' (#1) from dev into master
Reviewed-on: https://git.zhirov.kz/alexander/web-page/pulls/1
2023-05-02 00:11:57 +00:00
43 changed files with 142 additions and 52 deletions

View File

@ -17,35 +17,40 @@ body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
/* min-height: 140vh; */
flex-direction: column;
color: #333333;
margin: 0;
opacity: 0;
font-family: ProblematicPiercer;
cursor: default;
padding: 20px;
box-sizing: border-box;
}
div.row {
display: flex;
flex-direction: row;
width: 1000px;
width: 100%;
max-width: 1000px;
align-items: center;
}
div.photo {
border-radius: 300px;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
background-image: url(../images/favicon.jpg);
width: 300px;
height: 300px;
background-size: contain;
background-size: cover;
background-position: center;
margin-right: 80px;
}
div.info {
display: flex;
width: 620px;
width: 100%;
max-width: 620px;
flex-direction: column;
}
@ -62,55 +67,54 @@ div.bio {
text-align: justify;
}
div.icons {
min-height: 400px;
}
div.social {
display: flex;
justify-content: space-between;
margin-top: 100px;
width: 800px;
display: grid;
grid-template-columns: repeat(6, 1fr); /* 5 столбцов для десктопа */
gap: 60px;
justify-items: center;
margin-top: 50px;
width: 100%;
max-width: 600px;
}
.social div {
width: 50px;
height: 50px;
background-size: contain;
background-repeat: no-repeat;
cursor: pointer;
transition: 0.2s;
transition: transform 0.2s;
background-size: 100px auto;
}
.social div:hover {
transform: scale(1.5);
background-position: -50px 0;
}
.mastodon { background-image: url(../images/social/mastodon-off.png); }
.mastodon:hover { background-image: url(../images/social/mastodon-on.png); }
.twitter { background-image: url(../images/social/twitter-off.png); }
.twitter:hover { background-image: url(../images/social/twitter-on.png); }
.linkedin { background-image: url(../images/social/linkedin-off.png); }
.linkedin:hover { background-image: url(../images/social/linkedin-on.png); }
.facebook { background-image: url(../images/social/facebook-off.png); }
.facebook:hover { background-image: url(../images/social/facebook-on.png); }
.instagram { background-image: url(../images/social/instagram-off.png); }
.instagram:hover { background-image: url(../images/social/instagram-on.png); }
.git { background-image: url(../images/social/git-off.png); }
.git:hover { background-image: url(../images/social/git-on.png); }
.github { background-image: url(../images/social/github-off.png); }
.github:hover { background-image: url(../images/social/github-on.png); }
.telegram { background-image: url(../images/social/telegram-off.png); }
.telegram:hover { background-image: url(../images/social/telegram-on.png); }
.solus { background-image: url(../images/social/linux-off.png); }
.solus:hover { background-image: url(../images/social/linux-on.png); }
.blog { background-image: url(../images/social/blog-off.png); }
.blog:hover { background-image: url(../images/social/blog-on.png); }
.ftp { background-image: url(../images/social/ftp-off.png); }
.ftp:hover { background-image: url(../images/social/ftp-on.png); }
.email { background-image: url(../images/social/email-off.png); }
.email:hover { background-image: url(../images/social/email-on.png); }
.mastodon { background-image: url(../images/social/mastodon.png); }
.twitter { background-image: url(../images/social/twitter.png); }
.linkedin { background-image: url(../images/social/linkedin.png); }
.facebook { background-image: url(../images/social/facebook.png); }
.instagram { background-image: url(../images/social/instagram.png); }
.git { background-image: url(../images/social/git.png); }
.github { background-image: url(../images/social/github.png); }
.telegram { background-image: url(../images/social/telegram.png); }
.solus { background-image: url(../images/social/linux.png); }
.ftp { background-image: url(../images/social/ftp.png); }
.band { background-image: url(../images/social/band.png); }
.soundcloud { background-image: url(../images/social/soundcloud.png); }
.matrix { background-image: url(../images/social/matrix.png); }
.gallery { background-image: url(../images/social/gallery.png); }
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
@ -121,7 +125,7 @@ div.social {
padding: 5px 0;
position: absolute;
z-index: 1;
top: 110%;
top: 100%;
opacity: 0;
transition: opacity 1s;
font-family: Whypo-rrey;
@ -131,3 +135,68 @@ div.social {
visibility: visible;
opacity: 1;
}
/* Медиа-запросы для мобильных устройств */
@media screen and (max-width: 768px) {
body {
padding: 10px;
/* min-height: 170vh; */
}
div.row {
flex-direction: column;
align-items: center;
}
div.photo {
width: 150px;
height: 150px;
margin-right: 0;
margin-bottom: 20px;
}
div.info {
max-width: 100%;
padding: 0 10px;
}
div.title {
font-size: 30px;
}
div.bio {
font-size: 18px;
}
div.icons {
min-height: 150%;
}
div.social {
grid-template-columns: repeat(3, 1fr); /* 3 столбца для мобильных */
gap: 60px;
margin-top: 30px;
}
.social div {
width: 40px;
height: 40px;
background-size: 80px auto;
}
.social div:hover {
background-position: -40px 0;
}
.tooltip .tooltiptext {
width: 100px;
margin-left: -50px;
font-size: 14px;
}
}
@media screen and (max-width: 480px) {
div.social {
grid-template-columns: repeat(2, 1fr); /* 2 столбца для очень маленьких экранов */
}
}

BIN
images/social/band.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
images/social/blog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

BIN
images/social/email.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

BIN
images/social/facebook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

BIN
images/social/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/social/gallery.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

BIN
images/social/git.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
images/social/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

BIN
images/social/instagram.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
images/social/linkedin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

BIN
images/social/linux.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
images/social/mastodon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
images/social/matrix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
images/social/telegram.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
images/social/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alexander Zhirov</title>
<link href="css/style.css" rel="stylesheet">
<link href="css/jquery-ui.css" rel="stylesheet">
@ -10,7 +11,7 @@
<script src="js/jquery-ui.min.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<body onselectstart="return false" onmousedown="return false">
<div class="row">
<div class="photo"></div>
<div class="info">
@ -23,19 +24,23 @@
</div>
</div>
</div>
<div class="row social">
<div class="tooltip mastodon"><span class="tooltiptext">Mastodon</span></div>
<div class="tooltip twitter"><span class="tooltiptext">Twitter</span></div>
<div class="tooltip linkedin"><span class="tooltiptext">LinkedIn</span></div>
<div class="tooltip facebook"><span class="tooltiptext">Facebook</span></div>
<div class="tooltip instagram"><span class="tooltiptext">Instagram</span></div>
<div class="tooltip telegram"><span class="tooltiptext">Telegram</span></div>
<div class="tooltip git"><span class="tooltiptext">Git</span></div>
<div class="tooltip github"><span class="tooltiptext">GitHub</span></div>
<div class="tooltip solus"><span class="tooltiptext">Solus Linux</span></div>
<!-- <div class="tooltip blog"><span class="tooltiptext">Blog</span></div> -->
<!-- <div class="tooltip ftp"><span class="tooltiptext">FTP</span></div> -->
<!-- <div class="tooltip email"><span class="tooltiptext">Email</span></div> -->
<div class="icons">
<div class="row social">
<div class="tooltip mastodon"><span class="tooltiptext">Mastodon</span></div>
<div class="tooltip twitter"><span class="tooltiptext">Twitter</span></div>
<div class="tooltip linkedin"><span class="tooltiptext">LinkedIn</span></div>
<div class="tooltip facebook"><span class="tooltiptext">Facebook</span></div>
<div class="tooltip instagram"><span class="tooltiptext">Instagram</span></div>
<div class="tooltip matrix"><span class="tooltiptext">Matrix</span></div>
<div class="tooltip telegram"><span class="tooltiptext">Telegram</span></div>
<div class="tooltip git"><span class="tooltiptext">Git</span></div>
<div class="tooltip github"><span class="tooltiptext">GitHub</span></div>
<div class="tooltip solus"><span class="tooltiptext">Solus Linux</span></div>
<div class="tooltip ftp"><span class="tooltiptext">FTP</span></div>
<div class="tooltip band"><span class="tooltiptext">Band</span></div>
<div class="tooltip soundcloud"><span class="tooltiptext">Soundcloud</span></div>
<div class="tooltip gallery"><span class="tooltiptext">Gallery</span></div>
</div>
</div>
</body>
</html>

View File

@ -46,7 +46,23 @@ $(document).ready(function(){
window.open("https://ftp.zhirov.kz");
});
$(".band").on( "click", function() {
window.open("https://www.realrocks.ru/formaldehyde");
});
$(".soundcloud").on( "click", function() {
window.open("https://soundcloud.com/alexanderzhirov");
});
$(".email").on( "click", function() {
window.open("");
});
$(".matrix").on( "click", function() {
window.open("https://matrix.to/#/@alexanderzhirov:matrix.org");
});
$(".gallery").on( "click", function() {
window.open("https://piwigo.zhirov.kz");
});
});