Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (93 loc) · 1.54 KB
/
Copy pathstyle.css
File metadata and controls
116 lines (93 loc) · 1.54 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
*{
padding:0;
margin: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
}
img{
display: inline-block;
max-width: 100%;
border-radius: 4px;
}
body{
font-family: Arial, Helvetica, sans-serif;
background-color: #e5e1e1;
}
.header{
background: #0066cc;
text-align: center;
padding:10px;
}
.main{
display: grid;
grid-template-columns: 2fr 1fr;
align-items: start;
gap:40px;
margin:0 auto;
max-width: 700px;
padding:20px 0;
}
.menu{
display: flex;
gap:20px;
justify-content: center;
padding:10px 0;
}
.menu a{
display: inline-block;
color: #fff;
padding:10px;
transition:0.3s;
}
.menu a:hover {
background: #fff;
color: #000;
}
.logo span{
color:#fff;
}
.postagens {
display: flex;
flex-direction: column;
gap:10px;
background: #fff;
padding:20px 10px;
}
.header-postagem{
padding:5px;
border-bottom: 2px solid #0066cc;
}
.body-postagem{
padding:10px 0;
}
.body-postagem p {
margin-bottom: 10px;
}
.side{
display: flex;
flex-direction: column;
gap:30px;
}
.side h3{
border-bottom: 2px solid #0066cc;
padding:10px 0;
}
.container{
display: flex;
flex-direction: column;
gap:10px;
background:#fff;
padding:20px 10px;
}
.footer{
padding:20px 10px;
text-align: center;
}
@media(max-width:800px){
.main{
grid-template-columns: 1fr;
max-width: 700px;
padding:20px 10px;
}
}