-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (97 loc) · 2.19 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
@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
:root {
--textColor: white;
--font: 'Karla', sans-serif;
}
.custom-icon {
width: 1.5em; /* Size similar to Font Awesome icons */
height: 1.5em; /* Maintain aspect ratio */
vertical-align: middle; /* Align it with the text */
display: inline;
}
html {
/*FONT:*/
font-family: var(--font);
color: var(--textColor);
font-size: 18px;
font-weight: 400;
/*BACKGROUND:*/
background: url('/images/bg.jpg');
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: 10px auto;
border-radius: 50%; /*round image*/
}
#userName {
font-weight: 700; /*bold*/
}
#description {
margin: 20px auto;
}
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: 10px;
border-color: rgb(46, 46, 46);
display: block; /*each link takes a whole line*/
margin: 5px;
padding: 0px;
}
#userName{
margin-top: 0;
margin-bottom: 0xp;
font-size: 20px;
}
#description{
margin-top: 0;
margin-bottom: 0xp;
}
.profile_img{
margin-top: 0;
margin-bottom: 5xp;
}
.sm {
display: flex;
justify-content: space-between;
font-size: 15px;
}
.sm a {
flex: 1; /* new style */
margin: 5px;
box-sizing: border-box; /* ensures padding and border are included in the width */
}
.defualtVal{
/*LINKS TEXT*/
color: #fff !important;
text-decoration: underline !important;
/*text-align: center;*
/*LINKS BORDER:*/
border: none !important;/*2px solid var(--textColor);*/
/* border-radius: 10px;*/
display: inline !important; /*each link takes a whole line*/
margin: 0;
padding: 0;
}