@@ -21,5 +21,4 @@
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
.idea
|
||||
|
||||
@@ -1,70 +1,2 @@
|
||||
# Getting Started with Create React App
|
||||
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||
|
||||
## Available Scripts
|
||||
|
||||
In the project directory, you can run:
|
||||
|
||||
### `npm start`
|
||||
|
||||
Runs the app in the development mode.\
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
|
||||
|
||||
The page will reload when you make changes.\
|
||||
You may also see any lint errors in the console.
|
||||
|
||||
### `npm test`
|
||||
|
||||
Launches the test runner in the interactive watch mode.\
|
||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `build` folder.\
|
||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
||||
|
||||
The build is minified and the filenames include the hashes.\
|
||||
Your app is ready to be deployed!
|
||||
|
||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
||||
|
||||
### `npm run eject`
|
||||
|
||||
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
|
||||
|
||||
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
||||
|
||||
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
||||
|
||||
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
||||
|
||||
## Learn More
|
||||
|
||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
|
||||
### Code Splitting
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
||||
|
||||
### Analyzing the Bundle Size
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
||||
|
||||
### Making a Progressive Web App
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
||||
|
||||
### Advanced Configuration
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
||||
|
||||
### Deployment
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
||||
|
||||
### `npm run build` fails to minify
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
||||
# thatalex.dev
|
||||
This is the repository for [my website](https://thatalex.dev)!
|
||||
Generated
+832
-696
File diff suppressed because it is too large
Load Diff
+4
-2
@@ -1,15 +1,17 @@
|
||||
{
|
||||
"name": "zevhr.github.io",
|
||||
"name": "web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"eslint": "8.22.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.4.0",
|
||||
"react-router-dom": "^6.4.3",
|
||||
"react-scripts": "5.0.1",
|
||||
"socket.io-client": "^4.5.3",
|
||||
"web-vitals": "^2.1.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
+9
-8
@@ -2,13 +2,12 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
|
||||
<!-- opengraph -->
|
||||
<meta
|
||||
name="og:description"
|
||||
content="it's a little dark in here.. come visit! got some hoops to jump through though, but there's definitely a website here"
|
||||
content="welcome to my website! here, you can find my portfolio and stuff about me along with any links to my socials!"
|
||||
/>
|
||||
<meta
|
||||
name="og:title"
|
||||
@@ -18,15 +17,17 @@
|
||||
name="og:url"
|
||||
content="https://thatalex.dev"
|
||||
/>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600;700&display=swap" rel="stylesheet">
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
@@ -36,7 +37,7 @@
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>alex</title>
|
||||
<title>alex!</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"short_name": "thatalex.dev",
|
||||
"name": "thatalex.dev",
|
||||
"name": "Alex / Zeph - my portfolio, about me & how to contact me",
|
||||
"icons": [],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#000000"
|
||||
"background_color": "#525459"
|
||||
}
|
||||
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
import React from 'react';
|
||||
import {Routes,BrowserRouter,Route} from 'react-router-dom';
|
||||
import {NavBar,Footer} from "./Components";
|
||||
import {Redirector} from './Utilities';
|
||||
import {HomePage,AboutPage,NotFound} from "./Pages";
|
||||
|
||||
const pages = [
|
||||
{
|
||||
"slug": "home",
|
||||
"path": "/",
|
||||
"display": "Home"
|
||||
},
|
||||
{
|
||||
"slug": "about",
|
||||
"path": "/about",
|
||||
"display": "About"
|
||||
}
|
||||
]
|
||||
|
||||
export class App extends React.Component {
|
||||
renderPageLinks() {
|
||||
return pages.map((page) => {
|
||||
return <a href={page.path} key={page.slug} rel={"noreferrer"} target={"_self"}><li className={"nav-links"}>{page.display}</li></a>
|
||||
})
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div id={"container"}>
|
||||
<NavBar pages={this.renderPageLinks()} />
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path={"/"} element={<HomePage />} />
|
||||
<Route path={"/about"} element={<AboutPage />} />
|
||||
<Route path={"/capy"} element={<Redirector url={"https://www.youtube.com/watch?v=oLsVrshvOaI"} />} />
|
||||
<Route path={"*"} element={<NotFound />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
import React from 'react';
|
||||
import { socket } from './Services';
|
||||
|
||||
export class NavBar extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div id={"nav"}>
|
||||
<ul style={{ paddingLeft:"0px" }} className={"nav-items"}>
|
||||
{this.props.pages}
|
||||
</ul>
|
||||
<hr style={{width:"300px"}} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export class Footer extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div id={"footer"}>
|
||||
<p>Website by <a href={"https://github.com/zevhr/pause"} target={"_blank"} rel={"noreferrer"}>Alex</a></p>
|
||||
<div className={"footeritems"}>
|
||||
<SocialMedia />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export class IFrame extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
d: null,
|
||||
userSetVolume: null
|
||||
}
|
||||
|
||||
socket.emit("spotify", {"event":"listen"});
|
||||
socket.on("api_update", async (message) => {
|
||||
if (message) await this.setState({ d: message })
|
||||
})
|
||||
}
|
||||
|
||||
render() {
|
||||
if (!this.state.d) return (
|
||||
<div />
|
||||
)
|
||||
|
||||
return (
|
||||
<div id={"iframe"} style={{width:"50%",top:"10%"}}>
|
||||
<div id="player" className={"player centered horizontally"}>
|
||||
<span className={"songinfo"}>
|
||||
{ this.state.d ? <React.Fragment><p>{this.state.d.TITLE}<br />{this.state.d.ARTIST}</p><p>{this.state.d.POSITION} \\ {this.state.d.DURATION}</p></React.Fragment> : <p>Uh oh! Something went wrong.</p>}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export class SocialMedia extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={"social"}>
|
||||
<a href={"https://twitter.com/zstreamss"} target={"_blank"} rel={"noreferrer"}>
|
||||
<i className="fa fa-twitter-square" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a href={"https://github.com/azpha"} target={"_blank"} rel={"noreferrer"}>
|
||||
<i className="fa fa-github-square" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a href={"https://linkedin.com/in/thatalex"} target={"_blank"} rel={"noreferrer"}>
|
||||
<i className="fa fa-linkedin-square" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a href={"mailto:hi@thatalex.dev"} target={"_blank"} rel={"noreferrer"}>
|
||||
<i className="fa fa-envelope" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
import React from 'react';
|
||||
import {IFrame, SocialMedia} from "./Components";
|
||||
|
||||
export class HomePage extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div id={"home"}>
|
||||
<div id={"profile"} className={"centered horizontally vertically"}>
|
||||
<img width={"100px"} src={"https://pbs.twimg.com/profile_images/1587882255740985346/5knCQsEd_400x400.jpg"} />
|
||||
<h1>Alex</h1>
|
||||
<p>QA @ <a href={"https://medal.tv"}>Medal.tv</a>, JS/Java Dev</p>
|
||||
<SocialMedia />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export class AboutPage extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div id={"about"} className={"centered horizontally vertically"} style={{
|
||||
paddingTop:"10px",
|
||||
padding:"10px",
|
||||
textAlign: "center"
|
||||
}}>
|
||||
<h1>Hi, I'm Alex!</h1>
|
||||
<p>I'm a JavaScript/Java/Python developer, currently working at Medal.tv as a Manual QA Tester!</p>
|
||||
<h2>What do I like to do?</h2>
|
||||
<p>Well, coding is one thing. I enjoy making random apps in any language, including this website!</p>
|
||||
<p>I'm exploring the realm of test automation & getting more familiar with best practices.</p>
|
||||
<p>I also enjoy listening to music a little too much. Like, it's bad.</p>
|
||||
<hr style={{width:"300px"}} />
|
||||
<h2>What am I listening to right now?</h2>
|
||||
<p style={{}}><i>Want to screw with my music? <a href={"https://pause.thatalex.dev"} rel={"noreferrer"} target={"_blank"}>Use my 'Pause!' website!</a></i></p>
|
||||
<IFrame />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export class NotFound extends React.Component {
|
||||
componentDidMount() {
|
||||
let keys = [];
|
||||
let count = 0;
|
||||
|
||||
document.addEventListener("keydown", (e) => {
|
||||
if (e.keyCode <= 90 && e.keyCode >= 48) {
|
||||
keys.push(e.key);
|
||||
}
|
||||
if (e.key.toLowerCase() === "backspace") {
|
||||
keys.pop();
|
||||
} else if (keys.join('') === "capybara") {
|
||||
if (count >= 5) {
|
||||
window.location.href = "/capy";
|
||||
} else {
|
||||
document.getElementById("lawd").style.display = "block";
|
||||
document.getElementById("anim").style.display = "block";
|
||||
|
||||
setTimeout(() => {
|
||||
document.getElementById("lawd").style.display = "none";
|
||||
document.getElementById("anim").style.display = "none";
|
||||
keys = [];
|
||||
count++;
|
||||
}, 3000)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div id={"error"} className={"centered horizontally vertically"} style={{bottom:"10%", lineHeight:"0.5"}}>
|
||||
<h1>Well, this is awkward..</h1>
|
||||
<p>You've landed on a page that just doesn't exist.</p>
|
||||
<p>You should, like, <a href={"#"} onClick={() => window.history.back()}>head back now..</a></p>
|
||||
|
||||
<span id={"lawd"} style={{ display: "none", color:"red" }}><p>oh lawd... oh lawd he comin!</p></span>
|
||||
<div id={"anim"} style={{ display: "none" }}>
|
||||
<img style={{ transform: "scaleX(-1)" }} alt={"capy"} src={"https://c.tenor.com/AMMqaJ99koYAAAAC/capybara-walk.gif"} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
import { io } from 'socket.io-client';
|
||||
export const socket = io("https://api.zephmakes.tech");
|
||||
@@ -0,0 +1,29 @@
|
||||
import React from 'react';
|
||||
import {NotFound} from './Pages';
|
||||
|
||||
export class Redirector extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
redirectTo: props.url,
|
||||
success: null
|
||||
}
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
if (this.state.redirectTo) {
|
||||
window.location.href = this.state.redirectTo;
|
||||
this.state.success = true;
|
||||
}
|
||||
else await this.setState({success:false});
|
||||
console.log(this.state)
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div id={"redirector"}>
|
||||
{!this.state.success ? <NotFound /> : null}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
+8
-128
@@ -1,132 +1,12 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import { Routes, Route, BrowserRouter } from 'react-router-dom';
|
||||
|
||||
// components/global styling
|
||||
import { App } from './App';
|
||||
import './main.css';
|
||||
|
||||
let possible_pages = [
|
||||
"www",
|
||||
"index.html",
|
||||
"index.php",
|
||||
"index.htm",
|
||||
"index.cgi",
|
||||
"index.shtml",
|
||||
"example",
|
||||
"index",
|
||||
"index.php5",
|
||||
"doubleudoubleudoubleu",
|
||||
"home",
|
||||
"welcome",
|
||||
"pog",
|
||||
"wow",
|
||||
"corgi"
|
||||
]
|
||||
|
||||
function Router() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path={"/"} element={<App />} />
|
||||
<Route path={"/success"} element={<Success />} />
|
||||
<Route path={window.location.pathname} element={<Message />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
)
|
||||
}
|
||||
|
||||
class App extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div id={"container"}>
|
||||
<a className={"link"} href={(window.location.href + possible_pages[Math.floor(Math.random()*possible_pages.length)])}>enter the website</a>
|
||||
<div className={"jumbotron centered"}>
|
||||
<span className={"content centered"}>
|
||||
<p>welcome to my website!</p>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class Message extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = JSON.parse(window.localStorage.getItem('state')) || {
|
||||
"message": null,
|
||||
"fetchCache": null
|
||||
}
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
if (window.location.pathname.split('/').length >= 100) return window.location.pathname = "/success";
|
||||
let possible_message;
|
||||
|
||||
if (this.state.fetchCache) {
|
||||
possible_message = this.state.fetchCache
|
||||
console.log('[cache] request was cached, accessing the cache')
|
||||
} else {
|
||||
possible_message = await fetch("https://api.zephmakes.tech/v1/tools/website-message").then(response => response.json());
|
||||
this.state.fetchCache = possible_message
|
||||
console.log('[cache] request wasnt cached, requesting')
|
||||
}
|
||||
|
||||
if (this.state.message) {
|
||||
// remove the previous message from the array & define a variable
|
||||
possible_message.phrases.splice(possible_message.phrases.indexOf(this.state.message), 1);
|
||||
let message = possible_message.phrases[Math.floor(Math.random() * possible_message.phrases.length)].phrase
|
||||
|
||||
// readd the variable
|
||||
possible_message.phrases.push(this.state.message)
|
||||
|
||||
// reset the message state
|
||||
await this.setState({ message });
|
||||
window.localStorage.setItem("state", JSON.stringify(this.state))
|
||||
} else {
|
||||
let message = possible_message.phrases[Math.floor(Math.random() * possible_message.phrases.length)].phrase
|
||||
await this.setState({ message });
|
||||
window.localStorage.setItem("state", JSON.stringify(this.state))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div id={"container"}>
|
||||
<a className={"link"} href={(window.location.href + "/" + possible_pages[Math.floor(Math.random()*possible_pages.length)])}>enter the website</a>
|
||||
<div className={"jumbotron centered"}>
|
||||
<span className={"content centered"}>
|
||||
<p>
|
||||
{this.state.message}
|
||||
<br />
|
||||
</p>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class Success extends React.Component {
|
||||
componentDidMount() {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div id={"container"}>
|
||||
<div className={"jumbotron centered"}>
|
||||
<span className={"content centered"}>
|
||||
<p>
|
||||
okay okay, you've fought hard.<br />click <a href={"https://youtu.be/dgha9S39Y6M?t=35"}>here</a> to enter.
|
||||
</p>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||
root.render(Router());
|
||||
|
||||
// react 18 compliance
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"))
|
||||
root.render(
|
||||
<App />
|
||||
)
|
||||
+128
-40
@@ -1,55 +1,143 @@
|
||||
body {
|
||||
body,html {
|
||||
background-color:black;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color:white;
|
||||
font-size:30px;
|
||||
text-decoration:none;
|
||||
text-underline:none;
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
-ms-overflow-style:none;
|
||||
scrollbar-width:none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color:gray;
|
||||
body::-webkit-scrollbar {
|
||||
display:none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color:gray;
|
||||
#anim {
|
||||
animation-duration: 5s;
|
||||
animation-name: goRight;
|
||||
animation-iteration-count: initial;
|
||||
left: -200px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.jumbotron {
|
||||
border-radius:50px;
|
||||
.nav-items ul {
|
||||
list-style-type:none;
|
||||
list-style-position:inside;
|
||||
}
|
||||
|
||||
.nav-items li {
|
||||
display:inline-block;
|
||||
padding:10px;
|
||||
font-size:25px;
|
||||
}
|
||||
|
||||
#nav {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.nav-links:hover {
|
||||
animation-name: hover;
|
||||
animation-duration:0.5s;
|
||||
animation-fill-mode:forwards;
|
||||
}
|
||||
|
||||
.player {
|
||||
background:black;
|
||||
width:fit-content;
|
||||
line-height:1;
|
||||
border-color:white;
|
||||
color:white;
|
||||
border-style:solid;
|
||||
|
||||
width:40vw;
|
||||
height:40vh;
|
||||
/*max-width:500vw;*/
|
||||
/*max-height:500vh;*/
|
||||
border-width:5px;
|
||||
text-align:center;
|
||||
padding:10px;
|
||||
border-radius:10px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-moz-transform: translateX(-50%) translateY(-50%);
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size:35px;
|
||||
}
|
||||
|
||||
.link {
|
||||
position: absolute;
|
||||
top: 24.5%;
|
||||
left: 50%;
|
||||
-moz-transform: translateX(-50%) translateY(-50%);
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
.songinfo {
|
||||
color:white;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.player img {
|
||||
padding:10px 0;
|
||||
}
|
||||
|
||||
a:visited,a {
|
||||
color:white;
|
||||
}
|
||||
|
||||
.centered {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
justify-content:center;
|
||||
align-items:center;
|
||||
position:absolute;
|
||||
z-index:-1;
|
||||
}
|
||||
|
||||
.horizontally {
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
left:0;
|
||||
right:0;
|
||||
}
|
||||
|
||||
.vertically {
|
||||
margin-top:0;
|
||||
margin-bottom:0;
|
||||
top:0;
|
||||
bottom:0;
|
||||
}
|
||||
|
||||
#profile {
|
||||
bottom:5%;
|
||||
font-size:20px;
|
||||
line-height:0;
|
||||
}
|
||||
|
||||
.social {
|
||||
padding:10px;
|
||||
font-size:30px;
|
||||
}
|
||||
|
||||
.social a {
|
||||
padding:10px 8px;
|
||||
}
|
||||
|
||||
#footer {
|
||||
text-align:center;
|
||||
color:white;
|
||||
background-color:#121212;
|
||||
padding:20px;
|
||||
position:fixed;
|
||||
bottom:0;
|
||||
left:0;
|
||||
right:0;
|
||||
line-height:0.1;
|
||||
}
|
||||
|
||||
#about {
|
||||
line-height:0;
|
||||
bottom:30%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:705px) {
|
||||
#about {
|
||||
line-height:1;
|
||||
bottom:20%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hover {
|
||||
from { opacity:1; }
|
||||
to { opacity:0.5; }
|
||||
}
|
||||
|
||||
@keyframes goRight {
|
||||
from {
|
||||
transform: translate(-250px,0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate(150vw,0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user