-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforum.css
More file actions
79 lines (70 loc) · 1.35 KB
/
forum.css
File metadata and controls
79 lines (70 loc) · 1.35 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
display: flex;
flex-direction: column;
}
header {
background-color: navy;
color: white;
padding: 10px;
text-align: center;
width: 100%;
}
main {
display: flex;
width: 100%;
overflow: hidden; /* Prevents content overflow */
}
.left-column {
flex: 1;
margin: 20px;
}
.right-column {
flex: 1;
margin: 20px;
background-color: #fff; /* Adjust as needed */
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
}
.post-container {
background-color: white;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
textarea {
width: calc(100% - 20px);
padding: 10px;
box-sizing: border-box;
margin-bottom: 10px;
}
button {
padding: 10px;
background-color: navy;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.comments-container {
margin-top: 20px;
}
.comment {
background-color: #f9f9f9;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
}
h6{
margin-top: 1px;
text-decoration:underline ;
}
h2{
margin-bottom: 1px;
text-decoration: none;
}