Responsive landing page.
This commit is contained in:
@@ -2,6 +2,7 @@ body {
|
|||||||
font-family: 'Crimson Text', sans-serif;
|
font-family: 'Crimson Text', sans-serif;
|
||||||
color: #2f273e;
|
color: #2f273e;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
@@ -109,6 +110,11 @@ footer {
|
|||||||
|
|
||||||
.right {
|
.right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
|
.email-link {
|
||||||
|
color: blue;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,20 +5,24 @@ section.logo {
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: '@Sanna Hukkanen';
|
|
||||||
font-size: 90%;
|
|
||||||
text-align: right;
|
|
||||||
position: relative;
|
|
||||||
left: 88%;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#logo-credits {
|
||||||
|
font-size: 90%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: right;
|
||||||
|
background-color: #d5caf2;
|
||||||
|
max-width: 990px;
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section.text {
|
section.text {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
background-image: linear-gradient(to top, rgba(255, 0, 0, 0), #d5caf2);
|
background-image: linear-gradient(to top, rgba(255, 0, 0, 0), #d5caf2);
|
||||||
@@ -26,6 +30,19 @@ section.text {
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
padding: 0px 20px;
|
padding: 0px 20px;
|
||||||
|
max-width: 56%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
p {
|
||||||
|
max-width: 90% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
section.text {
|
||||||
|
width: 90% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,3 +53,9 @@ section.text {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
.time-and-place {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user