-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (73 loc) · 1.42 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
display: flex;
flex-direction: column;
height: 100vh;
}
header {
background-color: #004466;
color: white;
padding: 10px;
text-align: center;
}
.scroller {
list-style: none;
padding: 10px;
text-align: left;
}
.scroller li {
margin: 10px 0;
}
.scroller a {
color: white;
text-decoration: none;
}
.scroller a:hover {
text-decoration: underline;
}
main {
flex: 1;
padding: 20px;
overflow-y: auto;
}
.content-box {
margin-bottom: 50px;
padding: 20px;
border: 1px solid #ccc;
background-color: #f9f9f9;
border-radius: 5px;
}
footer {
background-color: #004466;
color: white;
text-align: center;
padding: 20px;
position: fixed; /* Para garantir que o footer ocupe a posição normal na página */
width: 75%; /* O footer ocupará toda a largura da página */
bottom: 0; /* Alinha com o final da página */
box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.5); /* Adiciona sombreamento nas bordas */
}
@media (min-width: 768px) {
body {
display: flex;
flex-direction: row;
}
header {
width: 20%;
text-align: left;
}
main {
width: 80%;
padding: 20px;
}
.scroller {
position: sticky;
top: 10px;
}
}