AndreP-git commited on
Commit
f299b4b
·
1 Parent(s): 39108a7

added authors and citation box

Browse files
Files changed (1) hide show
  1. index.html +81 -5
index.html CHANGED
@@ -477,11 +477,55 @@
477
  font-weight: 600;
478
  }
479
 
480
- .affiliation {
481
- display: block;
482
- font-size: 0.8125rem;
483
  font-weight: 400;
484
  color: var(--muted);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
485
  }
486
 
487
  @media (max-width: 900px) {
@@ -712,11 +756,43 @@ the dashed line marks the selected τ<sub>in</sub>.
712
 
713
  <h4 class="sectionLabel">Authors</h4>
714
 
715
- <!-- TODO: replace with the paper's author list -->
716
  <ul class="authors">
717
- <li>Author Name <span class="affiliation">Affiliation</span></li>
 
 
 
 
 
 
 
 
 
718
  </ul>
719
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
  <p class="note">
721
  Web demo developed with the assistance of Claude (Anthropic), an AI assistant.
722
  </p>
 
477
  font-weight: 600;
478
  }
479
 
480
+ .authors sup {
 
 
481
  font-weight: 400;
482
  color: var(--muted);
483
+ margin-left: 1px;
484
+ }
485
+
486
+ .affiliations {
487
+ list-style: none;
488
+ padding: 0;
489
+ margin: 10px 0 0;
490
+ font-size: 0.8125rem;
491
+ line-height: 1.6;
492
+ color: var(--muted);
493
+ }
494
+
495
+ .bibtex {
496
+ position: relative;
497
+ }
498
+
499
+ .bibtex pre {
500
+ margin: 0;
501
+ padding: 14px 16px;
502
+ padding-right: 80px;
503
+ background: white;
504
+ border: 1px solid var(--border);
505
+ border-radius: 8px;
506
+ font-size: 0.8125rem;
507
+ line-height: 1.5;
508
+ overflow-x: auto;
509
+ }
510
+
511
+ .copyBtn {
512
+ position: absolute;
513
+ top: 8px;
514
+ right: 8px;
515
+ font: inherit;
516
+ font-size: 0.75rem;
517
+ font-weight: 600;
518
+ padding: 4px 12px;
519
+ border: 1px solid var(--border);
520
+ border-radius: 6px;
521
+ background: var(--surface);
522
+ color: #333;
523
+ cursor: pointer;
524
+ }
525
+
526
+ .copyBtn:hover {
527
+ border-color: var(--accent);
528
+ color: var(--accent);
529
  }
530
 
531
  @media (max-width: 900px) {
 
756
 
757
  <h4 class="sectionLabel">Authors</h4>
758
 
 
759
  <ul class="authors">
760
+ <li>Hiari Pizzini Cavagna<sup>a</sup></li>
761
+ <li>Andrea Proia<sup>a</sup></li>
762
+ <li>Daniele Cesarini<sup>b</sup></li>
763
+ <li>Zeynep Kiziltan<sup>a</sup></li>
764
+ <li>Andrea Bartolini<sup>a</sup></li>
765
+ </ul>
766
+
767
+ <ul class="affiliations">
768
+ <li><sup>a</sup> University of Bologna, Bologna, Italy</li>
769
+ <li><sup>b</sup> CINECA, Casalecchio di Reno, Italy</li>
770
  </ul>
771
 
772
+ <h4 class="sectionLabel">Citation</h4>
773
+
774
+ <!-- TODO: fill in venue, year, pages and DOI once published -->
775
+ <div class="bibtex">
776
+ <button class="copyBtn" onclick="copyBibtex(this)">Copy</button>
777
+ <pre id="bibtex">@article{pizzinicavagna_simple_law,
778
+ title = {SIMPLE Law: An Architecture-Aware Analytical Model for Predicting Energy Efficiency of LLM Inference},
779
+ author = {Pizzini Cavagna, Hiari and Proia, Andrea and Cesarini, Daniele and Kiziltan, Zeynep and Bartolini, Andrea},
780
+ journal = {JOURNAL},
781
+ year = {YEAR},
782
+ volume = {VOLUME},
783
+ pages = {PAGES},
784
+ doi = {DOI}
785
+ }</pre>
786
+ </div>
787
+
788
+ <script>
789
+ function copyBibtex(button) {
790
+ navigator.clipboard.writeText(document.getElementById('bibtex').textContent);
791
+ button.textContent = 'Copied';
792
+ setTimeout(() => button.textContent = 'Copy', 1500);
793
+ }
794
+ </script>
795
+
796
  <p class="note">
797
  Web demo developed with the assistance of Claude (Anthropic), an AI assistant.
798
  </p>