stajlcss v index.vue raje (reaktivnost)

pull/26/head
Jurij Podgoršek 2024-01-06 17:58:17 +01:00
parent ccf72a9214
commit 31d5c653f0
3 changed files with 31 additions and 39 deletions

View File

@ -11,7 +11,6 @@ export default defineNuxtConfig({
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', type: 'text/css', href: '/css/stajl.css' },
{ rel: 'stylesheet', type: 'text/css', href: '/css/fonti.css' }
]
}

View File

@ -13,6 +13,37 @@ await store.naloziStrani()
<style>
body {
font-family: Inter;
margin: 0;
padding: 1rem;
}
@media screen and (min-width: 260px) {
.meni {
display: flex;
padding: 0;
justify-content: space-between;
}
}
.meni li {
margin-left: 1.2rem;
}
h1 {
text-align: center;
font-size: 2.5rem;
margin: .2rem 0 1rem 0;
}
form {
display: flex;
flex-direction: column;
}
input[type=submit] { margin-top: 1rem; }
details > summary {
list-style: none;
}
.gumb {

View File

@ -1,38 +0,0 @@
body {
margin: 0;
padding: 1rem;
display: flex;
}
.yufu {
margin-left: auto;
margin-right: auto;
}
@media screen and (min-width: 260px) {
.meni {
display: flex;
padding: 0;
justify-content: space-between;
}
}
.meni li {
margin-left: 1.2rem;
}
h1 {
text-align: center;
font-size: 2.5rem;
margin: .2rem 0 1rem 0;
}
form {
display: flex;
flex-direction: column;
}
input[type=submit] { margin-top: 1rem; }
details > summary {
list-style: none;
}