Skip to content

Commit 86ea297

Browse files
authored
Četrti commit
1 parent 341f168 commit 86ea297

File tree

1 file changed

+22
-49
lines changed

1 file changed

+22
-49
lines changed

style.css

Lines changed: 22 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,37 @@
88
src: url(fonti/MPLUSCodeLatin.ttf);
99
}
1010

11-
html, body {
11+
html,
12+
body {
1213
width: 100%;
1314
height: 100%;
1415
font-family: font_obic;
1516
font-size: 15px;
1617
}
1718

1819
/*
19-
2020
#0169cc -tmna
2121
#71a1fa -svetla
22-
2322
*/
2423

2524
div {
2625
padding-bottom: 3%;
2726
}
28-
input[type=text], input[type=email], input[type=date], textarea{
27+
28+
input[type=text],input[type=email],input[type=date],textarea {
2929
border: 2px solid #0169cc;
3030
border-radius: 5px;
3131
padding: 1%;
32+
box-sizing: border-box;
33+
width: 100%;
3234
}
3335

3436
.obv::after {
3537
content: "*";
3638
color: red;
3739
}
3840

39-
.osivi{
41+
.osivi {
4042
cursor: pointer;
4143
opacity: 0.5;
4244
}
@@ -70,16 +72,20 @@ input[type=text], input[type=email], input[type=date], textarea{
7072
background: #0169cc;
7173
}
7274

73-
#obrazec-main>form>#osnovni {
75+
#osnovni {
7476
padding: 3%;
7577
max-width: 100%;
7678
border-radius: 20px;
7779
border: 2px solid #71a1fa;
7880
margin-bottom: 2%;
7981
display: flex;
8082
flex-direction: column;
81-
align-items: center;
8283
background: white;
84+
align-items: center;
85+
}
86+
87+
#osnovni>div {
88+
padding: 0;
8389
}
8490

8591
#gnaslov {
@@ -95,52 +101,17 @@ input[type=text], input[type=email], input[type=date], textarea{
95101
font-weight: bold;
96102
}
97103

98-
#ime_priimek {
99-
display: flex;
100-
max-width: fit-content;
101-
}
102-
103-
#ime_priimek>div {
104-
padding: 0;
105-
text-align: left;
104+
#ime_priimek > div, #davcna, #tel_mail > div, #naslov, #mestoSt > div {
105+
flex: 1;
106106
margin-right: 2%;
107107
}
108108

109-
#davcna {
110-
width: 100%;
111-
}
112-
#davcna>input{
113-
width: 100%;
114-
}
115-
116-
#tel_mail {
109+
#ime_priimek, #tel_mail, #mestoSt {
117110
display: flex;
118-
max-width: fit-content;
119111
}
120112

121-
#tel_mail>div {
122-
padding: 0;
123-
text-align: left;
124-
margin-right: 2%;
125-
}
126-
127-
#naslov {
128-
width: 100%;
129-
}
130-
#naslov>input{
131-
width: 100%;
132-
}
133-
134-
#mestoSt {
135-
display: flex;
136-
max-width: fit-content;
137-
138-
}
139-
140-
#mestoSt>div {
141-
padding: 0;
142-
text-align: left;
143-
margin-right: 2%;
113+
#davcna > input, #ulica_hisna_st, #mesto, #postnaST, #telefonska, #mail {
114+
width: 100%
144115
}
145116

146117
#prosnja {
@@ -165,6 +136,7 @@ input[type=text], input[type=email], input[type=date], textarea{
165136
background-color: white;
166137
transition: opacity 0.5s ease;
167138
}
139+
168140
#izdaja>input {
169141
width: 20%;
170142
font-weight: bold;
@@ -229,10 +201,11 @@ input[type=text], input[type=email], input[type=date], textarea{
229201
text-align: left;
230202
}
231203

232-
#vracilo>#vrac_kz{
204+
#vracilo>#vrac_kz {
233205
text-align: center;
234206
width: 30%;
235207
}
208+
236209
#vracilo>#dat_vrac_kz {
237210
text-align: center;
238211
font-weight: normal;
@@ -265,4 +238,4 @@ input[type=text], input[type=email], input[type=date], textarea{
265238
background-color: #71a1fa;
266239
cursor: pointer;
267240
transition: 0.2s;
268-
}
241+
}

0 commit comments

Comments
 (0)