Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
8180be2b91 | |||
|
2bc55902e4 | ||
|
ffc2277a71 |
104
Friends.html
Normal file
@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Друзья</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-logo">
|
||||
<a href="index.html">
|
||||
<img src="img/logo2.png" alt="Логотип" width="65" height="65">
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="Profile.html">Мой профиль</a>
|
||||
<a href="Friends.html">Друзья</a>
|
||||
<a href="Messages.html">Сообщения</a>
|
||||
<a href="Groups.html">Группы</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</body>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="friends">
|
||||
<div class="friends-header">
|
||||
<img src="img/friends.png" alt="Иконка друзей" width="80" height="80">
|
||||
<h1>Мои друзья</h1>
|
||||
</div>
|
||||
<div class="friend">
|
||||
<img src="img/avatar2.png" alt="Аватар" width="85" height="85">
|
||||
<div class="friend-info">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p>Информация о друге</p>
|
||||
<div class="friends-buttons">
|
||||
<a href="">Написать сообщение</a>
|
||||
<button class="button-delete" aria-label="Удалить из друзей">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="friend">
|
||||
<img src="img/avatar2.png" alt="Аватар" width="85" height="85">
|
||||
<div class="friend-info">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p>Информация о друге</p>
|
||||
<div class="friends-buttons">
|
||||
<a href="">Написать сообщение</a>
|
||||
<button class="button-delete" aria-label="Удалить из друзей">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="friend">
|
||||
<img src="img/avatar2.png" alt="Аватар" width="85" height="85">
|
||||
<div class="friend-info">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p>Информация о друге</p>
|
||||
<div class="friends-buttons">
|
||||
<a href="">Написать сообщение</a>
|
||||
<button class="button-delete" aria-label="Удалить из друзей">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="friend">
|
||||
<img src="img/avatar2.png" alt="Аватар" width="85" height="85">
|
||||
<div class="friend-info">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p>Информация о друге</p>
|
||||
<div class="friends-buttons">
|
||||
<a href="">Написать сообщение</a>
|
||||
<button class="button-delete" aria-label="Удалить из друзей">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="friend">
|
||||
<img src="img/avatar2.png" alt="Аватар" width="85" height="85">
|
||||
<div class="friend-info">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p>Информация о друге</p>
|
||||
<div class="friends-buttons">
|
||||
<a href="">Написать сообщение</a>
|
||||
<button class="button-delete" aria-label="Удалить из друзей">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</html>
|
67
Groups.html
Normal file
@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Группы</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-logo">
|
||||
<a href="index.html">
|
||||
<img src="img/logo2.png" alt="Логотип" width="65" height="65">
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="Profile.html">Мой профиль</a>
|
||||
<a href="Friends.html">Друзья</a>
|
||||
<a href="Messages.html">Сообщения</a>
|
||||
<a href="Groups.html">Группы</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="groups">
|
||||
<div class="groups-header">
|
||||
<img src="img/groups.png" alt="Иконка сообществ" width="100" height="80">
|
||||
<h1>Мои сообщества</h1>
|
||||
</div>
|
||||
<div class="group">
|
||||
<img src="img/groupAvatar.jpg" alt="Аватар сообщества" width="85" height="85">
|
||||
<div class="group-info">
|
||||
<h1>Название сообщества</h1>
|
||||
<p>Описание сообщества</p>
|
||||
<p class="group-subscribers">1,234 подписчиков</p>
|
||||
<div class="groups-buttons">
|
||||
<a href="">Перейти в сообщество</a>
|
||||
<button class="button-leave" aria-label="Покинуть сообщество">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="group">
|
||||
<img src="img/groupAvatar.jpg" alt="Аватар сообщества" width="85" height="85">
|
||||
<div class="group-info">
|
||||
<h1>Название сообщества</h1>
|
||||
<p>Описание сообщества</p>
|
||||
<p class="group-subscribers">1,234 подписчиков</p>
|
||||
<div class="groups-buttons">
|
||||
<a href="">Перейти в сообщество</a>
|
||||
<button class="button-leave" aria-label="Покинуть сообщество">
|
||||
<img src="img/icon-close.png" alt="" width="24" height="24">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
70
Messages.html
Normal file
@ -0,0 +1,70 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Сообщения</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-logo">
|
||||
<a href="index.html">
|
||||
<img src="img/logo2.png" alt="Логотип" width="65" height="65">
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="Profile.html">Мой профиль</a>
|
||||
<a href="Friends.html">Друзья</a>
|
||||
<a href="Messages.html">Сообщения</a>
|
||||
<a href="Groups.html">Группы</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="messages">
|
||||
<div class="message">
|
||||
<img src="img/avatar2.png" alt="Аватар">
|
||||
<div class="message-content">
|
||||
<span>Имя Фамилия</span>
|
||||
<p>Привет!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message">
|
||||
<img src="img/avatar2.png" alt="Аватар">
|
||||
<div class="message-content">
|
||||
<span>Имя Фамилия</span>
|
||||
<p>Привет!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message">
|
||||
<img src="img/avatar2.png" alt="Аватар">
|
||||
<div class="message-content">
|
||||
<span>Имя Фамилия</span>
|
||||
<p>Привет!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message">
|
||||
<img src="img/avatar2.png" alt="Аватар">
|
||||
<div class="message-content">
|
||||
<span>Имя Фамилия</span>
|
||||
<p>Привет!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message">
|
||||
<img src="img/avatar2.png" alt="Аватар">
|
||||
<div class="message-content">
|
||||
<span>Имя Фамилия</span>
|
||||
<p>Привет!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
81
Profile.html
Normal file
@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Мой профиль</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-logo">
|
||||
<a href="index.html">
|
||||
<img src="img/logo2.png" alt="Логотип" width="65" height="65">
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="Profile.html">Мой профиль</a>
|
||||
<a href="Friends.html">Друзья</a>
|
||||
<a href="Messages.html">Сообщения</a>
|
||||
<a href="Groups.html">Группы</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="profile">
|
||||
<div class="profile-header">
|
||||
<img src="img/avatar1.jpg" alt="Аватар пользователя" class="profile-avatar">
|
||||
<h1>Имя Фамилия</h1>
|
||||
<p class="profile-bio">Описание профиля</p>
|
||||
</div>
|
||||
|
||||
<div class="profile-actions">
|
||||
<button class="button-edit">Редактировать профиль</button>
|
||||
<button class="button-message">Написать сообщение</button>
|
||||
</div>
|
||||
|
||||
<div class="profile-friends">
|
||||
<h2>Друзья</h2>
|
||||
<div class="friends-list">
|
||||
<div class="profile-friend">
|
||||
<img src="img/avatar2.png" alt="Аватар друга">
|
||||
<span>Имя Фамилия</span>
|
||||
</div>
|
||||
<div class="profile-friend">
|
||||
<img src="img/avatar2.png" alt="Аватар друга">
|
||||
<span>Имя Фамилия</span>
|
||||
</div>
|
||||
<div class="profile-friend">
|
||||
<img src="img/avatar2.png" alt="Аватар друга">
|
||||
<span>Имя Фамилия</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="profile-groups">
|
||||
<h2>Сообщества</h2>
|
||||
<div class="groups-list">
|
||||
<div class="profile-group">
|
||||
<img src="img/groupAvatar.jpg" alt="Аватар группы">
|
||||
<span>Название группы</span>
|
||||
</div>
|
||||
<div class="profile-group">
|
||||
<img src="img/groupAvatar.jpg" alt="Аватар группы">
|
||||
<span>Название группы</span>
|
||||
</div>
|
||||
<div class="profile-group">
|
||||
<img src="img/groupAvatar.jpg" alt="Аватар группы">
|
||||
<span>Название группы</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
BIN
img/avatar1.jpg
Normal file
After Width: | Height: | Size: 897 KiB |
BIN
img/avatar2.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
img/friends.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/groupAvatar.jpg
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
img/groups.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
img/icon-close.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
img/logo2.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
img/post1.jpg
Normal file
After Width: | Height: | Size: 1.3 MiB |
67
index.html
Normal file
@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Социальная сеть MySocial</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-logo">
|
||||
<a href="index.html">
|
||||
<img src="img/logo2.png" alt="Логотип" width="65" height="65">
|
||||
</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="Profile.html">Мой профиль</a>
|
||||
<a href="Friends.html">Друзья</a>
|
||||
<a href="Messages.html">Сообщения</a>
|
||||
<a href="Groups.html">Группы</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="feed">
|
||||
<div class="post">
|
||||
<div class="post-header">
|
||||
<img src="img/avatar1.jpg" alt="Avatar" class="avatar">
|
||||
<div class="post-info">
|
||||
<h2 class="username">Имя пользователя</h2>
|
||||
<p class="time">5 минут назад</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="post-text">Это пример публикации в ленте новостей социальной сети.</p>
|
||||
<img src="img/post1.jpg" alt="Post image" class="post-image">
|
||||
<div class="post-actions">
|
||||
<button class="like-button">❤️ <span>12</span></button>
|
||||
<button class="comment-button">💬 <span>4</span></button>
|
||||
<button class="share-button">🔄 <span>3</span></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post">
|
||||
<div class="post-header">
|
||||
<img src="img/avatar2.png" alt="Avatar" class="avatar">
|
||||
<div class="post-info">
|
||||
<h2 class="username">Имя пользователя</h2>
|
||||
<p class="time">8 минут назад</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="post-text">Это пример публикации в ленте новостей социальной сети.</p>
|
||||
<div class="post-actions">
|
||||
<button class="like-button">❤️ <span>5</span></button>
|
||||
<button class="comment-button">💬 <span>1</span></button>
|
||||
<button class="share-button">🔄 <span>2</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
444
style.css
Normal file
@ -0,0 +1,444 @@
|
||||
.container {
|
||||
max-width: 1237px;
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body, html {
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-size: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
scroll-behavior: smooth;
|
||||
background-color: #F2EEEE;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
/* HEADER */
|
||||
header {
|
||||
background-color: #4169E1;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
margin-right: 20px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: #FF8C42;
|
||||
}
|
||||
|
||||
/* MAIN */
|
||||
main {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
/* FEED */
|
||||
.feed {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.post {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.post-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.post-info {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.post-text {
|
||||
margin: 10px 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.post-image {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.post-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.post-actions button {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.post-actions button:hover {
|
||||
color: #4169E1;
|
||||
}
|
||||
|
||||
/* FRIENDS */
|
||||
|
||||
.friends {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
|
||||
text-align: center;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.friends-header {
|
||||
display: flex;
|
||||
gap: 55px;
|
||||
margin-bottom: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.friends-header h1 {
|
||||
font-weight: bold;
|
||||
font-size: 32px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.friend {
|
||||
margin-bottom: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 35px;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
border: 2px solid #eae3cd;
|
||||
border-radius: 15px;
|
||||
background-color: white;
|
||||
|
||||
}
|
||||
|
||||
.friend-info h1 {
|
||||
font-size: 26px;
|
||||
}
|
||||
.friend-info p {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.friend img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.friend:last-of-type {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.friends-buttons {
|
||||
margin-top: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.friends-buttons a {
|
||||
text-decoration: none;
|
||||
color: rgb(42, 88, 133);
|
||||
font-size: 14px;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.button-delete {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: black;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
/* Messages */
|
||||
|
||||
.messages {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.message {
|
||||
display: flex;
|
||||
gap: 25px;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #333333;
|
||||
}
|
||||
|
||||
.message:hover {
|
||||
background-color: #f5f5f5;
|
||||
|
||||
}
|
||||
|
||||
.message:last-child {
|
||||
margin-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.message-content span {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.message-content p {
|
||||
margin-top: 7px;
|
||||
font-size: 16px;
|
||||
color: black;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.message img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 40%;
|
||||
}
|
||||
|
||||
/* GROUPS */
|
||||
|
||||
.groups {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.groups-header {
|
||||
display: flex;
|
||||
gap: 55px;
|
||||
margin-bottom: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.groups-header h1 {
|
||||
font-weight: bold;
|
||||
font-size: 32px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.group {
|
||||
margin-bottom: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 35px;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
border: 2px solid #eae3cd;
|
||||
border-radius: 15px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.group-info h1 {
|
||||
font-size: 26px;
|
||||
}
|
||||
.group-info p {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.group img {
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.group:last-of-type {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.groups-buttons {
|
||||
margin-top: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.groups-buttons a {
|
||||
text-decoration: none;
|
||||
color: rgb(42, 88, 133);
|
||||
font-size: 14px;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.button-leave {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: black;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.group-subscribers {
|
||||
margin-top: 5px;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Profile */
|
||||
|
||||
.profile {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20px;
|
||||
border-radius: 15px;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.profile-header {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 4px solid #eae3cd;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.profile-header h1 {
|
||||
font-size: 32px;
|
||||
color: black;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.profile-bio {
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.profile-actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 15px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.button-edit, .button-message {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.button-edit {
|
||||
background-color: orange;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.button-edit:hover {
|
||||
background-color: #e67e22;
|
||||
}
|
||||
|
||||
.button-message {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.button-message:hover {
|
||||
background-color: #2ecc71;
|
||||
}
|
||||
|
||||
.profile-friends, .profile-groups {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.profile-friends h2, .profile-groups h2 {
|
||||
font-size: 24px;
|
||||
color: black;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.friends-list, .groups-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.profile-friend, .profile-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
background-color: #f9f9f9;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.profile-friend img, .profile-group img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.profile-friend span, .profile-group span {
|
||||
font-size: 16px;
|
||||
color: black;
|
||||
}
|