| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap'); |
|
|
| body { |
| font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif; |
| line-height: 1.6; |
| margin: 0 auto; |
| max-width: 35em; |
| padding: 1em; |
| } |
|
|
| h1, h2, h3, h4, h5, h6 { |
| font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif; |
| font-weight: normal; |
| } |
|
|
| a { |
| color: currentColor; |
| text-decoration-thickness: 1px; |
| text-underline-offset: 0.2em; |
| } |
|
|
| nav { |
| margin: 2em 0 4em 0; |
| padding-bottom: 0.5em; |
| border-bottom: 1px solid #ddd; |
| } |
|
|
| nav a { |
| margin-right: 2em; |
| text-decoration: none; |
| } |
|
|
| nav a:hover { |
| text-decoration: underline; |
| } |
|
|
| nav a.active { |
| text-decoration: underline; |
| text-decoration-thickness: 2px; |
| } |
|
|
| img { |
| max-width: 100%; |
| height: auto; |
| } |
|
|
| .profile { |
| margin: 3em 0; |
| } |
|
|
| .profile img { |
| width: 100px; |
| height: 100px; |
| } |
|
|
| .date { |
| font-size: 0.9em; |
| } |
|
|
| .blog-post { |
| margin: 2em 0; |
| } |
|
|
| .button { |
| display: inline-block; |
| padding: 0.5em 1em; |
| border: 1px solid currentColor; |
| text-decoration: none; |
| } |
|
|
| .button:hover { |
| background: black; |
| color: white; |
| border-color: black; |
| } |
|
|
| |
| a, .button { |
| transition: all 0.2s ease; |
| } |
|
|
| .similar-button-container { |
| margin-top: 2rem; |
| margin-bottom: 2rem; |
| text-align: center; |
| } |
|
|
| .similar-button-container .button { |
| padding: 0.8rem 1.5rem; |
| background-color: #4a5568; |
| color: white; |
| border: none; |
| border-radius: 4px; |
| cursor: pointer; |
| font-size: 1.1em; |
| } |
|
|
| .similar-button-container .button:hover { |
| background-color: #2d3748; |
| transform: translateY(-1px); |
| transition: all 0.2s ease; |
| } |
|
|
| .abstract-result { |
| margin-bottom: 2rem; |
| padding-bottom: 1rem; |
| border-bottom: 1px solid #eee; |
| } |
|
|
| .similar-button { |
| font-size: 0.9em; |
| padding: 0.3rem 0.8rem; |
| margin-top: 0.5rem; |
| background-color: #4a5568; |
| color: white; |
| border: none; |
| border-radius: 4px; |
| cursor: pointer; |
| } |
|
|
| .similar-button:hover { |
| background-color: #2d3748; |
| } |
|
|
| .similar-results { |
| margin-top: 1rem; |
| padding-left: 1rem; |
| border-left: 3px solid #eee; |
| } |
|
|
| .modal-overlay { |
| display: none; |
| position: fixed; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 100%; |
| background-color: rgba(0, 0, 0, 0.75); |
| z-index: 1000; |
| } |
|
|
| .modal { |
| position: fixed; |
| top: 50%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| background-color: #1a1a1a; |
| color: #ffffff; |
| padding: 2rem; |
| border-radius: 8px; |
| max-width: 80%; |
| max-height: 80vh; |
| overflow-y: auto; |
| z-index: 1001; |
| box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); |
| } |
|
|
| .modal-close { |
| position: absolute; |
| top: 1rem; |
| right: 1rem; |
| font-size: 1.5rem; |
| cursor: pointer; |
| border: none; |
| background: none; |
| color: #ffffff; |
| padding: 0.5rem; |
| } |
|
|
| .modal-close:hover { |
| color: #cccccc; |
| } |
|
|
| .modal a { |
| color: #66b3ff; |
| } |
|
|
| .modal a:hover { |
| color: #99ccff; |
| } |
|
|
| .similar-list { |
| list-style: none; |
| padding: 0; |
| } |
|
|
| .similar-abstract { |
| margin-bottom: 2rem; |
| padding-bottom: 1rem; |
| border-bottom: 1px solid #333; |
| } |
|
|
| .similar-abstract:last-child { |
| border-bottom: none; |
| } |