Ajout du header, footer et fonts
This commit is contained in:
parent
6b40d62e49
commit
b245daed64
17
CSS/Main.css
17
CSS/Main.css
@ -0,0 +1,17 @@
|
||||
@font-face {
|
||||
font-family: JetBrains_Mono;
|
||||
src: url(../Fonts/JetBrainsMono-Regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
body{
|
||||
background-color: black;
|
||||
color: #aaa6a6;
|
||||
font-family: JetBrains_Mono;
|
||||
}
|
||||
|
||||
header{
|
||||
background-image: linear-gradient(to right, #2c3e50, #4CAF50);
|
||||
}
|
||||
footer{
|
||||
background-image: linear-gradient(to left, #2c3e50, #4CAF50);
|
||||
}
|
||||
BIN
Fonts/JetBrainsMono-Regular.woff2
Normal file
BIN
Fonts/JetBrainsMono-Regular.woff2
Normal file
Binary file not shown.
0
Views/footer.html
Normal file
0
Views/footer.html
Normal file
0
Views/header.html
Normal file
0
Views/header.html
Normal file
19
index.html
19
index.html
@ -13,8 +13,25 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<header></header>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
<div class="row">
|
||||
<footer></footer>
|
||||
</div>
|
||||
</div>
|
||||
<!--Scripts pour le header et le footer-->
|
||||
<script>
|
||||
$.get('../Content/Footer.html', function (data){}); {
|
||||
$('footer').replaceWith(data);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$.get('../Content/Header.html', function (data){}); {
|
||||
$('Header').replaceWith(data);
|
||||
}
|
||||
</script>
|
||||
<!--Scripts à inclure-->
|
||||
<script src="Javascricp/Main.js"></script>
|
||||
<script src="lib/jquery/jquery.js" type="text/javascript"></script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user