Files
website/style.css
T
2024-08-04 00:28:18 +05:30

113 lines
1.4 KiB
CSS

* {
box-sizing: border-box;
}
@font-face {
font-family: 'nkfont';
font-style: normal;
font-weight: normal;
src: url('/font/Rubik-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'nkfont';
font-style: normal;
font-weight: bold;
src: url('/font/Rubik-Bold.woff2') format('woff2');
}
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: 'nkfont', sans-serif;
font-size: 18px;
line-height: 1.5;
color: #444;
width: 670px;
margin: 1em;
}
a {
display: inline-block;
color: #0060FF;
text-decoration: none;
padding-bottom: 0px;
}
a:hover {
transform:translateY(2px);
}
.header {
display: flex;
align-items: center;
text-decoration: none;
border: none;
}
.header p {
font-size: 20px;
color: #0061FF;
letter-spacing: 1px;
margin-left: 10px;
}
.logo {
border-radius: 50%;
background: #0061FF;
height: 75px;
width: 75px;
}
.logo > img {
border-radius: 50%;
mix-blend-mode: screen;
}
.header:hover {
transform: none;
}
.header:hover img {
border: none;
mix-blend-mode: normal;
}
.header:hover p {
color: #444;
}
nav {
display: block;
margin: 2em 0;
}
nav a {
margin-right: 1em;
}
nav a:last-child {
margin-right: 0;
}
.home img {
width: 100%;
}
.content-wrapper h3 span,
main ul li span {
font-size: 17px;
font-weight: normal;
}
@media only screen and (max-width: 700px) {
body {
width: 100%;
margin: 0;
padding: 1em;
}
}