-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexstyle.css
96 lines (85 loc) · 1.45 KB
/
indexstyle.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
body {
background-color: #F8EFE9;
font-family: 'Jost', sans-serif;
color: #512D7A;
margin: 0;
padding: 0;
display: flex;
min-height: 100vh;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
#entries {
width: 100%;
box-sizing: border-box;
}
.entry {
margin-bottom: 30px;
border: 2px solid #EAD1DC;
border-radius: 10px;
padding: 20px;
box-sizing: border-box;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
}
.entry img {
width: 80%;
max-width: 300px;
height: auto;
object-fit: cover;
margin-bottom: 10px;
}
.entry p {
text-align: center;
max-width: 70%;
margin: 0 auto;
}
#sidebar {
position: fixed;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 150px;
background-color: #EAD1DC;
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
#sidebar button {
margin-bottom: 10px;
width: 100%;
padding: 10px;
font-size: 16px;
background-color: #512D7A;
color: #F8EFE9;
border: none;
border-radius: 5px;
cursor: pointer;
}
h2 {
font-family: 'Livvic', sans-serif;
color: #512D7A;
text-align: center;
}
#profile-box {
position: fixed;
top: 20px;
right: 20px;
background-color: #EAD1DC;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#profile-box h3 {
margin: 0;
}