-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (107 loc) · 2.21 KB
/
style.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
:root {
--textColor: black;
--font: 'Karla', sans-serif;
}
html {
/*FONT:*/
font-family: var(--font);
color: var(--textColor);
font-size: 18px;
font-weight: 400;
/*BACKGROUND:*/
background: rgba(195, 53, 77, 0.1);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
body {
margin: 10px auto; /*auto - center the linktree*/
}
img {
width: 130px;
height: 130px;
display: block;
margin: 20px auto;
border-radius: 50%; /*round image*/
}
#userName {
font-weight: 700; /*bold*/
}
#description {
margin: 20px auto;
padding: 10px 0;
max-width: 450px;
}
.subline {
text-transform: uppercase;
font-weight: bold;
margin-top: 30px;
}
#risk-banner {
background: url(images/background.png);
color: white;
display: block;
margin: 10px;
padding: 15px 10px;
border-radius: 5px;
max-width: 500px;
}
#risk-banner > * {
margin: 10px 0;
}
#risk-banner form {
width: 100%;
display: block;
margin: 20px 0 10px 0;
}
#risk-banner input {
border:none;
padding: 15px 10px;
font-size: 16px;
width: 75%;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
font-family: var(--font);
}
#risk-banner button {
border:none;
padding: 15px 10px;
font-size: 16px;
width: 15%;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
font-family: var(--font);
background: var(--textColor);
color: white;
}
.shadow {
box-shadow: 5px 5px 0px 0px rgba(195, 53, 77, 0.1);
}
main {
width: auto;
max-width: 500px;
margin: 15px auto;
}
/*LINKS*/
a {
/*LINKS TEXT*/
color: var(--textColor);
text-decoration: none;
text-align: center;
/*LINKS BORDER:*/
border: 2px solid var(--textColor);
border-radius: 5px;
display: block; /*each link takes a whole line*/
margin: 10px;
padding: 10px;
box-shadow: 5px 5px 0px 0px rgba(195, 53, 77, 0.1);
}