File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change @@ -520,14 +520,37 @@ header
520
520
width : 100% ;
521
521
padding :0px ;
522
522
}
523
- #bannerText
523
+ #bannerLeft
524
524
{
525
- font-size :26px ;
526
525
flex-grow : 1 ;
527
526
padding-right :20px ;
527
+ display : flex ;
528
+ flex-direction : column ;;
529
+ }
530
+ #bannerText
531
+ {
532
+ font-size :26px ;
533
+
528
534
}
529
535
#bannerCode
530
536
{
531
537
width :500px ;
532
538
flex-grow : 0 ;
539
+ }
540
+ #mainPageBanerNav
541
+ {
542
+ display : flex ;
543
+ flex-direction : row ;
544
+ }
545
+ .mainPageBtn
546
+ {
547
+ padding : 20px ;
548
+ background-color : #cadfe6 ;
549
+ margin-right : 10px ;
550
+ margin-top : 15px ;
551
+ align-content : center ;
552
+ }
553
+ .mainPageBtn :hover
554
+ {
555
+ background-color : #e7f5f9 ;
533
556
}
Original file line number Diff line number Diff line change 1
1
<div id =" banner " >
2
- <span id =" bannerText " >
3
- Slang is a GPU-first language with modern features for modular, extensible, and high-performance programming.
4
- </span >
2
+ <div id =" bannerLeft " >
3
+ <span id="bannerText">
4
+ Slang is a GPU-first language with modern features for modular, extensible, and high-performance programming.
5
+ </span>
6
+ <div id="mainPageBanerNav">
7
+ <a class="mainPageBtn" href="/slang-playground">Try</a>
8
+ <a class="mainPageBtn" href="https://github.com/shader-slang/slang/releases/latest">Download</a>
9
+ <a class="mainPageBtn" href="https://github.com/shader-slang/slang">GitHub</a>
10
+ </div>
11
+ </div >
5
12
<img id =" bannerCode " src =" /assets/slang-example-code.gif " />
6
13
</div >
7
14
You can’t perform that action at this time.
0 commit comments