Skip to content

Commit 060fa9b

Browse files
save file
1 parent 6e415eb commit 060fa9b

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

code-dev/html/main-hdr/v2.0/main-hdr-v2.0.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,48 @@
66
<template shadowrootmode=open>
77

88
<style>
9+
10+
11+
#root
12+
{margin:0;box-sizing:border-box;display:flex;align-items:center;gap:10px;
13+
border-bottom:1px solid lightgray;padding-bottom:20px;position:relative;
14+
margin-bottom:20px;
15+
}
16+
17+
.icon
18+
{cursor:pointer;border-radius:3px;border:1px solid gray;box-sizing:border-box;
19+
width:38px;height:38px;
20+
}
21+
22+
.item
23+
{display:inline-flex;align-items:center;text-align:center;background:buttonface;
24+
border-radius:3px;border:1px solid lightgray;padding:5px 7px;
25+
}
26+
27+
.item-label
28+
{}
29+
30+
::slotted(.title)
31+
{text-align:center;position:absolute;left:0;right:0;top:0px;z-index:-1;margin:0 auto;color:blue;
32+
}
33+
34+
35+
.date
36+
{position:absolute;top:5px;right:5px;}
37+
38+
a
39+
{color:blue;}
40+
a:visited
41+
{color:blue;}
942

1043
</style>
1144

1245
<div id=root>
1346

47+
<a href='/'>
48+
home
49+
</a>
50+
1451
<slot></slot>
1552

1653
<slot name=date></slot>

0 commit comments

Comments
 (0)