-
Notifications
You must be signed in to change notification settings - Fork 1
/
stile.css
190 lines (162 loc) · 3.25 KB
/
stile.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* stile.css */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f4f4f9;
color: #333;
}
.main-header {
position: sticky;
display: flex;
top:0;
justify-content: space-between;
align-items: center;
background-color: #2c3e50;
padding: 0.35rem 3rem;
color: white;
}
.main-header .logo {
display: flex;
align-items: center;
}
.main-header .logo img {
height: 75px;
margin-right: 1rem;
}
.main-header .main-nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.main-header .main-nav ul li {
margin: 0 1rem;
}
.main-header .main-nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
.main-header .main-nav ul li.game-icon img {
height: 25px;
cursor: pointer;
}
#autore {
padding: 2rem;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-top: 2rem;
}
#autore h2 {
font-size: 2rem;
margin-bottom: 1rem;
color: #2c3e50;
}
#autore p {
font-size: 1.1rem;
line-height: 1.6;
color: #34495e;
}
.content-with-sidebar {
display: flex;
flex-direction: row;
}
.sidebar {
position: absolute;
right: 0px;
width: 250px;
background-color: #ecf0f1;
padding: 1rem;
border: 1px solid #bdc3c7;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
.sidebar .feed-item {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar .feed-item {
margin-bottom: 0.5rem;
}
.sidebar .feed-item {
text-decoration: none;
color: #2c3e50;
font-weight: bold;
display: block;
padding: 0.5rem;
border-radius: 4px;
transition: background-color 0.3s;
}
.sidebar .feed-item a:hover {
background-color: #1abc9c;
color: white;
}
.hero {
text-align: center;
padding: 2rem;
background-color: #34495e;
color: white;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
}
.guides-container {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
padding: 2rem;
}
.guide-card {
background-color: white;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 1rem;
max-width: 300px;
text-align: center;
}
.guide-card h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.guide-card img{
height: 20vh;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 1rem;
max-width: 500px;
text-align: center;
}
.guide-card p {
font-size: 1rem;
margin-bottom: 1rem;
}
.guide-card a {
display: inline-block;
padding: 0.5rem 1rem;
color: white;
background-color: #2980b9;
text-decoration: none;
border-radius: 4px;
}
.guide-card a:hover {
background-color: #1abc9c;
}
.main-footer {
width: 100%;
bottom: 0px;
text-align: center;
margin-top: auto;
background-color: #2c3e50;
color: white;
}