Skip to content

Commit 2b02626

Browse files
committed
Redesign 1st row menus, CSS; add Tech Blogs menu option/link
Signed-off-by: michael vincerra <[email protected]>
1 parent dfe7934 commit 2b02626

File tree

2 files changed

+66
-22
lines changed

2 files changed

+66
-22
lines changed

src/docs/_static/styles.css

Lines changed: 53 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -146,21 +146,20 @@ body {
146146
font-family: var(--bs-body-font-family);
147147
font-weight: normal;
148148
font-weight: 400;
149-
/* margin: 0;
150-
padding: 0; */
149+
/* margin: 0;*/
151150
color: rgba(64,64,64,25);
152151
}
153-
152+
154153
h1{
155154
font-family: var(--bs-header-font-family);
156155
font-weight: bold;
157156
font-weight: 600;
158-
font-size: 28px;
157+
font-size: 28px;
159158
color: rgb(0,84,174);
160159
align-content: center;
161160
align-self: center;
162161
}
163-
162+
164163
h2 {
165164
font-family: var(--bs-header-font-family);
166165
font-weight: normal;
@@ -425,15 +424,15 @@ input[type=checkbox] label{
425424
}
426425

427426
.app-title {
428-
font-family: "IntelOneText"; /*var(--bs-body-font-family);*/
427+
font-family: "IntelOneText";
428+
/* font-family: var(--bs-body-font-family); */
429429
font-size: 20px;
430-
font-weight: normal;
431430
font-weight: 400;
432431
color: rgba(255,255,255,100);
433-
padding: 0.25em 0.5em 0.25em 0.5em;
432+
/* padding: 0.25em 0.5em 0.25em 0.5em; */
433+
padding: 2.15em 0.5em 0.25em 1.5em;
434434
min-width: 2.5em;
435-
display: block;
436-
padding: 0.65em 1.5em 0.5em 1.5em;
435+
display: inline-block;
437436
}
438437

439438
input[type=button] > #nobutton {
@@ -445,11 +444,10 @@ input[type=button] > #nobutton {
445444
color: rgb(0,199,253) !important;
446445
}
447446

448-
#total-records{
447+
#total-records{
449448
font-family: "IntelOneText"; /*var(--bs-body-font-family);*/
450449
font-size: 18px;
451450
color: rgb(0,84,174);
452-
font-weight: normal;
453451
font-weight: 400;
454452
/* margin-top: 25px; */
455453
/* padding-left: 10px; */
@@ -459,6 +457,8 @@ input[type=button] > #nobutton {
459457

460458
.logo {
461459
background-size: contain;
460+
/* padding: 2.25em 0.5em 1.0em 1.5em; */
461+
padding: 1.65em 0.5em 0.25em 1.0em;
462462
}
463463

464464
.grid-row {
@@ -483,6 +483,7 @@ input[type=button] > #nobutton {
483483
align-items: center;
484484
text-align: center;
485485
vertical-align: middle;
486+
/* outline: dotted hotpink; */
486487
}
487488

488489

@@ -572,6 +573,11 @@ input[type=button] > #nobutton {
572573
outline: none;
573574
}
574575

576+
577+
.btn.home-button {
578+
padding: 2.25em 0.5em 0.25em 1.5em;
579+
}
580+
575581
.filter-btn {
576582
outline: none;
577583
border: none;
@@ -987,11 +993,14 @@ img.scaled {
987993
}
988994

989995
figcaption {
990-
font-family:var(--bs-header-font-family);
996+
/* font-family:var(--bs-header-font-family); */
997+
/* font-family: var(--bs-body-font-family); */
998+
font-family: "IntelOneText";
991999
font-weight: 400;
992-
font-size: 18px;
1000+
font-size: 20px;
9931001
border-bottom: none;
9941002
color:rgb(255,255,255);
1003+
padding-top: 0.0em;
9951004
}
9961005

9971006
figcaption:hover{
@@ -1286,13 +1295,18 @@ ul.help li {
12861295
a {
12871296
text-decoration: none !important;
12881297
/* color: rgb(255,255,255) !important; */
1289-
color: rgb(0,84,174) !important;
1298+
/* color: rgb(0,84,174) !important; */
12901299
}
12911300

12921301
a:hover {
12931302
color: rgb(0, 199, 253) !important;
12941303
}
12951304

1305+
.col-nav-left a {
1306+
color: rgb(0,84,174) !important;
1307+
}
1308+
1309+
12961310
.tmb-cookies-privacy{
12971311
color: rgba(0,84,174,68) !important;
12981312
padding: 0.25rem;
@@ -1465,3 +1479,27 @@ a:hover {
14651479
}
14661480

14671481
a#wap_dns {display: none;}
1482+
1483+
.col.tech-blogs a {
1484+
/* font-family: "IntelOneText"; var(--bs-body-font-family); */
1485+
/* line-height: 5.5em; adjust leading */
1486+
font-family: "IntelOneText";
1487+
font-size: 20px;
1488+
font-weight: 400;
1489+
color: rgba(255,255,255,100) !important;
1490+
min-width: 2.5em;
1491+
/* display: inline-block; */
1492+
padding: 1.75em 0.5em 0.25em 1.5em;
1493+
display: flex;
1494+
flex-direction: column;
1495+
align-items: right;
1496+
}
1497+
1498+
.col.tech-blogs a:hover{
1499+
color: rgb(0,199,253) !important;
1500+
}
1501+
1502+
figure {
1503+
/* padding-top: 1.0em; */
1504+
padding: 1.0em 0.5em 0.25em 3.5em !important;
1505+
}

src/docs/_templates/index.html

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,21 @@
3131
</div>
3232
</div>
3333

34-
<div class="col "> <!--#2--></div>
34+
<div class="col "> <!--#2--></div>
3535

3636
<div class="col "> <!--#3--></div>
37-
37+
3838
<div class="col "> <!--#4--> </div>
3939

40-
<div class="col"> <!--#5--> </div>
40+
<div class="col tech-blogs"> <!--#5-->
41+
42+
<a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/tech-articles-how-to/library.html">
43+
Tech Blogs
44+
</a>
45+
46+
</div>
4147

42-
<div class="col">
48+
<div class="col">
4349
<figure>
4450
<a href="https://github.com/oneapi-src/oneAPI-samples">
4551
<img class=scaled src="_static/assets/github-mark-white.png" alt="oneAPI Samples Repository">
@@ -59,11 +65,11 @@
5965
</a>
6066
</div>
6167
</div>
62-
68+
6369
<div class="col">
64-
<div id="total-records"></div>
70+
<div id="total-records"></div>
6571
</div>
66-
72+
6773
<div class="col"></div>
6874

6975
<div class="col">

0 commit comments

Comments
 (0)