some advancements
This commit is contained in:
parent
4960271bf0
commit
6fdb19d97f
113
css/main.css
Normal file
113
css/main.css
Normal file
@ -0,0 +1,113 @@
|
||||
@font-face {
|
||||
font-family: JetBrains_Mono;
|
||||
src: url(../Fonts/JetBrainsMono-Regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
h1{
|
||||
margin: auto;
|
||||
padding: auto;
|
||||
}
|
||||
body{
|
||||
background-color: black;
|
||||
color: #aaa6a6;
|
||||
font-family: JetBrains_Mono;
|
||||
}
|
||||
hr {
|
||||
width: 100%;
|
||||
background: linear-gradient(to right, #25aae1, #16b468);
|
||||
border-width: 1em;
|
||||
padding: 0.05em;
|
||||
}
|
||||
footer{
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dessous_titre{
|
||||
width: 30%;
|
||||
margin: auto;
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
.link{
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.link:hover{
|
||||
text-decoration: underline;
|
||||
color: inherit;
|
||||
}
|
||||
.header{
|
||||
padding: auto;
|
||||
}
|
||||
.logo{
|
||||
width: 5em;
|
||||
height: 5em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
.GradientBorder{
|
||||
border: 5px solid;
|
||||
border-image: linear-gradient(to bottom, #25aae1, #16b468) 1 100%;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
padding: 1rem;
|
||||
}
|
||||
.GradientText{
|
||||
background-image: linear-gradient(to left, #25aae1, #16b468, #25aae1);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
.menu{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: larger;
|
||||
position: relative;
|
||||
}
|
||||
.menu > ul{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.menu li{
|
||||
display: inline;
|
||||
}
|
||||
.menu li button{
|
||||
display: inline-block;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-hover {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
text-align:center;
|
||||
border: none;
|
||||
background-size: 300% 100%;
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
|
||||
border-radius: 50px;
|
||||
moz-transition: all .4s ease-in-out;
|
||||
-o-transition: all .4s ease-in-out;
|
||||
-webkit-transition: all .4s ease-in-out;
|
||||
transition: all .4s ease-in-out;
|
||||
}
|
||||
|
||||
.btn-hover:hover {
|
||||
background-position: 100% 0;
|
||||
moz-transition: all .4s ease-in-out;
|
||||
-o-transition: all .4s ease-in-out;
|
||||
-webkit-transition: all .4s ease-in-out;
|
||||
transition: all .4s ease-in-out;
|
||||
}
|
||||
|
||||
.btn-hover:focus {
|
||||
outline: none;
|
||||
}
|
||||
.btn-hover.color-1 {
|
||||
background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #16b468);
|
||||
}
|
||||
32
index.html
32
index.html
@ -1,20 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Window Manager Configurinator</title>
|
||||
<link href="lib/bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="lib/FontAwesome/css/all.css" rel="stylesheet">
|
||||
<link href="css/main.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row" id="header"></div>
|
||||
<div class="row GradientBorder">
|
||||
|
||||
</div>
|
||||
<div class="row" id="footer"></div>
|
||||
</body>
|
||||
<head>
|
||||
<title>Window Manager Configurinator</title>
|
||||
<link href="lib/bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="lib/FontAwesome/css/all.css" rel="stylesheet">
|
||||
<link href="css/main.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row" id="header"></div>
|
||||
<div class="row GradientBorder">
|
||||
<h1>Test bitches</h1>
|
||||
<p>That's right</p>
|
||||
</div>
|
||||
<div class="row" id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script src="lib/jquery/jquery.js" type="text/javascript"></script>
|
||||
<script src="lib/bootstrap/js/boostrap.js" type=text/javascript"></script>
|
||||
|
||||
4
javascript/main.js
Normal file
4
javascript/main.js
Normal file
@ -0,0 +1,4 @@
|
||||
$(document).ready(function(){
|
||||
$("#header").load("../pages/shared/header.html");
|
||||
$("#footer").load("../pages/shared/footer.html");
|
||||
});
|
||||
@ -0,0 +1,3 @@
|
||||
<footer id="footer">
|
||||
<hr/>
|
||||
</footer>
|
||||
@ -0,0 +1,16 @@
|
||||
<header>
|
||||
<div class="row GradientText header">
|
||||
<div class="col">
|
||||
<a href="../index.html"><h1 class="link logo">WM Configurinator</h1></a>
|
||||
</div>
|
||||
<div class="col menu">
|
||||
<ul>
|
||||
<li><a href="../../pages/i3.html" class="GradientText"><button class="btn-hover color-1">i3</button></a></li>
|
||||
<li><a href="../../pages/hyprland.html" class="GradientText"><button class="btn-hover color-1">hyprland</button></a></li>
|
||||
<li><a href="../../pages/dwm.html" class="GradientText"><button class="btn-hover color-1">dwm</button></a></li>
|
||||
<li><a href="../../pages/bspwm.html" class="GradientText"><button class="btn-hover color-1">bspwm</button></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
</header>
|
||||
Loading…
x
Reference in New Issue
Block a user