-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
216 lines (187 loc) · 3.5 KB
/
index.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
body {
margin: 0;
}
nav{
display: flex;
position: fixed;
height: 100px;
width: 100%;
background-color: rgb(59, 89, 152);
}
#logo{
margin-top: 20px;
margin-left: 80px;
height: 80px;
width: 700px;
background-image: url("webimages/facebook-logo.jpg");
background-size: contain;
background-repeat: no-repeat;
}
nav ul{
display: flex;
height: 100px;
width: 700px;
margin-left: 300px;
margin-top: 50px;
}
nav ul li{
margin-left: 50px;
display: inline;
}
nav ul li a{
color: white;
text-decoration: none;
}
/*comments shortcut : Ctrl+? */
#major-part{
display: flex; /* only to fix margin collapsing*/
height: 700px;
width : 100%;
background-color: rgb(237, 240, 245); /*first black to clear out then this*/
}
.photos-collection{
margin-top: 100px;
height: 600px;
width: 700px;
}
.picture-box{
/*margin-top: 100px; doesn't affect now*/
display: inline-block;
margin-top: 40px;
margin-left: 80px;
margin-right: 10px;
height: 200px;
width: 200px;
background-color: black;
box-shadow: 5px 5px 5px #888888; /* x y z color*/
}
#user1{
display: flex;
height: 200px; /* height width inherit*/
width: 200px;
background-image: url("webimages/user1.jpeg");
background-size: cover;
}
#user1:hover .profile-name{
visibility: visible;
}
#user2{
display: flex;
height: 200px;
width: 200px;
background-image: url("webimages/user3.jpg");
background-size: cover;
}
#user2:hover .profile-name{
visibility: visible;
}
#user3{
display: flex;
height: 200px;
width: 200px;
background-image: url("webimages/user4.jpg");
background-size: cover;
}
#user3:hover .profile-name{
visibility: visible;
}
#user4{
display: flex;
height: 200px;
width: 200px;
background-image: url("webimages/user5.jpg");
background-size: cover;
}
#user4:hover .profile-name{
visibility: visible;
}
.profile-name{
box-shadow: 5px 5px 5px #888888;
visibility: hidden;
margin-top: 150px;
height: 50px;
width: inherit;
background-color: white;
}
.profile-name-written{
margin-left: 80px; /* rather use text align center*/
font-family: cursive;
}
.sign-up-form{
margin-top: 100px;
height: 600px;
width: 500px;
}
#signup{
display: inline-block;
}
#login{
display: none;
}
input{
height: 40px;
width: 200px;
margin-right: 10px;
margin-top: 10px;
border-color: #bdc7d8;
border-radius: 5px;
}
::-moz-placeholder{
font-size: 18px;
font-family: inherit;
}
#create-account{
height: 50px;
width: 250px;
background: linear-gradient(#67ae55, #578843);
background-color: #69a74e;
box-shadow: inset 0 1px 1px #a4e388;
border-color: #3b6e22 #3b6e22 #2c5115;
border: 1px solid;
border-radius: 5px;
color: #fff;
font-family: 'Freight Sans Bold', Helvetica, Arial, sans-serif !important;
font-weight: bold;
font-size: 20px;
cursor: pointer;
letter-spacing: 1px;
text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
#pageFooter {
background-color: rgb(59, 89, 152);
padding-top: 1.5em;
overflow: hidden;
height: 150px;
}
#pageFooter a {
display: inline-block;
}
#pageFooter img {
width: 30px;
height: 30px;
}
#pageFooter div{
margin-top: -20px;
margin-left: 100px;
margin-right: 30px;
display: inline-block;
text-align: center;
height: 80px;
}
/*marquee {
color: white;
}*/
#relatedtags{
height: 70px;
width: 500px;
}
#relatedtags ul li{
margin-left: 8px;
margin-right: 8px;
font-size: 15px;
display: inline-block;
}
#relatedtags ul li a{
text-decoration: none;
color: white;
}