forked from ChristianJadot/KingLeo-micro-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleIndex.css
More file actions
184 lines (165 loc) · 3.92 KB
/
styleIndex.css
File metadata and controls
184 lines (165 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
@font-face
{
font-family: "norwester";
src: url("fonts/norwester.otf");
}
body {
margin: 0;
padding: 0;
background: linear-gradient(0.3turn, #1c0f57, #440f84);
min-height: 100vh;
font-family: "Roboto", sans-serif;
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 1fr;
}
header {
padding-top: 20px;
padding-left: 50px;
}
header .logo {
max-width: 200px;
}
main.grid-container {
background-image: url(images/bg-interface-KingLeo-chatbot.png);
background-position: center;
background-repeat: no-repeat;
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr;
gap: 0px;
grid-template-areas: "fr1 fr2";
}
#fr1 {
grid-area: fr1;
justify-self: center;
padding: 0 20px;
}
#fr2 {
grid-area: fr2;
position:relative;
justify-self: center;
/* height: 0; */
/* padding-top: 25px; */
}
.grid-container aside {
max-width: 350px;
margin: 0 auto;
margin-top: 150px;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto auto auto;
}
.grid-container aside h1,
.grid-container aside p {
color: white;
}
.grid-container aside h1{
font-family:"norwester", serif ;
text-align: center;
font-size: 1.5em;
}
.grid-container aside p {
text-align: justify;
}
button {
padding: 5px 15px;
margin: 3px 4px;
display: inline-block;
color: #ffffff;
font-size: 1rem;
cursor: pointer;
background: #653089;
background: linear-gradient(top, #653089 0%, #4c1770 100%);
background: -moz-linear-gradient(top, #653089 0%, #4c1770 100%);
background: -webkit-linear-gradient(top, #653089 0%, #4c1770 100%);
background: -o-linear-gradient(top, #653089 0%, #4c1770 100%);
border: 1px solid #EF33F5;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-o-border-radius: 15px;
box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25), inset 1px 1px 0px 0px rgba(255, 255, 255, 0.25);
-moz-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25), inset 1px 1px 0px 0px rgba(255, 255, 255, 0.25);
-webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25), inset 1px 1px 0px 0px rgba(255, 255, 255, 0.25);
-o-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25), inset 1px 1px 0px 0px rgba(255, 255, 255, 0.25);
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.50);
}
button:hover {
background: linear-gradient(top, #7f4aa3 0%, #653089 100%);
background: -moz-linear-gradient(top, #7f4aa3 0%, #653089 100%);
background: -webkit-linear-gradient(top, #7f4aa3 0%, #653089 100%);
background: -o-linear-gradient(top, #7f4aa3 0%, #653089 100%);
}
button:active {
opacity: 0.8;
}
/** Pas utilisé pour cause d'accessibilité **/
/*button:focus {
outline: none;
}*/
iframe {
display: none;
border: none;
/* OLD STUFF */
justify-self: center;
min-width: 350px;
height: 100%;
overflow: visible;
width: fit-content;
/* NEW STUFF */
/* position: absolute;
/* top: 0; */
/* left: 0; */
/* width: 100%;
height: 100%; */
}
footer
{
margin-top: 20px;
text-align: center;
background-color: #ffffff;
border-radius: 20px 20px 0 0;
padding:20px;
color:white;
font-size: 0.8rem;
background: linear-gradient(#a594f5, #d8bbf6);
border-top: 1px solid white;
}
footer span
{
font-weight: bold;
color:rebeccapurple;
font-size: 0.9rem;
}
footer a
{
color: rebeccapurple;
text-decoration: none;
line-height: 1.2rem;
}
footer a:hover
{
color: white;
text-decoration: underline;
}
@media screen and (max-width: 720px) {
main.grid-container section#fr1 {
display: none;
}
main.grid-container
{
grid-template-columns: 1fr;
grid-template-rows: 1fr;
gap: 0px;
grid-template-areas: "fr2";
}
iframe
{
display: block;
}
header img
{
display: none;
}
}