-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
115 lines (107 loc) · 2.27 KB
/
contact.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
* {
/* מרחיב את הבורדר והפדינג כלפי פנים ולא כלפי חוץ כברירת מחדל */
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Open Sans', sans-serif;
direction: rtl;
}
.container-fluid {
width: 100%;
padding: 0px 16px;
}
.container {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 900px;
margin: 0 auto;
}
header{
background: rgb(88, 16, 16);
min-height: 80px;
}
header nav a {
color: white;
text-decoration: none;
padding: 0 12px;
}
header nav a:hover {
color: gold;
text-decoration: underline;
}
header .icon{
border: none;
border-radius: 30px;
}
header nav a[href="contact.html"]{
color: gold;
}
.strip {
min-height: 300px;
background-image: url(images/בית\ כנסת.png);
background-size: cover;
background-position: center center;
background-attachment: fixed;
height: 400px;
padding: 8px;
}
.strip .container {
max-width: 400px;
/* יורש מאבא */
min-height: inherit;
padding: 8px;
color: white;
display: flex;
text-align: center;
align-items: center;
}
main {
min-height: 200px;
background: #eee;
position: relative;
}
main .half_gray {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100px;
background-image: url(images/בית\ כנסת.png);
background-size: cover;
background-position: center center;
background-attachment: fixed;
padding: 8px;
}
main .container {
padding: 32px;
display: flex;
/* אם הילדים גדולים מ100%, יהיו אחד אחרי השני */
flex-wrap: wrap;
justify-content: space-between;
}
main .Box {
background: white;
width: 30%;
text-align: center;
padding: 16px;
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
z-index: 99;
}
/* responsivi */
@media (max-width:500px) {
header .logo{
width: 100%;
}
header nav {
display: none;
}
header .menu {
display: block;
}
main .Box{
width: 100%;
margin-bottom: 24px;
}
}