proper-website-2/web/static/style.css

334 lines
4.7 KiB
CSS
Raw Normal View History

2022-03-01 15:50:53 +01:00
html {
2022-03-12 15:52:13 +01:00
overflow-y: scroll;
2022-03-24 13:25:07 +01:00
margin: 0px;
height: 100%;
2022-03-01 15:50:53 +01:00
}
body {
2022-03-24 13:25:07 +01:00
margin: 0px;
height: 100%;
}
.background {
background-image: url(images/background_star.gif);
width: 100%;
position: absolute;
}
.undertale-bg {
background-image: url(images/ut-bg.webp);
width: 100%;
position: sticky;
2022-03-01 15:50:53 +01:00
}
.header {
border: 3px solid;
border-radius: 4px;
border-color: rgb(252, 230, 255);
2022-03-14 21:37:22 +01:00
margin-bottom: 5px;
2022-03-01 15:50:53 +01:00
background-color: rgb(54, 39, 48);
font-size: 5em;
font-family: anisha;
text-align: center;
2022-03-15 14:12:15 +01:00
height: 100%;
}
.update-box {
position:absolute;
max-width: 100px;
top: 0px;
right: 0px;
font-size: 0.8rem;
2022-03-01 15:50:53 +01:00
}
.main {
margin-top: 5px;
2022-03-24 13:25:07 +01:00
width: 900px;
position: relative;
margin-left: auto;
margin-right: auto;
color:aliceblue;
font-family: havakana;
font-size: 1.1em;
2022-03-01 15:50:53 +01:00
}
.navbar {
border: 3px solid;
border-radius: 4px;
border-color: rgb(252, 230, 255);
2022-03-14 21:37:22 +01:00
margin-bottom: 5px;
2022-03-01 15:50:53 +01:00
background-color: rgb(54, 39, 48);
position: relative;
float:left;
width: 250px;
text-decoration: none;
list-style: none;
}
.navbar a, a:link, a:visited{
text-decoration: none;
color:rgb(252, 230, 255)
}
2022-03-15 12:48:47 +01:00
.left {
float:left;
max-width: 250px;
}
.right {
float:right;
max-width: 614px;
}
2022-03-14 21:37:22 +01:00
.leftbar {
border: 3px solid;
border-radius: 4px;
border-color: rgb(252, 230, 255);
background-color: rgb(54, 39, 48);
position: relative;
float:left;
width: 250px;
padding: 5px 0px;
}
2022-03-15 12:48:47 +01:00
.block {
border: 3px solid;
border-radius: 4px;
border-color: rgb(252, 230, 255);
background-color: rgb(54, 39, 48);
margin-bottom: 5px;
position: relative;
2022-03-15 13:22:59 +01:00
}
.leftbarblock {
float:left;
width: 250px;
padding: 5px 0px;
}
.contentblock {
float:right;
2022-03-15 12:48:47 +01:00
width: 614px;
padding: 10px;
}
2022-03-01 15:50:53 +01:00
.content {
border: 3px solid;
border-radius: 4px;
border-color: rgb(252, 230, 255);
background-color: rgb(54, 39, 48);
2022-03-01 17:07:33 +01:00
margin-bottom: 5px;
2022-03-01 15:50:53 +01:00
position: relative;
float:right;
2022-03-01 17:07:33 +01:00
width: 614px;
padding: 10px;
}
2022-03-01 15:50:53 +01:00
2022-03-24 13:25:07 +01:00
.no-border {
border: none;
}
.content-text {
2022-03-14 21:04:30 +01:00
max-width: 75%;
width: auto;
2022-03-01 17:07:33 +01:00
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
2022-03-01 19:45:23 +01:00
2022-03-14 21:04:30 +01:00
/*
.content p {
max-width: 80%;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}*/
2022-03-12 15:52:13 +01:00
2022-03-15 16:42:26 +01:00
.guestbook-form-div {
margin: 0px 0px 10px 0px;
2022-03-12 15:52:13 +01:00
}
2022-03-15 16:42:26 +01:00
2022-03-02 13:38:28 +01:00
.comment {
border: 2px solid;
2022-03-12 15:52:13 +01:00
border-radius: 6px;
2022-03-02 13:38:28 +01:00
border-color: aliceblue;
2022-03-12 15:52:13 +01:00
padding: 0px 0px 5px 0px;
background-color: darkseagreen;
}
.comment-header {
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
background-color: aquamarine;
width: 100%;
color: black;
display: flex;
flex-direction: row;
}
div .name {
text-align: left;
2022-03-13 19:34:20 +01:00
overflow-wrap: break-word;
2022-03-12 15:52:13 +01:00
}
div .date {
font-size: 0.8em;
margin-right: 10px;
text-align: right;
color: black;
}
div.comment-header p {
width: 80%;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
div.comment-message p{
width: 80%;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
2022-03-12 15:52:13 +01:00
.comment-message {
color:white;
2022-03-13 19:34:20 +01:00
overflow-wrap: break-word;
2022-03-02 13:38:28 +01:00
}
2022-03-13 16:17:27 +01:00
.gb-modal {
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.gb-modal-content {
background-color: #fefefe;
color: black;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
2022-03-07 13:05:33 +01:00
.friend-frame {
width: 290px;
height: 200px;
overflow: hidden;
list-style: none;
text-decoration: none;
-ms-zoom: 0.75;
-moz-transform: scale(0.75);
-moz-transform-origin: 0 0;
-o-transform: scale(0.75);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.75);
-webkit-transform-origin: 0 0;
}
2022-03-01 19:45:23 +01:00
.p-h1 {
font-family: anisha;
font-size: 3em;
margin-top:5px;
margin-bottom:5px;
margin-left: 10px;
2022-03-01 19:45:23 +01:00
}
.p-h2 {
font-size: 1.5em;
margin-left: 10px;
}
.p-h3 {
font-size: 1.2em;
}
.small {
font-size: 0.8em;
width: 80%;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
2022-03-15 14:12:15 +01:00
.update-message {
font-family: havakana;
margin-top: 0px;
}
.pulsing {
animation-name: pulsing;
animation-duration: 0.4s;
animation-timing-function: ease-out;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-play-state: running;
}
@keyframes pulsing {
0% {
transform: scale(.7);
}
50% {
}
100% {
transform: scale(1.5);
}
}
/*Margin top 5px*/
.m-t5 {
margin-top: 5px;
}
/*Margin top-bottom 10px*/
.m-tb10 {
margin-top: 10px;
margin-bottom: 10px;
}
2022-03-14 21:37:22 +01:00
.mt-20 {
margin-top: 20px;
}
.mb-10 {
margin-bottom: 10px;
}
.bold {
font-weight: 700;
}
.fit {
width: fit-content;
2022-03-15 13:06:52 +01:00
}
.invisible {
visibility: hidden;
2022-03-01 19:45:23 +01:00
}