mirror of
https://github.com/t404owo/t404null.git
synced 2025-12-12 18:08:47 +00:00
[Alpha ver] Prototype
This commit is contained in:
112
assets/css/main.css
Normal file
112
assets/css/main.css
Normal file
@@ -0,0 +1,112 @@
|
||||
nav {
|
||||
z-index: 3;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0.5rem;
|
||||
background-color: #f5f5f5;
|
||||
font-family: Jost, "Noto Sans Japanese", sans-serif;
|
||||
padding: 0.1rem;
|
||||
margin: 0.2rem;
|
||||
margin-top: 1rem;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0px 0px 12px 0.1px #d0d0d0;
|
||||
ul {
|
||||
padding-left: 1rem;
|
||||
list-style-type: none;
|
||||
margin: 0px;
|
||||
margin-bottom: 0.4rem;
|
||||
li {
|
||||
display: inline-block;
|
||||
padding-right: 0.25rem;
|
||||
vertical-align: middle;
|
||||
p {
|
||||
padding-top: 0.4rem;
|
||||
vertical-align: middle;
|
||||
margin: 1rem 1rem;
|
||||
}
|
||||
}
|
||||
img {
|
||||
margin-top: 0.25rem;
|
||||
height: 1.5rem;
|
||||
vertical-align: middle;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
.vertical-line {
|
||||
width: 0.1rem;
|
||||
background-color: black;
|
||||
height: 100%;
|
||||
}
|
||||
a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
/*main {
|
||||
position: relative;
|
||||
}*/
|
||||
.container {
|
||||
position: relative;
|
||||
height: 50vw;
|
||||
width: 95%;
|
||||
margin: auto;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.carousel {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid #DDD;
|
||||
border-radius: 7px;
|
||||
position: relative;
|
||||
}
|
||||
.slider {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.slider section {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
transition: 0.3s;
|
||||
}
|
||||
.prev,
|
||||
.next {
|
||||
position: absolute;
|
||||
height: 5rem;
|
||||
width: 5rem;
|
||||
font-size: 4rem;
|
||||
top: 50%;
|
||||
z-index: 2;
|
||||
}
|
||||
.next {
|
||||
right: 1rem;
|
||||
}
|
||||
.prev {
|
||||
left: 1rem;
|
||||
}
|
||||
.pgctrl {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
z-index: 2;
|
||||
font-size: 4rem;
|
||||
cursor: pointer;
|
||||
transition: 0.75s;
|
||||
}
|
||||
.control {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-family: Jost, "Noto Sans Japanese", sans-serif;
|
||||
}
|
||||
Reference in New Issue
Block a user