Added home styling
This commit is contained in:
@ -1,12 +1,15 @@
|
|||||||
var bg = document.getElementById("backgroundSim")
|
var bg = document.getElementById("backgroundSim")
|
||||||
var ctx = bg.getContext("2d");
|
var ctx = bg.getContext("2d");
|
||||||
ctx.canvas.width = window.innerWidth;
|
ctx.canvas.width = window.screen.availWidth;
|
||||||
ctx.canvas.height = window.innerHeight;
|
ctx.canvas.height = window.screen.availHeight;
|
||||||
rock = new Image();
|
rock = new Image();
|
||||||
rock.src = "Rock1.png";
|
rock.src = "Rock1.png";
|
||||||
|
|
||||||
ctx.fill()
|
ctx.fill()
|
||||||
|
|
||||||
|
var resolutionTag = document.getElementById("resolutionTag");
|
||||||
|
resolutionTag.textContent = "document: " + window.screen.availWidth + "x" + window.screen.availHeight + ", inner window: " + window.innerWidth + "x" + window.innerHeight;
|
||||||
|
|
||||||
function drawCircle(x, y, r){
|
function drawCircle(x, y, r){
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(x, y, r, 0, 2*Math.PI)
|
ctx.arc(x, y, r, 0, 2*Math.PI)
|
||||||
|
|||||||
158
style.css
158
style.css
@ -1,8 +1,18 @@
|
|||||||
/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
|
/*
|
||||||
HTML content. To learn how to do something, just try searching Google for questions like
|
Authors: Luna, Willow, Tech, W175B
|
||||||
"how to change link color." */
|
Date Created: 9/28/25
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Main Document Stylings */
|
||||||
|
*{
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
color: #00ACAC;
|
color: #00ACAC;
|
||||||
@ -11,10 +21,33 @@ body {
|
|||||||
width:100%;
|
width:100%;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intotitle{
|
#intotitle{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
size: 50pt;
|
size: 50pt;
|
||||||
|
margin: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.warning{
|
||||||
|
color: #FF0011;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title{
|
||||||
|
color: #330822; /*Temp*/
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas{
|
||||||
|
position: fixed;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
top:0;
|
||||||
|
left:0;
|
||||||
|
right:0;
|
||||||
|
bottom:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#backgroundSim{
|
#backgroundSim{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0;
|
top:0;
|
||||||
@ -31,10 +64,17 @@ div#imagelinks{
|
|||||||
|
|
||||||
div#mainview{
|
div#mainview{
|
||||||
height:83vh;
|
height:83vh;
|
||||||
padding-left:25%;
|
padding-left: 15%;
|
||||||
padding-right:25%;
|
padding-right: 15%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track{
|
||||||
|
height: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Post Area */
|
||||||
|
|
||||||
div#postarea{
|
div#postarea{
|
||||||
/*position: absolute;
|
/*position: absolute;
|
||||||
left: 25%;
|
left: 25%;
|
||||||
@ -55,47 +95,53 @@ div#postarea{
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track{
|
|
||||||
height: 25%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
div#blogList{
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
width:100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#blogList ul{
|
#blogList ul{
|
||||||
padding-right: 5%;
|
padding-right: 5%;
|
||||||
padding-left: 5%;
|
padding-left: 5%;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width:inherit;
|
width:inherit;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Individual Posts */
|
||||||
|
|
||||||
div#post{
|
div.post {
|
||||||
background-color: #223344;
|
background-color: #223344;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
word-wrap:break-word;
|
word-wrap:break-word;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
border-color: #225555;
|
border-color: #225555;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
width: 400px;
|
||||||
|
padding: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#post ul, a{
|
.post p{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post ul, a{
|
||||||
color: #ACACAC;
|
color: #ACACAC;
|
||||||
}
|
}
|
||||||
|
|
||||||
img#post{
|
.postImage{
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 50%;
|
aspect-ratio: 1/1;
|
||||||
border-radius: 5%;
|
border-radius: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postHeader{
|
||||||
|
color: #77FF66;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Biography */
|
||||||
|
|
||||||
#bio{
|
#bio{
|
||||||
border-style:groove;
|
border-style:groove;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@ -103,6 +149,9 @@ img#post{
|
|||||||
padding-left: 5%;
|
padding-left: 5%;
|
||||||
padding-right: 5%;
|
padding-right: 5%;
|
||||||
height: 45%;
|
height: 45%;
|
||||||
|
overflow: scroll;
|
||||||
|
scroll-behavior: auto;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bioHeader{
|
#bioHeader{
|
||||||
@ -110,9 +159,71 @@ img#post{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#memberList img{
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.collumRow{
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width:800px) {
|
||||||
|
.collumRow{
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#memberList{
|
#memberList{
|
||||||
padding-left: 5%;
|
padding-left: 5%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.member{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: row;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.member{
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #25a89d;
|
||||||
|
border-radius: 4px;
|
||||||
|
border-width: 1px;
|
||||||
|
list-style: none;
|
||||||
|
background-color: #767e7e8c;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.member{
|
||||||
|
color: #FF00aa;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px){
|
||||||
|
div.post{
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.mebere{
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
}
|
||||||
|
li.member{
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 1000px){
|
@media (min-width: 1000px){
|
||||||
div#postarea{
|
div#postarea{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
@ -130,3 +241,8 @@ img#post{
|
|||||||
height:70%;
|
height:70%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Footer Related*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user