-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
executable file
·184 lines (151 loc) · 4.41 KB
/
styles.css
File metadata and controls
executable file
·184 lines (151 loc) · 4.41 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
/* css styles */
.oval-image {
border-radius: 50%;
height: 220px;
width: 180px;
border: 2px solid #CEB888;
}
.sidebar-item {
margin-bottom: 10px; /* Adjust the value as needed */
}
.social-sharing {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 20px;
}
.social-sharing img {
width: 32px;
height: 32px;
}
/* New style for the navigation bar */
.navbar {
position: fixed; /* Fixed positioning */
top: 0; /* Stick to the top of the viewport */
width: 100%; /* Full width */
z-index: 1000; /* Ensure it's above other content */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow */
}
/* Adjust styles for content to avoid overlap with fixed navbar */
.content {
margin-top: 60px; /* Adjust based on the height of your navbar */
/* Other styles for your content */
}
.sidebar {
/* Adjust the sidebar positioning and margins */
top: 1;
margin-top: 110px; /* Adjust based on your navbar's height */
width: 250px; /* Adjust as needed */
}
.share-buttons {
display: flex;
align-items: left;
}
.share-buttons > div, .share-buttons > a {
margin-right: 25px; /* Adjust the value as needed */
}
pre {
background-color: #2e2e2e !important;
color: #ffffff !important; /* This will ensure both the background and the text color fit the dark theme */
}
.cell-output {
background-color: #f4f4f4;
border-radius: 4px;
}
.cv-download {
display: inline-block;
padding: 12px 24px;
font-size: 18px;
font-weight: bold;
color: white;
background-color: #007BFF; /* Bootstrap Blue */
border: none;
border-radius: 5px;
text-align: center;
text-decoration: none;
transition: background 0.3s ease;
}
.cv-download:hover {
background-color: #0056b3; /* Darker Blue on Hover */
}
/* Centering the Button */
.text-center {
text-align: center;
margin-top: 20px;
}
.arxiv-button, .mdpi-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 50px; /* Adjust to control button size */
height: 50px;
padding: 5px; /* Reduce padding to remove white spaces */
border: 2px solid #f4f4f4; /* ArXiv color */
border-radius: 8px; /* Rounded corners */
transition: all 0.3s ease-in-out;
background-color: #f4f4f4; /* White background */
}
.pdf-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 50px; /* Adjust to control button size */
height: auto;
padding: 5px; /* Reduce padding to remove white spaces */
border: 2px solid #f4f4f4; /* ArXiv color */
border-radius: 8px; /* Rounded corners */
transition: all 0.3s ease-in-out;
background-color: #f4f4f4; /* White background */
}
.arxiv-button:hover, .pdf-button:hover, .mdpi-button:hover{
background-color: #f8f8f8; /* Light gray on hover */
transform: scale(1.1); /* Slight zoom effect */
}
.arxiv-button img, .mdpi-button img {
width: 100%; /* Makes the image span the full button */
height: 100%;
object-fit: contain; /* Ensures image fits inside without distortion */
border-radius: 8px; /* Soft rounding for images */
}
.pdf-button img {
width: 100%; /* Makes the image span the full button */
height: 100%;
object-fit: contain; /* Ensures image fits inside without distortion */
border-radius: 3px; /* Soft rounding for images */
}
@media screen and (max-width: 768px) { /* Apply styles for screens smaller than 768px */
/* Make columns stack instead of staying side by side */
.columns {
display: flex;
flex-direction: column; /* Stack elements */
align-items: center; /* Center-align content */
text-align: center; /* Center text */
}
.column {
width: 100% !important; /* Make each column take full width */
}
/* Adjust profile image size for small screens */
.oval-image {
width: 140px; /* Reduce size for mobile */
height: 171px;
margin-top: 10px; /* Reduce top margin */
}
/* Reduce padding and font size */
.cv-download, .arxiv-button, .pdf-button {
width: 20%; /* Make buttons responsive */
max-width: 200px; /* Limit width */
}
.cv-download, .pdf-button, .arxiv-button, .mdpi-button {
padding: 8px;
font-size: 14px;
}
/* Make sure images inside buttons are resized properly */
.arxiv-button img, .pdf-button img {
width: 80%; /* Make images fit inside button */
height: auto;
}
/* Reduce margins to prevent overlapping */
.text-center {
margin-top: 10px;
}
}