-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathmain.css
110 lines (96 loc) · 1.76 KB
/
main.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Jost", sans-serif;
color: black;
scroll-behavior: smooth;
}
body{
text-decoration: none;
padding: 0;
margin: 0;
background-color:#7e7e7e;
}
.main-content{
justify-content: center;
}
h1{
padding-top: 50px;
color: #ffffff;
font-size: 30px;
display: flex;
justify-content: center;
}
hr{
border: none;
height: 5px;
background-color: #000000;
width: 100px;
margin: 20px auto;
}
.container{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
flex-direction: row;
}
.unityCards{
position: relative;
flex-basis: 30%;
background-color: #d0d0d0;
margin: 10px;
padding: 10px;
border-radius: 20px;
margin-bottom: 40px;
/* border: 5px solid black; */
}
.unityCards:hover{
filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.4));
}
a{
text-decoration: none;
color: #fff;
transition: color 0.25s ease-in-out;
outline: none;
display: flex;
justify-content: center;
flex-direction: column;
}
.img-box{
display: flex;
justify-content: center;
}
h2{
display: flex;
margin-block-start: 0.5em;
margin-block-end: 0.5em;
justify-content: center;
}
.contributor{
font-size: 18px;
text-align: center;
}
.author-text a {
color: #fff;
}
.author-text a:hover {
color: #f44336;
text-decoration: none;
}
.author-text{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 20px;
text-align: center;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}
@media (max-width:1199px){
.unityCards{
flex-basis: 100%;
}
}