Witam, mam pewien problem mianowicie, gdy włączam stronę lokalnie lub gdy wchodzę na nią przez firefoxa wszystko jest w porządku. Natomiast po wejściu na stronę przez chrome (np kiedy jest na hostingu lub przez localhost) to czcionka się nie ładuje.
Tutaj z opery, czyli tak jak ma wyglądać
a tutaj z chrome
<html lang="pl">
<head>
<meta charset="utf-8">
<title>Przepysznie.pl - najlepsze przepisy w internecie!</title>
<link href="style.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="jquery.scrollTo.min.js" type="text/javascript"></script>
<script>
jQuery(function($)
{
$(document).ready(function(){
$('body').fadeIn(500);
});
}
);
</script>
</head>
<body>
<div id="header">
<div id="logo">
<h1 id="tytul">Przepysznie.pl</h1>
<p id="podtytul">Najlepsze przepisy w internecie!</p>
</div>
<ul id="lista">
<li>Start</li>
</ul>
</div>
</body>
</html>
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
/* font-family: 'Open Sans', sans-serif; */
/*Google Fonts */
body {
font-family: 'Open Sans', sans-serif;
margin: 0;
}
#logo {
margin: 0;
border-radius: 100%;
width: 400px;
height: 200px;
background-color: rgb(200, 200, 200);
position: absolute;
left: -120px;
top: -100px;
box-shadow: 0px 2px 10px 0px black;
}
#tytul {
position: relative;
left: 130px;
top: 95px;
}
#podtytul {
position: relative;
left: 130px;
top: 70px;
font-size: 14px;
}
#header {
height: 60px;
width: auto;
background-color: rgb(240, 240, 240);
box-shadow: 0px 2px 10px 0px black;
}
#lista {
}