-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (86 loc) · 1.47 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
/* styles that make the demo a bit more polished */
*{
margin:0;
padding:0;
font-size:inherit;
font-family:inherit;
transition:.25s;
background-position: center;
background-size:contain;
background-repeat: no-repeat;
}
body{
/* positioning of main */
height:100vh;
display:flex;
flex-direction:vertical;
align-items:center;
justify-content:center;
/* typography */
font-family: sans-serif;
font-family: "Open Sans", sans-serif;
color: #333333;
font-size: 18px;
}
/* main content section */
main{
width:100%;
max-width:800px;
padding:20px;
}
/* noscript banner */
.banner{
position: fixed;
left: 0;
z-index: 900;
top: 0;
width: 100%;
background-color: #db2a2a;
color: white;
padding: 10px 12px;
font-size: 12px;
}
/* header */
header{
text-align:center;
margin-bottom:40px;
}
#header-img{
background-color:currentColor;
background-image:url("img/img.png");
border-radius:50%;
width:70px;
height:70px;
display:inline-block;
margin-bottom:10px;
}
h1{
font-family: 'Poppins', sans-serif;
font-size: 20px;
}
/* link items */
.link-row{
border:1px solid #e3e3e3;
transition:border .35s;
border-radius:4px;
padding:10px 20px;
display:block;
margin-bottom:10px;
}
.link-row:last-child{
margin-bottom:0;
}
.link-row:hover{
border-color:#fddd10;
}
a{
cursor: pointer;
color: currentColor;
text-decoration: none;
}
/* optional footer */
footer{
text-align:center;
margin-top:50px;
font-size:14px;
}