-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
124 lines (107 loc) · 2.01 KB
/
styles.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
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
body {
margin: 10px;
}
h1 {
text-align: center;
letter-spacing: 0.2em;
background-image: linear-gradient(
to left,
rgb(54, 53, 53),
rgb(143, 125, 125)
);
padding: 15px;
color: whitesmoke;
}
.list {
padding: 0px 50px;
display: grid;
grid-template-columns: repeat(4, 1fr);
height: 486px;
background-image: url("https://images.unsplash.com/photo-1541185934-01b600ea069c?ixid=MXwxMjA3fDB8MHxzZWFyY2h8Nnx8c3BhY2V4fGVufDB8fDB8&ixlib=rb-1.2.1&w=1000&q=80");
background-size: cover;
}
.list-item {
height: 150px;
line-height: 25px;
text-align: center;
overflow: hidden;
letter-spacing: 0.1em;
word-spacing: 0.3em;
padding: 5px;
border-bottom: 2px solid black;
font-family: Helvetica, sans-serif;
}
.list-item:nth-child(even) {
background-color: blanchedalmond;
color: white;
}
.list-item:nth-child(odd) {
background-color: orange;
}
.list-item h3 {
font-style: italic;
letter-spacing: 0.1em;
word-spacing: 0.3em;
color: black;
}
.list-item a {
text-decoration-line: unset;
color: blue;
}
.list-item:nth-child(odd) p {
color: white;
}
.list-item:nth-child(even) p {
color: black;
}
.page-nums {
background-color: orange;
height: 100px;
text-align: center;
}
.page-nums button {
position: relative;
top: 40px;
padding: 10px;
margin-left: 10px;
width: 50px;
cursor: pointer;
border: none;
border-radius: 50%;
outline: none;
}
.page-nums button:hover {
background-color: black;
color: white;
}
.page-nums .active {
background-color: black;
color: white;
}
.footer {
margin: 0px;
background-color: lightgrey;
height: 30px;
position: absolute;
top: 662px;
}
.footer p {
padding: 5px;
padding-top: 10px;
font-size: 12px;
}
.links {
text-align: right;
padding-left: 1100px;
}
.links a {
padding-left: 10px;
}
.links a i {
color: black;
}