-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (98 loc) · 1.79 KB
/
style.css
File metadata and controls
108 lines (98 loc) · 1.79 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
body{
max-width: 1600px;
margin: 0 auto;
margin-top: 3cm;
margin-bottom: 3cm;
display: flex;
flex-direction: column;
align-items: center;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
.container{
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin: 0rem 2rem;
}
.card{
border: 1px solid #ccc;
width: 300px;
overflow: hidden;
border-radius: 5px;
position: relative;
}
.card p.name{
position: absolute;
background-color: black;
color: white;
top: 0px;
left: 0px;
margin: 0.3rem;
padding: 5px;
border-radius: 5px;
opacity: 0;
transition: opacity 0.2s;
}
.card:hover p{
opacity: 1!important;
}
.card p.info{
position: absolute;
background-color: white;
color: black;
bottom: 0px;
right: 0px;
margin: 0.3rem;
padding: 5px;
border-radius: 5px;
font-family: monospace;
font-size: 0.5rem;
opacity: 0;
text-align: right;
}
.image{
width: 100%;
height: 200px;
object-fit: cover;
background-position: center;
background-size: cover;
}
.dataset{
display: flex;
flex-direction: column;
align-items: center;
}
h2{
font-size: 3rem;
margin-bottom: 0.3rem;
margin-top: 0.3rem;
}
hr{
width: 80%;
opacity: 0.5;
margin: 1rem 0;
}
.header{
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.header h1{
font-size: 3rem;
margin-bottom: 0.3rem;
margin-top: 0.3rem;
}
.header h2{
font-size: 2rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
.header p{
font-size: 1rem;
margin-bottom: 0.3rem;
margin-top: 0.3rem;
text-align: justify;
max-width: 80%;
}