-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (125 loc) · 3.19 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
* {
font-family: sans-serif;
}
/*
Za pozicioniranje header, container i footer
koristimo CSS FlexBox kojim se brzo i lako
pozicioniraju elementi veb strane, narocito div-ovi.
Ovime smo rekli da delovi header-a i footera tj. div-ovi
u njima se redjaju jedan do drugog, a ne jedan ispod
drugog sto je default nacin. Takodje, flexbox pomaze i u pozicioniranju
teksta.
CSS Flexbox docs: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
Dobar CSS FlexBox tutoriali:
https://www.w3schools.com/css/css3_flexbox.asp
https://www.youtube.com/watch?v=3YW65K6LcIA&t=1s
*/
.header {
display: flex;
height: 6vh;
border: 3px solid rgb(38, 76, 115);
background-color: rgb(38, 76, 115);
color: white;
border-top: 1px solid gray;
position: relative;
}
.hcol1 {
display: flex;
margin: 0;
border-right: 1px solid white;
position: relative;
width: 15%;
height: 100%;
text-align: center;
justify-content: center;
align-items: center;
}
.hcol2 {
display: flex;
margin: 0;
position: relative;
width: 85%;
height: 100%;
text-align: center;
box-sizing: border-box;
/*box sizing: https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing */
justify-content: center;
align-items: center;
padding-right: 75%;
}
/*sa max-height: fit-content smo rekli da visina container-a treba da odgovara tome koliko elemenata
imamo u container-u, prema slikama zahteva dizajna maturskih zadataka.
*/
.container {
display: block;
margin: 0 auto;
padding: 15px;
/*height: 60vh;*/
max-height: fit-content;
text-align: center;
border: 3px solid rgb(63, 127, 192);
background-color: white;
border-left: 2px solid rgb(38, 76, 115);
border-right: 2px solid rgb(38, 76, 115);
}
.prevod{
display: flex;
flex-direction: column;
align-items: start;
justify-items: left;
}
.uputstvo {
color: rgb(38, 76, 115);
display: flex;
flex-direction: column;
align-items: start;
justify-items: left;
text-align: left;
}
.footer {
display: flex;
height: 5vh;
border: 3px solid rgb(38, 76, 115);
background-color: rgb(38, 76, 115);
color: white;
position: relative;
}
.fcol1 {
display: flex;
margin: 0;
height: 100%;
width: 50%;
padding-right: 26%;
box-sizing: border-box;
justify-content: center;
align-items: center;
}
.fcol2 {
display: flex;
margin: 0;
height: 100%;
text-align: center;
width: 50%;
box-sizing: border-box;
padding-left: 35%;
justify-content: center;
align-items: center;
}
.a {
text-decoration: underline;
color: white;
margin: 10px;
}
/*hr linije stilizovane klasama dole se javljaju u nekim zadacima. Ako su vam potrebne,
dodajte hr tag-ove(<hr>) i dodelite im jednu od klasa ispod u zavisnosti koja vam je potrebna.
*/
.fading_line {
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.gray_line {
border: 0;
height: 3px;
background-image: linear-gradient(gray, gray, gray);
}