Skeleton of the new style

This commit is contained in:
2022-06-07 00:24:13 +03:00
parent 696bc00072
commit 94407d1b68
10 changed files with 146 additions and 344 deletions

View File

@@ -1,56 +1,52 @@
footer {
.footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 30px;
}
.container {
display: flex;
justify-content: space-between;
width: 50%;
align-items: start;
.container {
display: flex;
justify-content: space-between;
width: 50%;
align-items: start;
}
.middle img {
max-width: 55px;
margin-top: 10px;
}
.middle {
display: flex;
align-items: center;
flex-direction: column;
}
.right {
text-align: right;
}
}
.logo {
max-width: 55px;
margin-top: 5px;
margin-bottom: 1rem;
}
.mobileMiddle {
visibility: hidden;
.right {
text-align: right;
}
img {
max-width: 55px;
margin-top: 10px;
}
}
.sourceLink {
margin-right: 0.5rem;
}
@media screen and (max-width: 600px) {
footer {
.container {
width: 95% !important;
flex-direction: column;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
.container {
width: 95% !important;
flex-direction: column;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
}
div {
text-align: center !important;
}
.footer {
text-align: center !important;
}
.middle {
visibility: hidden;
max-height: 15px;
}
}
.mobile-middle {
visibility: visible;
}
.middle {
visibility: hidden;
max-height: 15px;
}
}

View File

@@ -1,71 +1,36 @@
header {
.header {
display: flex;
flex-direction: column;
align-items: center;
}
nav {
display: flex;
justify-content: center;
.navBar {
display: flex;
justify-content: center;
}
a {
padding: 15px;
color: #2f273e;
text-decoration: none;
}
.navBarLink {
padding-left: 15px;
padding-right: 15px;
color: #2f273e;
text-decoration: none;
}
a:hover {
background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), #d5caf2);
text-decoration: underline;
}
.navBarLink:hover {
color: #69568b;
}
@media screen and (max-width: 600px) {
a {
width: 100%;
padding: 0px;
text-align: center;
text-decoration: underline;
font-size: 1.5rem;
margin-bottom: 4px;
}
}
&.mobileMainNavBar {
visibility: hidden;
height: 0px;
}
@media screen and (max-width: 600px) {
&.mobileMainNavBar {
height: auto;
display: flex;
visibility: visible;
flex-direction: column;
align-items: center;
background-color: #d5caf2;
width: 80%;
margin-bottom: 30px;
}
&.mainNavBar {
visibility: hidden;
height: 0px;
}
}
@media screen and (max-width: 600px) {
.navBarLink {
width: 100%;
padding: 0px;
text-align: center;
text-decoration: underline;
font-size: 1.5rem;
margin-bottom: 4px;
}
.mobileMainTitle {
visibility: hidden;
height: 0px;
margin: 0px;
}
@media screen and (max-width: 600px) {
.mobileMainTitle {
visibility: visible !important;
height: 100% !important;
margin-top: 30px !important;
margin-bottom: 30px !important;
text-align: center;
}
.navBar {
flex-direction: column;
}
}

View File

@@ -1,61 +1,25 @@
section.logo {
width: 80%;
max-width: 1000px;
background-color: #d5caf2;
border-radius: 3px 3px 0px 0px;
padding-top: 3px;
img {
width: 100%;
}
#logo-credits {
font-size: 90%;
display: flex;
justify-content: right;
background-color: #d5caf2;
max-width: 990px;
padding-right: 10px;
}
}
section.text {
.logoContainer {
display: flex;
flex-direction: column;
align-items: center;
}
.logo {
width: 80%;
max-width: 1000px;
background-image: linear-gradient(to top, rgba(255, 0, 0, 0), #d5caf2);
text-align: center;
p {
padding: 0px 20px;
max-width: 56%;
}
@media screen and (max-width: 600px) {
p {
max-width: 90% !important;
}
}
border-radius: 3px 3px 0px 0px;
padding-top: 3px;
}
@media screen and (max-width: 600px) {
section.text {
width: 90% !important;
}
.logoImage {
width: 100%;
}
@media screen and (max-width: 600px) {
#main-title {
visibility: hidden;
height: 0px;
margin: 0px;
}
}
@media screen and (max-width: 600px) {
.timeAndPlace {
font-size: 1.1rem;
}
.logoCredits {
font-size: 90%;
display: flex;
justify-content: right;
max-width: 990px;
padding-right: 10px;
margin-top: -10px;
}

View File

@@ -9,101 +9,11 @@ body {
margin: 0px;
}
@media screen and (max-width: 600px) {
body {
background-color: #d5caf2;
overflow-x: hidden;
}
}
main {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
min-height: 500px;
}
a {
color: #2f273e;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
text-align: left;
max-width: 44%;
}
@media screen and (max-width: 600px) {
ul {
max-width: 90% !important;
}
}
h1,
h2,
h3,
h4,
h5 {
text-shadow: 3px 3px 3px #ababab;
}
h1 {
font-size: 3rem;
}
p {
text-align: justify;
}
section.main {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
max-width: 1000px;
background-image: linear-gradient(to top, rgba(255, 0, 0, 0), #d5caf2);
text-align: center;
border-radius: 3px 3px 0px 0px;
p {
padding: 0px 20px;
max-width: 56%;
width: 100%;
}
@media screen and (max-width: 600px) {
p {
max-width: none;
}
}
.link-back {
font-weight: bolder;
margin-top: 20px;
margin-bottom: 20px;
text-decoration: underline;
}
}
section.logo ~ section.main {
border-radius: 0px;
}
.generic-link {
color: #2222ed;
a {
color: #8962ec;
text-decoration: underline;
}
hr {
width: inherit;
}
.foot-note {
margin-top: 20px;
margin-bottom: 20px;
}