-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (80 loc) · 1.58 KB
/
styles.css
File metadata and controls
95 lines (80 loc) · 1.58 KB
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
img {
width:300;
border:2px solid blue;
border-radius: 40%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
body {
background-color:aqua;
font-family:Ariel;
}
h3 {
color: navy;
margin-left: 20px;
}
h3 {
text-decoration: underline;
}
<!-- מכאן התחלתי עיצוב לאתר שלקחתי מהרשת
body {
font-family: Arial, sans-serif;
margin: 6;
padding: 6;
text-align: left;
background-color: #f4f4f4;
}
h1 {
color: #333;
margin: 20px 0;
}
.gallery {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
padding: 20px;
}
.gallery img {
width: 300px;
height: auto;
border: 2px solid #ccc;
border-radius: 8px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.gallery img:hover {
transform: scale(1.05);
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
/* עיצוב חלון המודאל */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
display: block;
margin: auto;
max-width: 80%;
max-height: 80%;
}
.close {
position: absolute;
top: 20px;
right: 30px;
color: white;
font-size: 35px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: red;
text-decoration: none;
}