fix legal page responsiveness

This commit is contained in:
hippoz 2022-10-19 20:58:00 +03:00
parent 26948e2dc3
commit 6fda2d35b1
Signed by: hippoz
GPG key ID: 7C52899193467641
2 changed files with 10 additions and 13 deletions

View file

@ -4,8 +4,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="${description}"> <meta name="description" content="Hippoz Privacy Policy">
<title>Hippoz.</title> <title>Hippoz Privacy Policy</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>

View file

@ -29,13 +29,9 @@
--small: 0.8rem; --small: 0.8rem;
} }
html {
font-size: 100%;
}
html, html,
body { body {
font-size: clamp(1rem, 1vw, 1.3rem); font-size: 100%;
font-family: "Manrope", Arial, Helvetica, sans-serif; font-family: "Manrope", Arial, Helvetica, sans-serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -50,12 +46,14 @@ a {
color: var(--accent); color: var(--accent);
} }
* {
box-sizing: border-box;
}
.main-container { .main-container {
width: 55%; width: clamp(200px, 100vw, 1000px);
margin-left: auto; margin: 28px auto;
margin-right: auto; padding: 36px;
margin-top: 28px;
margin-bottom: 28px;
} }
.branding-container { .branding-container {
@ -95,7 +93,6 @@ h3,
h4, h4,
h5 { h5 {
margin: 3rem 0 1.38rem; margin: 3rem 0 1.38rem;
font-family: 'Poppins', sans-serif;
font-weight: 400; font-weight: 400;
line-height: 1.3; line-height: 1.3;
} }