Commit 26e8018 1 parent 2467d12 commit 26e8018 Copy full SHA for 26e8018
File tree 2 files changed +67
-0
lines changed
2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 304
304
{#if firstEoseReceived}
305
305
< div id= " header" >
306
306
< span class = " sitetitle" > nostrpul .se < / span>
307
+ < span class = " credit" > by nostr .watch < / span>
307
308
<!-- < a class = " info"
308
309
href= " #"
309
310
on: click= {() => { showGenericModal (" info" );} }
@@ -463,6 +464,12 @@ button.active{
463
464
color:rgba(0,0,0,0.3);
464
465
}
465
466
467
+ #header .credit {
468
+ color:rgba(0,0,0,0.2);
469
+ font-size: clamp(2rem, 1vw, 2em);
470
+ }
471
+
472
+
466
473
#header .byline {
467
474
color:rgba(0,0,0,0.1);
468
475
float:right;
@@ -556,5 +563,54 @@ button.active{
556
563
width: 100%;
557
564
margin-bottom: 20px;
558
565
}
566
+
567
+ #header {
568
+ position:relative;
569
+ top:0px;
570
+ left:0px;
571
+ right:0px;
572
+ font-size: clamp(2rem, 2vw, 2em);
573
+ z-index:10;
574
+ padding:10px 50px;
575
+ z-index:0;
576
+
577
+ }
578
+
579
+ #header .sitetitle {
580
+ position: fixed;
581
+ top:0px;
582
+ transform: translateX(-50%);
583
+ left:50%;
584
+ color:rgba(0,0,0,0.3);
585
+ }
586
+
587
+ #header .credit {
588
+ position: fixed;
589
+ top:40px;
590
+ transform: translateX(-50%);
591
+ left:50%;
592
+ color:rgba(0,0,0,0.2);
593
+ font-size: clamp(1rem, 1vw, 2em);
594
+ }
595
+
596
+
597
+ #header .byline {
598
+ color:rgba(0,0,0,0.1);
599
+ float:none;
600
+ position: fixed;
601
+ bottom:0px;
602
+ left:0px;
603
+ right:0px;
604
+ display:block;
605
+ width:100%;
606
+ text-align:center;
607
+ }
608
+
609
+ #header .info {
610
+ color:rgba(0,0,0,0.3);
611
+ cursor:pointer;
612
+ display:inline-block;
613
+ font-weight:bolder
614
+ }
559
615
}
560
616
</style>
Original file line number Diff line number Diff line change 85
85
:global(.main ::-webkit-scrollbar-thumb ) {
86
86
color : #fff
87
87
}
88
+
89
+ @media (max-width : 600px ) {
90
+ dialog {
91
+ max-width : 32em ;
92
+ border-radius : 0.2em ;
93
+ border : none ;
94
+ padding : 0 ;
95
+ color :black ;
96
+ background : rgba (255 ,255 ,255 , 0.9 );
97
+ }
98
+ }
88
99
</style >
You can’t perform that action at this time.
0 commit comments