-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
107 lines (91 loc) · 1.59 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f4f4f4;
color: #333;
}
/* Layout */
.container {
display: flex;
flex-direction: row;
min-height: 100vh;
}
.sidebar {
width: 20%; /* Adjusted width of the sidebar */
background-color: #34495e;
color: white;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.main-content {
width: 80%; /* Adjust this width if you change the sidebar width */
padding: 40px;
}
footer {
text-align: center;
padding: 10px;
background-color: #34495e;
color: white;
font-size: 1rem;
}
/* Profile Photo */
.profile-photo {
border-radius: 50%;
width: 150px;
height: 150px;
margin-bottom: 20px;
}
/* Typography */
h1 {
font-size: 2rem;
margin-bottom: 10px;
}
.title {
font-size: 1.2rem;
color: #ecf0f1;
margin-bottom: 20px;
}
h2 {
color: #2980b9;
margin-bottom: 15px;
font-size: 1.8rem;
}
h3 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 1.5rem;
}
/* Cards */
.card {
background-color: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
ul {
list-style-type: disc;
margin-left: 20px;
}
p {
margin-bottom: 10px;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.sidebar {
width: 100%; /* Full width on smaller screens */
}
.main-content {
width: 100%;
}
}