Skip to content

Commit

Permalink
working on prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vjgtigers committed Apr 5, 2024
1 parent f9b6531 commit e7687ed
Show file tree
Hide file tree
Showing 11 changed files with 226 additions and 219 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
config.php
config.php
**/node_modules
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.github
README.md
10 changes: 5 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
3 changes: 3 additions & 0 deletions .prettyphp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"src": ["."]
}
47 changes: 17 additions & 30 deletions account/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
p {
color:white;
color: white;
}

ul {
Expand All @@ -10,7 +10,6 @@ ul {
background-color: #333;
}


li {
float: left;
}
Expand All @@ -37,45 +36,38 @@ body {
padding-right: 16px;
position: relative;
float: right;
color:white;
color: white;
}


#mainContainer {
width: 100%;
overflow: hidden; /* will contain if #first is longer than #second */
width: 100%;
overflow: hidden; /* will contain if #first is longer than #second */
}

.box_test {
width: 300px;
height: 300px;
float:left; /* add this */
overflow: hidden;
border: 1px solid green;


width: 300px;
height: 300px;
float: left; /* add this */
overflow: hidden;
border: 1px solid green;
}

.centerme {
text-align: center;
}


/* redisign for mobile fist. the boxsize boarder isnt changing in mobile becuase its alreay set. this a problem and coud set it all as class*/
/* look at that just switched it to a class, shit works wonders, now to do the same for mobile*/
/* change boarders so between doesnt have both*/



@media (pointer:none), (pointer:coarse) {
@media (pointer: none), (pointer: coarse) {
body {
background-color: #4f4f4f;
}

p {
font-size: 50px;
color: Silver;

}

.box_test {
Expand All @@ -88,16 +80,11 @@ body {
margin-bottom: 25px;
margin-top: 25px;
float: none;



}
#navBar {
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */

}
#navBar {
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
}
}

}
37 changes: 18 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Xerwai Homepage</title>
<link rel="stylesheet" href="style.css">



<link rel="stylesheet" href="style.css" />
</head>
<body>
<ul>
<li><a href="https://xerwai.com">Home</a></li>
<li><a href="./record">Record</a></li>
<li><a href="./future">Future Work</a></li>
<li><a href="./info">View Data</a></li>
<li><a href="https://xerwai.com/help">Help</a></li>
</ul>

<ul>
<li><a href="https://xerwai.com">Home</a></li>
<li><a href="./record">Record</a></li>
<li><a href="./future">Future Work</a></li>
<li><a href="./info">View Data</a></li>
<li><a href="https://xerwai.com/help">Help</a></li>
</ul>

<h1>This program will probably only work in Edt/Est because thats what it was developed for.</h1>
<script src="index.js"></script>
<h1>
This program will probably only work in Edt/Est because thats what it was
developed for.
</h1>
<script src="index.js"></script>
</body>
</html>
</html>
47 changes: 17 additions & 30 deletions info/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
p {
color:white;
color: white;
}

ul {
Expand All @@ -10,7 +10,6 @@ ul {
background-color: #333;
}


li {
float: left;
}
Expand All @@ -37,45 +36,38 @@ body {
padding-right: 16px;
position: relative;
float: right;
color:white;
color: white;
}


#mainContainer {
width: 100%;
overflow: hidden; /* will contain if #first is longer than #second */
width: 100%;
overflow: hidden; /* will contain if #first is longer than #second */
}

.box_test {
width: 300px;
height: 300px;
float:left; /* add this */
overflow: hidden;
border: 1px solid green;


width: 300px;
height: 300px;
float: left; /* add this */
overflow: hidden;
border: 1px solid green;
}

.centerme {
text-align: center;
}


/* redisign for mobile fist. the boxsize boarder isnt changing in mobile becuase its alreay set. this a problem and coud set it all as class*/
/* look at that just switched it to a class, shit works wonders, now to do the same for mobile*/
/* change boarders so between doesnt have both*/



@media (pointer:none), (pointer:coarse) {
@media (pointer: none), (pointer: coarse) {
body {
background-color: #4f4f4f;
}

p {
font-size: 50px;
color: Silver;

}

.box_test {
Expand All @@ -88,16 +80,11 @@ body {
margin-bottom: 25px;
margin-top: 25px;
float: none;



}
#navBar {
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */

}
#navBar {
overflow: hidden;
position: fixed; /* Set the navbar to fixed position */
top: 0; /* Position the navbar at the top of the page */
width: 100%; /* Full width */
}
}

}
53 changes: 53 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"devDependencies": {
"@prettier/plugin-php": "^0.22.2",
"prettier": "^3.2.5"
}
}
Loading

0 comments on commit e7687ed

Please sign in to comment.