-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
82 lines (72 loc) · 1.55 KB
/
styles.css
File metadata and controls
82 lines (72 loc) · 1.55 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
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0; /* Usuwa domyślne marginesy */
}
.hero-container {
display: flex;
flex-direction: column;
align-items: center;
}
.hero-info {
text-align: center;
}
.hero-image {
width: 200px;
height: auto;
}
.hero-details {
display: flex;
justify-content: space-between;
width: 100%;
margin-top: 20px;
background-color: #fffde7;
padding: 0; /* Usuwa domyślne padding */
border-radius: 8px;
}
.left-column {
width: 50%; /*Ustawia szerokość column */
border: solid 2px; /* Obramowanie kolumny */
text-align: left; /*Wyrównanie textu do lewej */
box-sizing: content-box; /* Uwzględnia padding */
}
.right-column {
width: 50%;
border: solid 2px;
text-align: center; /* Wyrównanie textu do środka */
background-color: #e0f7fa;
box-sizing: content-box;
}
button {
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border: none;
background-color: #007bff;
color: white;
border-radius: 5px;
margin-top: 20px;
}
button.hover {
background-color: #0056b3;
}
/* Responsywność dla urządzeń mobilnych */
@media (max-width: 600px) {
body {
background-color: #c0c6c8; /* Lekko beżowe tło */
}
.hero-details {
flex-direction: column;
width: 100%;
padding: 0;
}
.left-column,
.right-column {
width: 100%;
margin-bottom: 16px;
box-sizing: border-box;
}
.right-column {
margin-bottom: 0;
}
}