-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (88 loc) · 1.73 KB
/
style.css
File metadata and controls
104 lines (88 loc) · 1.73 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
:root {
--light-blue: #3498db;
}
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
::selection {
background:rgb(129, 61, 179);
}
body {
background: rgb(35, 31, 70);
min-height: 100vh;
}
header {
min-height:10vh;
display:flex;
flex-direction:column;
justify-content: center;
align-items: center;
font-family: 'Open Sans', sans-serif;
color:var(--light-blue);
margin: 20px 0;
}
header p {
color:white;
}
main {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
min-height:80vh;
}
figure {
border: 1px dashed gray;
margin: 5px;
width:32%;
min-height:300px;
transition: width ease 0.5ms;
}
figure:hover, figure:hover h2, figure:hover section{
box-shadow:5px 5px 20px #203a43, -5px -5px 20px #203a43;
}
figure h2, figure p {
color:var(--light-blue);
}
figure h2 {
border:1px solid gray;
border-radius:15px;
width:90%;
margin: 0 auto;
position: relative;
bottom: 10px;
background-color:rgb(35, 31, 70);
text-align:center;
font-family: 'Open Sans', sans-serif;
}
figure p {
width:90%;
margin:0 auto;
}
figure section {
border-radius:5px;
width:90%;
margin:0 auto;
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
color:white;
align-self:stretch;
user-select:all;
height:70%;
}
footer {
border: 1px solid blue;
color:var(--light-blue);
display:flex;
justify-content:center;
}
@media screen and (max-width:992px) {
figure {
width:49%;
}
}
@media screen and (max-width:768px) {
figure {
width:99%;
}
}