mobile styles

This commit is contained in:
2021-04-12 13:40:36 +02:00
parent a1b87af931
commit 2daf1e2fa7
3 changed files with 36 additions and 15 deletions

View File

@@ -85,4 +85,9 @@
&:hover &:hover
background-color: var(--dark-bg3) background-color: var(--dark-bg3)
border: 4px solid var(--dark-bg2) border: 4px solid var(--dark-bg2)
@media only screen and (max-width: 872px)
.gractwoRoot
h1
display: none
</style> </style>

View File

@@ -48,4 +48,11 @@
&:focus,&:hover &:focus,&:hover
background-color: var(--dark-bg3) background-color: var(--dark-bg3)
transform: scale(1.05) transform: scale(1.05)
@media only screen and (max-width: 872px)
.card
font-size: .8em
width: 18rem
img
width: 64px
</style> </style>

View File

@@ -3,7 +3,8 @@
<div class="first"> <div class="first">
<h1>Witajcie w Gractwie!</h1> <h1>Witajcie w Gractwie!</h1>
<p> <p>
Jesteśmy społecznością - grupą ludzi - których kręcą gry. Proste, nie? <br> Jesteśmy społecznością - grupą ludzi - których kręcą gry. Proste, nie?
<br />
</p> </p>
<gractwosvg class="g" /> <gractwosvg class="g" />
</div> </div>
@@ -60,7 +61,7 @@ export default defineComponent({
name: 'Home', name: 'Home',
components: { components: {
gractwosvg, gractwosvg,
card card,
}, },
}); });
</script> </script>
@@ -90,4 +91,12 @@ export default defineComponent({
transform: rotate(-9deg) scale(0.9) transform: rotate(-9deg) scale(0.9)
100% 100%
transform: rotate(5deg) transform: rotate(5deg)
@media only screen and (max-width: 872px)
main
padding: 3rem 1rem
.g
position: absolute
top: 8.5%
width: 184px
</style> </style>