-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
147 lines (117 loc) · 2.38 KB
/
index.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
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
body {
font-family: 'Open Sans', sans-serif;
color: #333;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
background-image: url('g.jpg');
background-repeat: repeat;
background-size: 20%;
}
h1, h2 {
color: #006a14;
}
h1 a, h2 a, ul a {
color: #006a14;
text-decoration: none;
}
h1 a:hover, h2 a:hover, ul a:hover {
text-decoration: underline;
}
h2, h3 {
font-weight: normal;
color: #006a14;
}
ul {
list-style-type: none;
}
ul li {
margin-bottom: 10px;
}
a {
text-decoration: none;
}
a:hover {
color: #d9534f;
}
@media (max-width: 768px) {
body {
padding: 10px;
}
}
.project {
display: flex;
align-items: center;
margin-bottom: 30px;
padding-bottom: 55px;
}
.project-image {
flex: 1; /* You can adjust this ratio to give more or less space to the image */
padding-right: 20px; /* Adjust the spacing between the image and text */
}
.project-info {
flex: 2; /* Adjust based on desired ratio of text's width to image's width */
}
.project img {
max-width: 100%;
height: auto;
border: none;
}
.project-info a {
text-decoration: none;
color: #0056b3;
margin-right: 10px;
}
.project-info a:hover {
text-decoration: underline;
}
/* Style the tab */
.tab {
display: inline-flex;
overflow: hidden;
border: 1px solid #f5f5f5;
background-color: #f5f5f5;
}
/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
margin-right: 15px;
}
.tab button:last-child {
margin-right: 0;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #d3ffd3;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #d3ffd3;
}
/* Style the tab content (hidden by default) */
.tabcontent {
display: none;
padding: 0;
margin: 0;
border: none;
border-top: none;
}
.affiliation {
display: inline-block;
background-color: #ffffff; /* White background for contrast */
border-left: 5px solid #d3ffd3; /* Line on the left for visual */
padding: 1em;
margin-top: 1em;
box-shadow: 0 2px 4px rgba(0,0,0,0); /* subtle shadow for depth */
}
.google-scholar-icon {
width: 250px; /* Adjust the width as needed */
height: auto; /* This will maintain the aspect ratio */
}