Fixed image and sizing issues on announcements

This commit is contained in:
Joe Citrine 2016-12-06 13:27:05 +00:00 committed by GitHub
parent 90060325b7
commit 08ad975fb1

View file

@ -207,7 +207,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: left center; background-position: left center;
@media (max-width: 720px) { @media (max-width: 1200px) {
height: auto; height: auto;
background-image: none; background-image: none;
} }
@ -219,7 +219,7 @@
.announce-actions, .announce-content { .announce-actions, .announce-content {
padding-left: 300px; padding-left: 300px;
@media (max-width: 720px) { @media (max-width: 1200px) {
padding-left: 15px; padding-left: 15px;
} }
} }
@ -228,12 +228,12 @@
&.secret-santa-announce { &.secret-santa-announce {
height: 150px; height: 150px;
background-color: #68a1ee; background-color: #68a1ee;
background-image: url(http://i.imgur.com/dSCXyGx.jpg); background-image: url(https://i.imgur.com/dSCXyGx.jpg);
background-size: 300px; background-size: 300px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: left center; background-position: left center;
@media (max-width: 720px) { @media (max-width: 1200px) {
height: auto; height: auto;
background-image: none; background-image: none;
} }
@ -245,7 +245,7 @@
.announce-actions, .announce-content { .announce-actions, .announce-content {
padding-left: 300px; padding-left: 300px;
@media (max-width: 720px) { @media (max-width: 1200px) {
padding-left: 15px; padding-left: 15px;
} }
} }