Witam, Robilem kurs z youtube niestety na stronie od fontów nie ma ikony Diskorda.
Wziałem ja z fontawesome lecz nie moge jej wycentrowac.
Szukałem po internecie niestety nie bardzo potrafie rozwiazac ten problem.
Wklejam kod ponizej.
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8"/>
<title> MiTuGo</title>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="css/fontello.css" type="text/css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Lato&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<div class="rectangle">
<div id="logo">Kursy nauka sztuka</div>
<div id="zegar">12:00:00</div>
<div style="clear: both;"></div>
</div>
<div class="square">
<div class="tile1">1</div>
<div class="tile1">1</div>
<div style="clear:both;"></div>
<div class="tile2">2</div>
<div class="tile3">3</div>
<div style="clear:both;"></div>
<div class="tile4">4</div>
</div>
<div class="square">
<div class="tile5">5</div>
<div class="yt">
<i class="icon-youtube"></i></div>
<div class="fb">fb</div>
<div class="diskord">
<i class="fa-brands fa-discord fa-3x fa-align-center "></i></div>
<div class="tiktok">tiktok</div>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<div class="rectangle"> 2023 © Michal z MiTuGo - Strona poswiecona Matched Bettingowi. Zapraszam do zapoznania sie z tresciami na stronie.</div>
</div>
</div>
</body>
</html>
body
{
background-color: #303030;
color: #ffffff;
font-family: 'Lato', sans-serif;
font-size: 20px;
}
#container
{
width: 1000px;
margin-left: auto;
margin-right: auto;
}
.rectangle
{
width: 960px;
margin: 20px;
text-align: center;
}
.square
{
width: 50%;
float: left;
}
#logo
{
float: left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
width: 600px;
text-align:left;
}
#zegar
{
float: left;
font-family: 'Josefin Sans', sans-serif;
font-size: 70px;
text-align:left;
}
.tile1
{
margin:10px;
width:230px;
height:142px;
background-color: #3095d3;
float: left;
}
.tile2
{
margin:10px;
width:230px;
height:142px;
background-color: #96b6ca;
float: left;
}
.tile3
{
margin:10px;
width:230px;
height:142px;
background-color: #4ac755;
float: left;
}
.tile4
{
margin:10px;
width:480px;
height:142px;
background-color: #e95b09;
}
.tile5
{
margin:10px;
width:480px;
height:304px;
background-color: #90afd6;
}
.yt
{
margin:10px;
width:105px;
height:142px;
background-color: #d94348;
float: left;
}
.fb
{
margin:10px;
width:105px;
height:142px;
background-color: #4668b3;
float: left;
}
.diskord
{
margin:10px;
width:105px;
height:142px;
background-color: #36393e;
float: left;
}
.tiktok
{
margin:10px;
width:105px;
height:142px;
background-color: #3095d3;
float: left;
}
Tak to sie prezentuje.