-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame.css
125 lines (102 loc) · 1.68 KB
/
frame.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
.main {
background: black;
margin: 0;
padding: 0;
}
.header {
z-index: 0;
position: fixed;
left: 0;
top: 0;
position: relative;
align-items: center;
justify-content: space-between;
padding: 3%;
color: #ffffff;
}
.left-icon{
width: 100%;
height: 100%;
}
.center-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); /* 中央に配置するトランスフォーム */
width: 80%;
height: 80%;
}
.left-icon img,
.center-icon img {
max-width: 100%;
height: auto;
}
.center-icon {
display: flex;
justify-content: center;
}
.header-label{
display: flex;
justify-content: center;
padding: 10px;
color: #ffffff;
}
.post {
border: 1px solid #8f8c8c;
border-radius: 5px;
padding: 10px;
margin: 0 20%;
max-width: 60%;
}
.post-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.UserIcon {
width: 40px;
height: 40px;
background-color: #ccc;
border-radius: 50%;
margin-right: 10px;
}
.nickname {
font-weight: bold;
color: #ffffff;
}
.username {
color: #888;
margin-left: 5px;
}
.post-body {
line-height: 1.4;
color: #ffffff;
}
.post-imgs {
display: flex;
margin-top: 10px;
}
.post-img{
margin-right: 10%;
width: 40%;
height: auto;
}
footer{
position: relative;
background-color: black;
}
.footer-items{
background-color: black;
display: flex;
list-style: none;
align-items: center;
z-index: 100;
position: fixed;
left: 0;
bottom: 0;
}
.footer-item{
margin-left: 20%;
width: 35%;
height: auto;
}