-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (84 loc) · 1.31 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
*{
box-sizing: border-box;
}
body{
font-family: ubuntu,sans;
margin:0;
font-size: 18px;
line-height: 1.75rem;
font-weight: 100;
background-color: #eee;
}
section{
text-align: center;
padding:0.5rem;
}
input{
padding: 1rem;
font-weight: 900;
box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 0;
border:none;
margin-right: 1rem;
color:#999;
}
section span{
font-weight: 100;
font-size: 1.8rem;
color:#999;
}
main{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
p{
margin:0;
}
a{
min-width: 320px;
flex-basis: calc(100% / 3);
max-width: 600px;
text-decoration:none;
color: black;
background-color: #fff;
transform:scale(1);
box-shadow:0 0 0 rgba(0,0,0,0);
transition: 0.1s all;
margin:0.5rem;
display: flex;
flex-wrap: wrap;
align-items: center
}
a:hover{
background-color: #fff;
transform:scale(1.05);
z-index: 999;
box-shadow:0 0 5px rgba(0,0,0,0.2);
}
a .site-name{
width: 100%;
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 1px;
color:#999;
font-weight: 900;
transition: 0.5s all;
}
a:hover .site-name{
color:black;
}
a .img{
padding:1rem;
width: calc(32px + 2rem);
}
a img{
display: block;
width: 100%;
height: auto;
}
a .text{
margin:0;
padding:1rem;
width: calc(100% - (32px + 2rem) );
}