Initial revamp of design
This commit is contained in:
@@ -1,137 +1,99 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
max-width: 30em;
|
||||
@font-face {
|
||||
font-family: 'nkfont';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: url('/font/Rubik-Regular.woff2') format('woff2');
|
||||
}
|
||||
|
||||
header {
|
||||
@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;
|
||||
}
|
||||
|
||||
nav {
|
||||
a {
|
||||
display: inline-block;
|
||||
color: #0060FF;
|
||||
text-decoration: none;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
transform:translateY(2px);
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: center;
|
||||
margin: 2em 0 3em;
|
||||
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 {
|
||||
background-color: #BF1717;
|
||||
font-family: sans-serif;
|
||||
color: white;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
text-shadow: 0px 0px 1px #cccccc;
|
||||
min-width: 70px;
|
||||
padding: 0.3em 0.5em 0.2em;
|
||||
text-decoration: none;
|
||||
box-shadow: 1px 2px 2px #eba2a2 inset;
|
||||
border-bottom: 4px solid #992727;
|
||||
border-right: 2px solid #992727;
|
||||
border-left: 1px solid #992727;
|
||||
border-top: 1px solid #ac3e3e;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1em 0;
|
||||
nav a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
li {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
ul li:before {
|
||||
background-color: #BF1717;
|
||||
border-radius: 0;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 2px;
|
||||
height: 6px;
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.home {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.home,
|
||||
main,
|
||||
.content-wrapper {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.content-wrapper h3 {
|
||||
color: #663333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.date {
|
||||
color: #7d7d7d;
|
||||
}
|
||||
|
||||
.contact {
|
||||
background-color: #ffcc33;
|
||||
padding: 0.6em;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
color: #cccccc;
|
||||
margin: 3em 0 3em 1em;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
footer hr {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 425px) {
|
||||
body {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 284px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
nav {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.home,
|
||||
main,
|
||||
.content-wrapper {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin: 0 0 2em 0;
|
||||
padding: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.home img {
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user