forked from anirudhramoo/ani-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
152 lines (132 loc) · 3.01 KB
/
style.css
File metadata and controls
152 lines (132 loc) · 3.01 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/* Base Styles */
body {
background-color: #ffffff;
color: #333333;
font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
margin: 0;
padding: 0;
}
body.dark-theme {
background-color: #111;
color: #e0e0e0;
}
/* Header and Footer */
header {
text-align: center;
padding: 20px;
background-color: #f7f7f7;
}
body.dark-theme header {
background-color: #222;
}
footer {
text-align: center;
padding: 20px;
background-color: #f7f7f7;
color: #777777;
}
body.dark-theme footer {
background-color: #222;
color: #bbb;
}
/* Content Sections */
.project, .work-experience, .research-paper {
background: #f9f9f9;
border: 1px solid #e0e0e0;
padding: 15px;
margin: 10px 0;
}
body.dark-theme .project,
body.dark-theme .work-experience,
body.dark-theme .research-paper {
background: #222;
border: 1px solid #444;
}
/* Dark Mode Toggle Button */
#theme-toggle {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
cursor: pointer;
font-size: 16px;
color: inherit;
}
/* Engagement Bar Styling */
#engagement-prediction {
text-align: center;
margin-top: 20px;
}
#engagement-bar-container {
width: 80%;
height: 20px;
background-color: #ddd;
border-radius: 10px;
margin: 10px auto;
overflow: hidden;
}
#engagement-bar {
height: 100%;
width: 0;
background-color: #FFD700; /* Yellow color for engagement level */
border-radius: 10px;
transition: width 0.5s ease;
}
#engagement-result {
font-size: 1.2em;
font-weight: bold;
color: #FFD700;
opacity: 0;
transition: opacity 0.5s ease;
}
/* Profile Photo */
.profile-photo {
width: 120px; /* Adjust width as needed */
height: auto; /* Keeps the aspect ratio */
border-radius: 50%; /* Optional: Makes it circular */
display: block;
margin: 20px auto; /* Centers the image */
}
#engagement-prediction {
position: fixed;
top: 20px;
left: 20px;
width: 120px; /* Smaller width for compact display */
text-align: left;
z-index: 10; /* Ensure it stays on top of other elements */
background-color: rgba(0, 0, 0, 0.6); /* Subtle semi-transparent background */
padding: 5px;
border-radius: 5px;
color: #FFD700; /* Yellow text color for readability */
font-size: 0.85em; /* Small font size for compact look */
}
#engagement-bar-container {
width: 100%; /* Fit within the smaller container */
height: 6px; /* Reduce height for a smaller bar */
background-color: #ddd;
border-radius: 3px;
overflow: hidden;
margin-top: 4px;
}
#engagement-bar {
height: 100%;
width: 0;
background-color: #FFD700; /* Yellow color for engagement level */
border-radius: 3px;
transition: width 0.5s ease;
}
#engagement-result {
font-size: 0.8em; /* Smaller font to match compact design */
font-weight: bold;
opacity: 1; /* Ensure it is always visible */
margin: 0;
}
/* Set link color to yellow */
a {
color: #FFD700; /* Yellow color */
text-decoration: none; /* Optional: removes underline */
}
a:hover {
color: #FFC300; /* Slightly different shade of yellow on hover */
}