Skip to content

Commit

Permalink
Merge pull request #66 from selmarosine/hugos
Browse files Browse the repository at this point in the history
mobile still breaking
  • Loading branch information
hugosandsjo authored Dec 13, 2023
2 parents d93dd58 + 93a41da commit 02064a6
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,11 @@ footer button {
footer h6 {
font-weight: 400;
font-size: 30px;
margin-left:2vw;
margin-left: 2vw;
}

.footer-links-mobile, .hidden-about-site {
.footer-links-mobile,
.hidden-about-site {
display: none;
}

Expand All @@ -310,13 +311,13 @@ footer input[type="text"] {
box-sizing: border-box;
}

@media (min-width:750px) and (max-width:966px) {
@media (min-width: 750px) and (max-width: 966px) {
footer div h6 {
display: flex;
flex-direction: column;
}

footer h6 {
footer h6 {
font-weight: 400;
font-size: 30px;
}
Expand All @@ -330,21 +331,19 @@ footer input[type="text"] {
}
}

/**/

.erbjudande {
position: relative;
padding: 3rem 18rem;
background-color: var(--yellow);
text-align: center;
animation: colorChange 10s infinite;
animation: colorChange 8s infinite;
}

.erbjudande-star {
position: absolute;
left: 60px;
top: 1838px;
top: -50px;
width: 200px;
position: static;
position: absolute;
}

.erbjudande h6 {
Expand All @@ -358,14 +357,14 @@ button a {

@keyframes colorChange {
0% {
background-color: var(--yellow); /* existing purple color */
background-color: var(--yellow);
}
33% {
background-color: var(--pink); /* and another color */
50% {
background-color: var(--pinkSoft);
}

100% {
background-color: var(--yellow); /* and another color */
background-color: var(--yellow);
}
}

Expand Down Expand Up @@ -424,9 +423,11 @@ button a {
.kommande-item {
width: 80%;
}

.kommande-item p {
max-width: 80%;
}

.kommande-item h6 {
max-width: 100%;
}
Expand All @@ -439,8 +440,9 @@ button a {
}

.erbjudande-star {
top: 1500px;
width: 200px;
top: 27px;
left: 30px;
width: 175px;
}
}

Expand Down

0 comments on commit 02064a6

Please sign in to comment.