Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the website layout and refactoring some things #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 25 additions & 13 deletions Templates/DarkMode/index.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
<!DOCTYPE html>

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Homer Simpson</title>
<!-- Type your name here -->
<title>Your name</title>

<link rel="stylesheet" href="style.css">
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>

<body>
<img id="userPhoto" src="https://i.imgur.com/t8ZX9um.jpg" alt="User Photo">
<!-- Put your photo here in src -->
<img id="userPhoto" src="https://placehold.co/110x110" alt="User Photo">

<!-- Type your username here -->
<a href="https://www.instagram.com/thesimpsons" id="userName">@user</a>

<a href="https://www.instagram.com/thesimpsons" id="userName">@thesimpsons</a>
<div id="links">
<a class="link" href="https://pt.wikipedia.org/wiki/Homer_Simpson" target="_blank">Wikipedia</a>
<a class="link" href="https://foxplay.com/br/forme" target="_blank">IMDB</a>
</div>
<!-- Put your name -->
<h1>Hello, I am _____!</h1>

<!-- Javascript -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<script src="index.js"></script>
<p>Contact me through the links below: </p>

<!-- Put the desired link in href -->
<div class="links">
<a class="link" href="https://www.example.com" target="_blank">Personal website</a>

<!-- Put the phone number instead of the XXXX
Format: +XX (XX) XXXXX-XXXX -->
<a class="link" href="https://wa.me/XXXXXXXXXXXXX" target="_blank">WhatsApp</a>

<a class="link" href="https://www.example.com" target="_blank">Facebook</a>
<a class="link" href="https://www.example.com" target="_blank">Instagram</a>
<a class="link" href="https://www.example.com" target="_blank">Twitter</a>
</div>
</body>
</html>
53 changes: 34 additions & 19 deletions Templates/DarkMode/style.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,71 @@
/* Style Settings */
@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
:root {
--bgColor:#1C1C1C;
--accentColor: #E6E6E6;
--black:#0F0E0E;
--white: #F0F1F1;
--font: 'Karla', sans-serif;
}

* {
box-sizing: border-box;
padding: 0;
margin: 0;
}

body{
background-color: var(--bgColor);
background: linear-gradient(to bottom, #0F0E0E, #1b1a1a);
background-repeat: no-repeat;
background-size: cover;
text-align: center;
color: var(--white);
font-size: 1rem;
font-family: var(--font);
height: calc(100vh - 35px);
}

h1 {
font-size: 2rem;
margin-top: 16px;
margin-bottom: 8px;
}

#userPhoto{
width: 110px;
height: 110px;
display: block;
margin: 35px auto 20px;
margin: 35px auto 8px;
border-radius: 50%;
}

#userName{
color: #bbb;
font-size: 1rem;
color: #ccc;
font-weight: 600;
line-height: 1.25;
display: block;
font-family: var(--font);
width: 100%;
text-align: center;
text-decoration: none;
}

#links{
max-width: 675px;
.links{
max-width: 400px;
width: auto;
display: block;
margin: 27px auto;
}

.link{
display: block;
background-color: var(--accentColor);
color: var(--bgColor);
font-family: var(--font);
text-align: center;
margin-bottom: 20px;
background-color: var(--white);
color: var(--black);
margin-bottom: 12px;
padding: 17px;
text-decoration: none;
font-size: 1rem;
transition: all .25s cubic-bezier(.08,.59,.29,.99);
border: solid var(--accentColor) 2px;
border: solid var(--white) 2px;
font-weight: bold;
}

.link:hover{
background-color: var(--bgColor);
color: var(--accentColor);
background-color: transparent;
color: var(--white);
}