Skip to content

loseyear index.html 0520 #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2-header/loseyear/c/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ body{font-size:0.75em;}
@font-face
{
font-family: 'logo';
src:url('../f/TROLLKABB_FONT.ttf') format('truetype');
src:url('../f/BALLW.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Expand Down
135 changes: 135 additions & 0 deletions 2-header/loseyear/c/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
body{font-size:0.75em;background:#2d88a6;}
header, ul ,li
{
padding:0;margin:0;
}
@font-face
{
font-family: 'logo';
src:url('../f/BALLW.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
header
{
background:#1d1d1d;
box-shadow:0 0 .3em #000;
border-radius:.3em .3em 0 0;
float:left;
position:relative;
height:11.0em;
margin:10em;
padding:0 .5em .1em .5em;
}
header::before
{
content:"";
position:absolute;
bottom:.0em;
left:-.5em;
width:0;
height:0;
border-bottom:11em solid #1d1d1d;
border-left:.5em dashed transparent;
border-radius:0 0 0 .3em;
}
header::after
{
content:"";
position:absolute;
bottom:.0em;
right:-.5em;
width:0;
height:0;
border-bottom:11em solid #1d1d1d;
border-right:.5em dashed transparent;
border-radius:0 .3em .3em 0;
}
div
{
float:left;
width:100%;
clear:left;
height:7.6em;
line-height:7.6em;
text-align:center;
}
div > a
{
color:#f1f1f1;
font-family:"logo";
font-size:3em;
text-decoration:none;
}
ul
{
background:fff;
border-radius:10em 0 0 10em / 5em 0 0 0 5em;
clear:left;
float:left;
list-style:none;
padding:0;
position:relative;
border-radius:.3em .3em 0 0;
}

ul::before
{
content:"";
position:absolute;
bottom:.2em;
left:-.5em;
width:0;
height:0;
border-bottom:3.2em solid white;
border-left:.5em dashed transparent;
border-radius:0 0 0 .3em;
}
ul::after
{
content:"";
position:absolute;
bottom:.2em;
right:-.5em;
width:0;
height:0;
border-bottom:3.2em solid white;
border-right:.5em dashed transparent;
border-radius:0 0 .3em 0;
}
li
{
float:left;
}
li::after
{
background:#1d1d1d;
content:"";
display:block;
height:.2em;
overflow:hidden;
font-size:.1em;
}
li:nth-child(3)::after
{
background:#2eb2e8;
}
li:hover::after
{
background:#2eb2e8;
}
li > a
{
border-left:1px solid #cecece;
color:#656565;
display:block;
font-weight:bold;
text-decoration:none;
padding:1em;
}
li:first-child > a {border:none;}





Binary file added 2-header/loseyear/f/BALLW.TTF
Binary file not shown.
Binary file added 2-header/loseyear/f/LOKICOLA.TTF
Binary file not shown.
Binary file added 2-header/loseyear/f/Pacifico.ttf
Binary file not shown.
Binary file removed 2-header/loseyear/f/TROLLKABB_FONT.ttf
Binary file not shown.
23 changes: 23 additions & 0 deletions 2-header/loseyear/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!----
<meta http-equiv=refresh content="1;url=index.html" >
<!---->
<script src="j/prefixfree.min.js">
//prefixfree
</script>
<link rel="stylesheet" href="c/index.css" />
<header>
<div><a href="">sIm</a></div>
<ul>
<li><a href="">News</a></li>
<li><a href="">Economic</a></li>
<li><a href="">Science and Technology</a></li>
<li><a href="">Entertainment</a></li>
<li><a href="">Sports</a></li>
<li><a href="">Life</a></li>
<li><a href="">Movie</a></li>
<li><a href="">Other</a></li>
</ul>
</header>