Browse Source

Harmonisation et ajout logo

Baptiste Marty 3 years ago
parent
commit
dd6a26c34b
5 changed files with 70 additions and 21 deletions
  1. 22
    11
      CSS/etrange_decouverte.css
  2. 41
    9
      CSS/menu.css
  3. 3
    1
      HTML/etrange_decouverte.html
  4. 4
    0
      HTML/menu.html
  5. BIN
      Images/Logo.png

+ 22
- 11
CSS/etrange_decouverte.css View File

@@ -3,6 +3,8 @@ body {
3 3
     flex-direction: column;
4 4
     justify-content: space-between;
5 5
     align-items: center;
6
+    color:white;
7
+    font-family: 'Special Elite', cursive;
6 8
     background-color: black;
7 9
     height: 95vh;
8 10
 }
@@ -55,20 +57,21 @@ body {
55 57
 
56 58
             .button {
57 59
                 outline: none;
58
-                border: 3px solid white;
59
-                border-radius: 50px;
60
-                height: 8vh;
60
+                border:0.2vw solid #b9b9b9;
61
+                border-radius: 4vw;
61 62
                 min-width: 15vw;
62
-                padding: 0px 10px 0px 10px;
63
+                width :20vw;
64
+                padding: 1vw 1.2vw 1vw 1.2vw;
63 65
                 color: black;
64 66
                 font-family: 'Special Elite', cursive;
65
-                font-size: 1.2vw;
67
+                font-size: 1.5vw;
66 68
                 background-image: linear-gradient(to top, black -50%, #BF0909 80%);
67 69
                 cursor : pointer;
68 70
             }
69 71
 
70 72
             .button:hover {
71
-                box-shadow: 0 0 50px  #B0C4DE;
73
+                border: 0.2vw solid white;
74
+                box-shadow: 0 0 3vw  #B0C4DE;
72 75
             }
73 76
 
74 77
             .button:active {
@@ -94,8 +97,16 @@ body {
94 97
                 }
95 98
             }
96 99
 
97
-    footer {
98
-        color: green;
99
-        display: flex;
100
-        flex : 1;
101
-    }
100
+            footer{
101
+                flex:0.5;
102
+                display:flex;
103
+                flex-direction: column;
104
+                justify-content:flex-end;
105
+                align-items: center;
106
+                font-size:1vw;
107
+                margin-top:2vw;
108
+            }
109
+            
110
+                #names{
111
+                    margin : 0;
112
+                }

+ 41
- 9
CSS/menu.css View File

@@ -4,13 +4,12 @@ body{
4 4
     color:white;
5 5
     display:flex;
6 6
     flex-direction:column;
7
-    justify-content:center;
8
-    align-items: center;
9 7
     font-family:'Special Elite',cursive;
10 8
 }
11 9
 
12 10
 header{
13 11
     flex:1;
12
+    padding-top:2vw;
14 13
     display:flex;
15 14
     justify-content:center;
16 15
     align-items: center;
@@ -18,7 +17,7 @@ header{
18 17
 }
19 18
 
20 19
 #headerTxt{
21
-    
20
+    margin:0;
22 21
     font-size:4.5vw;
23 22
     font-weight: bold;
24 23
     color:#a30909;
@@ -47,6 +46,13 @@ main{
47 46
     align-items: center;
48 47
 }
49 48
 
49
+main section {
50
+    display:flex;
51
+    flex-direction: column;
52
+    justify-content:center;
53
+    align-items: center;
54
+}
55
+
50 56
     main section article {
51 57
         display:flex;
52 58
         flex-direction: column;
@@ -54,6 +60,31 @@ main{
54 60
         align-items: center;
55 61
     }
56 62
 
63
+    #logoBlock{
64
+        margin-bottom:5vh;
65
+        height:20vh;
66
+        width:50vw; 
67
+        display:block;
68
+        opacity:0;
69
+        animation:fade-text 1s forwards;
70
+        animation-delay:6s;
71
+    }
72
+
73
+        #logo{
74
+            width:3vw;
75
+            height:auto;
76
+            animation-name: search;
77
+            animation-duration:5s;
78
+            animation-iteration-count:infinite;
79
+            position:relative;
80
+        }
81
+
82
+        @keyframes search{
83
+            0% {transform:translate3D(10vw,5vh,0)}
84
+            50% {transform:translate3D(40vw,15vh,0)}
85
+            100% {transform:translate3D(10vw,5vh,0)}
86
+        }
87
+
57 88
     main section article span{
58 89
         width:16vw;
59 90
         display:flex;
@@ -85,24 +116,25 @@ main{
85 116
 
86 117
         #introTxt{
87 118
             opacity:0;
88
-            font-size:2vw;
119
+            font-size:1.8vw;
89 120
             animation:fade-text 1s forwards;
90 121
             animation-delay:3.5s;
91 122
         }
92 123
 
93 124
         #pseudoTxt{
94 125
             opacity:0;
95
-            font-size:2vw;
126
+            font-size:1.8vw;
96 127
             animation:fade-text 1s forwards;
97 128
             animation-delay:5s;
129
+            margin-bottom:1vw;
98 130
         }
99 131
 
100 132
         #pseudoInput{
101 133
             opacity:0;
102 134
             font-family:'Special Elite',cursive;
103
-            font-size:1.8vw;
135
+            font-size:1.5vw;
104 136
             border-radius:1vw;
105
-            padding:0.3vw 1vw 0vw 0.5vw;
137
+            padding:0.5vw 0.7vw 0.3vw 0.7vw;
106 138
             animation:fade-text 1s forwards;
107 139
             animation-delay:5s;
108 140
             
@@ -111,9 +143,9 @@ main{
111 143
         #pseudoInput:focus{
112 144
             outline:none;
113 145
             font-family:'Special Elite',cursive;
114
-            font-size:1.8vw;
146
+            font-size:1.5vw;
115 147
             border-radius:1vw;
116
-            padding:0.3vw 1vw 0vw 0.5vw;
148
+            padding:0.5vw 0.7vw 0.3vw 0.7vw;
117 149
         }
118 150
 
119 151
         #buttonBlock{

+ 3
- 1
HTML/etrange_decouverte.html View File

@@ -4,6 +4,7 @@
4 4
     <meta charset="UTF-8">
5 5
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 6
     <title>INSAïde</title>
7
+    <link rel="shortcut icon" href="../Images/Logo.png" type="image/png">
7 8
     <link rel="stylesheet" href="../CSS/etrange_decouverte.css">
8 9
     <link rel="preconnect" href="https://fonts.gstatic.com">
9 10
     <link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet"> 
@@ -29,7 +30,8 @@
29 30
         </section>
30 31
     </main>
31 32
     <footer>
32
-
33
+        <p id="names">Copyright © 2020 Florian EHR - Pierre FAVARY - Baptiste MARTY</p>
34
+        <p id="rights">Tous droits réservés </p>
33 35
     </footer>
34 36
 </body>
35 37
 </html>

+ 4
- 0
HTML/menu.html View File

@@ -4,6 +4,7 @@
4 4
     <meta charset="UTF-8">
5 5
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 6
     <title>INSAïde</title>
7
+    <link rel="shortcut icon" href="../Images/Logo.png" type="image/png">
7 8
     <link rel="stylesheet" href="../CSS/menu.css">
8 9
     <link rel="preconnect" href="https://fonts.gstatic.com">
9 10
     <link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
@@ -15,6 +16,9 @@
15 16
     </header>
16 17
     <main>
17 18
         <section>
19
+            <article id="logoBlock">
20
+                <img id="logo" src="../Images/Logo.png" alt="Logo"/>
21
+            </article>
18 22
             <article>
19 23
                 <span>
20 24
                     <span id="B">B</span>

BIN
Images/Logo.png View File


Loading…
Cancel
Save