Skip to content

Instantly share code, notes, and snippets.

@willdotjpg
Created October 22, 2024 01:01
Show Gist options
  • Select an option

  • Save willdotjpg/4d64bd5f4a9f02e7704b9ab93ded0f21 to your computer and use it in GitHub Desktop.

Select an option

Save willdotjpg/4d64bd5f4a9f02e7704b9ab93ded0f21 to your computer and use it in GitHub Desktop.
shirokuma
* {
margin: 0;
padding: 0;
}
@font-face {
font-family: "Besty";
src: url("https://willdotjpg.gay/fonts/Besty.ttf");
}
@font-face {
font-family: "Daisywheel";
src: url("https://willdotjpg.gay/fonts/daisywhl.otf");
}
body {
background-color: #9ddbf4;
font-family: "Daisywheel";
color: #9ddbf4;
cursor: crosshair;
}
a {
color: #9ddbf4;
}
a:hover {
background-color: #efefef;
}
p {
margin-bottom: 10px;
}
.main {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 700px;
height: 900px;
background-color: #fff;
}
.header {
width: 680px;
height: 200px;
margin-left: 10px;
margin-top: 10px;
box-sizing: border-box;
background-image: url("https://willdotjpg.nekoweb.org/templates/shirokuma/siteheader_polarBearCafe_938%C3%83%C2%97326.jpg");
background-size: cover;
background-position: center;
}
.stars {
width: 150px;
height: 128px;
background-image: url("https://willdotjpg.nekoweb.org/templates/shirokuma/threestars_white2.png");
margin-left: 550px;
margin-top: -75px;
position: absolute;
z-index: 1;
}
.bar {
width: 680px;
height: 50px;
box-sizing: border-box;
margin-left: 10px;
margin-top: 10px;
background-image: url("https://willdotjpg.nekoweb.org/images/backgrounds/lovesickdotcafe_chckr_bg.png");
align-content: center;
}
.bar a {
margin-left: 30px;
color: #000;
text-decoration: none;
}
.bar a:hover {
color: #fff;
}
.side {
width: 250px;
height: 353px;
background-image: url("https://willdotjpg.nekoweb.org/templates/shirokuma/shirokuma_2.png");
position: absolute;
margin-left: 10px;
margin-top: 10px;
box-sizing: border-box;
background-size: contain;
}
h1 {
font-family: "Besty";
}
.text {
position: absolute;
margin-left: 275px;
margin-top: 10px;
width: 413px;
height: 353px;
overflow: auto;
align-content: center;
}
.panda {
background-image: url("https://willdotjpg.nekoweb.org/images/panda1.png");
height: 257px;
width: 150px;
position: absolute;
margin-left: 540px;
margin-top: 355px;
}
.left {
position: absolute;
border: 1px solid #9ddbf4;
height: 240px;
width: 225px;
margin-top: 375px;
margin-left: 10px;
padding: 10px;
box-sizing: border-box;
overflow: auto;
align-content: center;
}
.right {
position: absolute;
border: 1px solid #9ddbf4;
height: 240px;
width: 225px;
margin-top: 375px;
margin-left: 250px;
float: right;
padding: 10px;
box-sizing: border-box;
overflow: auto;
align-content: center;
}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="shirokuma.css"
rel="stylesheet"
type="text/css"
media="all"
/>
<title></title>
</head>
<body>
<div class="main">
<div class="header"></div>
<div class="stars"></div>
<div class="bar">
<a href="">link 1</a>
<a href="">link 2</a>
<a href="">link 3</a>
</div>
<div class="side"></div>
<div class="text">
<center>
<h1>
THIS IS A HEADER
<i>!</i>
</h1>
</center>
<p>
i wanted to try something kind of like some of the carrd
designs i see around the internet, and i was inspired by my
favorite fall/winter anime! feel free to modify the code
however you want. credit isn't necessary but i'd love to see
what you do with it!
</p>
<p>
<a href="">here</a>
is the html and
<a href="">here</a>
is the css!
</p>
</div>
<div class="left">
<p>put anything you want here!</p>
</div>
<div class="right">
<p>
fonts used are
<a href="https://willdotjpg.nekoweb.org/fonts/daisywhl.otf">
daisywheel
</a>
and
<a href="https://willdotjpg.nekoweb.org/fonts/besty.ttf">
besty
</a>
</p>
<p>credit for the navbar background goes to</p>
<center>
<a href="https://lovesick.cafe">
<img
src="https://willdotjpg.nekoweb.org/images/buttons/lovesick-button2.png"
/>
</a>
</center>
</div>
<div class="panda"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment