-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
84 lines (76 loc) · 1.92 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
/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
}
/* Set a background image and position it */
body {
background-image: url(bg.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
font-family: Arial, Helvetica, sans-serif;
overflow: hidden;
margin: 0;
display: flex;
flex-direction: column;
justify-content: space-between; /* Center vertically and space-between to push the footer down */
min-height: 100vh; /* Set min-height to 100% viewport height */
}
/* Style the main container */
.container {
width: 100%;
max-width: 400px; /* Limit the container width for readability */
margin: auto;
padding: 20px;
text-align: center;
color: white;
box-sizing: border-box;
background-color: rgba(0, 0, 0, 0.621); /* Add a semi-transparent background color */
border-radius: 10px;
}
/* Style the user profile image */
.user_profile {
border-radius: 50%;
max-width: 150px;
height: auto;
margin: 20px 0;
}
/* Style the user info */
.user_info h4 {
font-size: 24px;
font-weight: bold;
margin: 10px 0;
}
.user_info h5 {
font-size: 16px;
margin: 5px 0;
}
/* Style the links container */
.links-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}
/* Style the buttons */
.btn {
background-color: #7f00ff;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 0;
border-radius: 5px;
min-width: 50%; /* Adjust the button width for smaller screens */
}
footer {
text-align: center;
color: white;
text-shadow: 0 1px rgba(255, 255, 255, 0.1);
font-size: 14px;
padding: 10px 0;
}