Spaces:
Sleeping
Sleeping
File size: 2,394 Bytes
327d208 |
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 |
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
#search-container {
display: flex;
margin-bottom: 20px;
}
#keyword-input {
flex-grow: 1;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px 0 0 4px;
}
#search-button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 0 4px 4px 0;
cursor: pointer;
font-size: 16px;
}
#search-button:hover {
background-color: #45a049;
}
#results-container {
margin-top: 20px;
}
.paper-result {
border: 1px solid #ddd;
margin-bottom: 20px;
padding: 15px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.paper-title {
font-weight: bold;
font-size: 18px;
margin-bottom: 10px;
color: #333;
}
.paper-authors {
color: #666;
margin-bottom: 5px;
font-style: italic;
}
.paper-date {
color: #888;
margin-bottom: 10px;
font-size: 14px;
}
.paper-abstract {
line-height: 1.6;
white-space: pre-line;
color: #444;
}
.paper-id {
color: #999;
font-size: 12px;
text-align: right;
margin-top: 10px;
}
.loading {
text-align: center;
padding: 20px;
font-style: italic;
color: #666;
}
.error-message {
color: #d9534f;
padding: 10px;
border: 1px solid #d9534f;
border-radius: 4px;
background-color: #f9f2f2;
}
/* Styles pour la popup */
.popup {
display: none; /* Cachée par défaut */
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Fond assombri */
justify-content: center;
align-items: center;
}
/* Contenu de la popup */
.popup-content {
background: white;
padding: 20px;
border-radius: 10px;
text-align: center;
width: 65%;
height: 70%;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
}
/* Champ texte défilant */
.scrollable-text {
flex-grow: 1;
margin-top: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
height: 100%;
overflow: auto;
background: #f9f9f9;
text-align: left;
}
/* Bouton de fermeture */
.close {
align-self: flex-end;
font-size: 24px;
cursor: pointer;
font-weight: bold;
}
.no-scroll {
overflow: hidden;
} |