Skip to content

Commit

Permalink
Merge pull request #3 from wirenboard/bugfix/small-resolution
Browse files Browse the repository at this point in the history
fix iphone se resolution
  • Loading branch information
ninedev-i authored Dec 26, 2024
2 parents 500dd6e + 65d33ae commit ceaad22
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 10 deletions.
19 changes: 17 additions & 2 deletions assets/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ main {
@media (max-width: 1024px) {
padding: 0 20px;
}

@media (max-width: 290px) {
padding: 0 12px;
}
}

article {
Expand Down Expand Up @@ -49,6 +53,11 @@ h2 {
@media (max-width: 620px) {
text-align: left;
}

@media (max-width: 290px) {
font-size: 28px;
margin-top: 16px;
}
}

button {
Expand Down Expand Up @@ -81,10 +90,16 @@ details summary::-webkit-details-marker {
filter: blur(70px);
margin: -200px 150px 220px;
opacity: 0.4;
width: 180px;
height: 180px;
width: 100%;
max-width: 180px;
height: 100%;
max-height: 180px;
position: absolute;
z-index: -1;

@media (max-width: 290px) {
display: none;
}
}

.spotlight-right {
Expand Down
7 changes: 7 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ export default defineNuxtConfig({
'~/assets/css/variables.css',
'~/assets/css/globals.css',
],
postcss: {
plugins: {
autoprefixer: {
overrideBrowserslist: ['last 4 versions', 'iOS >= 8']
}
}
},
modules: [
'@nuxtjs/google-fonts',
'vue-yandex-maps/nuxt',
Expand Down
7 changes: 0 additions & 7 deletions postcss.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions public/timepad.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ body {
border: 1px solid #4d9f0c;
padding: 16px 24px;
border-radius: 36px;

@media (max-width: 290px) {
padding: 12px 0;
}
}

.b-registration__section,
Expand Down Expand Up @@ -45,6 +49,10 @@ body {
@media (max-width: 600px) {
font-size: 18px !important;
}

@media (max-width: 290px) {
font-size: 16px !important;
}
}

.tpwf-loader-caption,
Expand Down
8 changes: 8 additions & 0 deletions src/faq.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
@media (max-width: 620px) {
padding: 16px 24px;
}
@media (max-width: 290px) {
padding: 12px 16px;
}
}
.faq-details:not([open]) .faq-question:before {
Expand Down Expand Up @@ -91,6 +95,10 @@
@media (max-width: 620px) {
padding: 0 24px 16px;
}
@media (max-width: 290px) {
padding: 12px 16px;
}
}
</style>
<script setup lang="ts">
Expand Down
26 changes: 25 additions & 1 deletion src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<time class="main-date" datetime="2025-17-04">17 – 18 апреля / Москва</time>
<h1 class="main-title">WBCE 2025</h1>
<p class="main-subtitle">Выставка и конференция по домашней<br /> и промышленной автоматизации</p>
<button @click="scrollToElementById('register')">Зарегистрироваться</button>
<button class="main-register" @click="scrollToElementById('register')">Зарегистрироваться</button>
<p class="main-link">
<img src="/assets/img/tg.svg" alt="">
<a href="https://t.me/wbce2025" target="_blank">Подписывайтесь на Telegram-канал WBCE</a>
Expand Down Expand Up @@ -32,6 +32,10 @@
padding: 24px;
background: url("/assets/img/video_poster.jpg");
}
@media (max-width: 290px) {
padding: 24px 18px;
}
}
.main-video {
Expand Down Expand Up @@ -83,6 +87,10 @@
font-size: 16px;
padding: 10px 12px;
}
@media (max-width: 290px) {
font-size: 14px;
}
}
.main-title {
Expand Down Expand Up @@ -131,6 +139,11 @@
margin-top: 6px;
font-size: 16px;
}
@media (max-width: 290px) {
font-size: 14px;
line-height: 20px;
}
}
.main-link {
Expand All @@ -142,5 +155,16 @@
@media (max-width: 550px) {
font-size: 16px;
}
@media (max-width: 290px) {
font-size: 14px;
}
}
.main-register {
@media (max-width: 290px) {
font-size: 16px;
padding: 4px 16px;
}
}
</style>
4 changes: 4 additions & 0 deletions src/members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@
@media (max-width: 470px) {
max-width: 250px;
}
@media (max-width: 290px) {
max-width: 160px;
}
}
</style>

0 comments on commit ceaad22

Please sign in to comment.