-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
139 lines (125 loc) · 2.47 KB
/
index.css
File metadata and controls
139 lines (125 loc) · 2.47 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 12 Aug, 2019, 1:55:01 PM
Author : Priyanshu
*/
body {
margin: 0;
padding: 0;
/*background: url(images/star9.jpg) no-repeat center center fixed;*/
background-color: #000A11;
background-size: cover;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
height: 52px;
width: 100vw;
background-color: #111A22;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 0;
text-decoration: none;
position: absolute;
left: 0;
right: 0;
background-color: #111A22;
width:150px;
margin: auto;
}
li a:hover {
background-color: #1C2B38;
}
li img {
margin-top: 5px;
}
.gallery {
font-size:50px;
color: #fff;
font-family: "Lato", sans-serif;
font-weight: 600;
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #660088, 0 0 35px #662288, 0 0 40px #660088, 0 0 50px #662288, 0 0 75px #660088;
text-align: center;
margin-top: 40px;
}
.container {
width:90%;
margin:auto;
overflow:hidden;
}
.items {
width:20%;
display: block;
padding: 1px;
margin-top: 2%;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #fff;
border: 10px solid #fff;
border-bottom: 55px solid #fff;
/* box-shadow: 2px 2px 25px 5px rgba(102, 34, 136, 0.3), 2px 2px 10px 2px rgba(102, 0, 136, 0.3); */
box-shadow: 0 0 10px #fff, /* outer white */
-2px 0 16px #662288, /* outer left magenta */
2px 0 16px #660088;
float:left;
margin-left:2%;
}
.items:nth-child(odd)
{
transform: rotate(-1deg);
}
.items:nth-child(even)
{
transform: rotate(2deg);
}
.thumbnail {
display: block;
max-width: 100%;
height: auto;
}
.items:hover
{
box-shadow: 0 0 18px #fff, /* outer white */
-2px 0 25px #662288, /* outer left magenta */
2px 0 25px #660088;
}
footer {
background-color: #111A22;
color:#fff;
font-size:14px;
}
@media screen and (max-width : 800px)
{
.items {
width: 29%;
margin-left:1%;
}
}
@media screen and (max-width : 500px)
{
.items {
width:42%;
display: block;
padding: 3px;
margin-top: 2%;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #fff;
border: 3px solid #fff;
border-bottom: 25px solid #fff;
float:left;
margin-left:2%;
}
}