You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cms/static/css/default.css

398 lines
8.2 KiB
CSS

2 years ago
/***
The basic structure of a site is as follows :
- header
- footer footer with the author ...
- menu main ways in which the site articulates itself (features)
- info area where there are miscellaneous links or text
*/
body {
font-size:16px;
font-family: sans-serif;
font-weight:lighter;
}
.main{
margin-left:10%;
margin-right:10%;
display:grid;
grid-template-rows:120px 48px auto 48px;
grid-template-columns: 70% auto;
gap:8px;
min-height:98vh;
}
2 years ago
.menu .sub-menu {
2 years ago
padding:8px;
border-radius: 10px;
/* box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25); */
/* transition: all 0.2s; */
}
.index {
height:100%;
padding:4px;
display:grid;
align-items: center;
grid-template-rows: 80% auto;
align-content: center;
text-align: center;
}
.large-text {font-size: 24px; font-weight: bold;}
.index .background {
border:2px solid transparent;
padding:2px;
/* Add the blur effect */
filter: blur(1.5px);
-webkit-filter: blur(1.5px);
}
.pane {
padding:8px;
border-left:1px solid #CAD5E0;
/* background-color: rgba(255,255,255,0.8); */
}
.active {
padding:4px;
cursor:pointer;
border:2px solid transparent ;
}
.active .fa-chevron-right { color:transparent}
.active:hover {
border-bottom-color: #4682b4;
}
.active:hover .fa-chevron-right{
color : #4682B4;
}
.highlight {
cursor:pointer;
border:4px solid transparent;
padding:4px;
}
.highlight:hover {
border-color:#4682B4 ;
}
.button-1 {
background-color:#d3d3d3;
color:#4682b4;
font-weight:bold;
2 years ago
cursor:pointer;
padding:15px;
2 years ago
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden;
}
.person .position {
width:200px; overflow:hidden;
text-transform:capitalize;
-o-text-overflow:ellipsis;
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden;
}
.person .picture {
width:120px;
height:120px;
overflow:hidden;
display:grid;
align-content:center ;
align-items:center;
justify-content: center;
justify-items: center;
}
.person .picture .frame { width:100px; height:100px; overflow:hidden;}
.person .picture img {
width:120px;
height:120px;
display:block; margin:auto;
}
/**
* components: search
*/
.search .frame .suggestion-frame {
width:98%;
overflow: hidden;
overflow-y: auto;
word-wrap: normal;
margin-top:2px;
border-right:1px solid #CAD5E0;
}
.search .frame .suggestion-frame .suggestions {
display:none;
position:absolute;
width:55%;
height:55%;
z-index:9;
overflow:hidden;
overflow-y: auto;
padding:4px;;
}
.search .frame .input-frame{
display:grid;
grid-template-columns: auto 32px 48px ;
gap:4px;
align-items: center;
align-content:center;
padding:4px;
background-color: rgba(255,255,255,0.8);
}
.search .frame .input-frame i {color:#000000}
.search .frame .input-frame .found { font-size:11px; color:maroon; text-align: center;}
.search .frame input[type="text"] {
padding:8px;
font-size:14px;
font-weight:normal;
border:2px solid transparent;
outline: 0px;
background-color:#D3D3D3;
}
.search .frame .suggestions .item {
display:grid;
grid-template-columns: 60px auto ;
height:60px;
gap:4px;
padding:8px;
align-items:center;
}
.search .frame .suggestions .item .title { width:85%; overflow:hidden; font-size:14px; font-weight: normal; text-transform:capitalize; text-overflow: ellipsis; white-space: nowrap;}
.search .frame .suggestions .item .author {width:80%; overflow:hidden; font-size:14px; font-weight: lighter;text-transform: capitalize;text-overflow: ellipsis; white-space: nowrap;}
.search .frame .suggestions .item .picture{
height:50px;
display:grid;
grid-template-columns: auto;
padding:4px;
}
.search .frame .suggestions .item .link {
display:grid;
grid-template-columns: auto 120px;
font-size:12px;
align-items:center;
align-content: center;
overflow:hidden;
}
.frame .suggestions .item .picture .frame {background-size: cover;}
.resume {
display:grid;
grid-template-columns: 200px auto;
gap:4px;
text-transform: capitalize;
height:90vh;
}
.resume .article {
margin:4px;
background-color:rgba(255,255,255,0.8);
padding:4px;
color:#000000;
display:grid;
grid-template-columns:5% 86% 8%;
grid-gap:4px;
align-items:center;
}
.small {font-size:12px;}
.resume .picture {display:grid; height:300px; align-items:center; align-content: center; overflow:hidden}
.resume .picture div {height:200px; background-position: center;background-position-y: .5px; background-size: cover; background-repeat: no-repeat;}
.resume .name {font-weight:bold; font-size:22px;}
.resume .position {word-wrap: break-word; margin-top:4px;}
.card {box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);}
.resume .article .title {overflow:hidden; font-weight:bold;; text-overflow: ellipsis; white-space: nowrap; }
.resume .article .citation {font-family:courier;}
.resume .publications {height:75%; overflow:hidden; overflow-y:auto; }
.class {
display:grid;
grid-template-columns: auto repeat(3,1fr);
gap:1px;
background-color: rgba(255,255,255,0.8);
padding:4px;
color:black; font-size:18px;
}
.class .description {
font-size:22px;
font-weight:bold;
display:grid;
padding:8px;
align-items:center;
align-content: center;
justify-items: center;
}
.news {
background-color: rgba(255, 255, 255, 0.25);
height:99%;
padding:9px;
overflow:hidden;
overflow-y: auto;
}