This repository was archived by the owner on Jul 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (129 loc) · 2.62 KB
/
style.css
File metadata and controls
133 lines (129 loc) · 2.62 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
/*-------------Inicio de la GRID-------------------*/
body {
background: #181818;
color: white;
}
.container {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, auto);
grid-template-areas:
"header header header"
"body body sidebar"
"footer footer footer";
border: 10px solid #1b1b1b;
border-radius: 15px;
}
.header {
grid-column-start: header;
grid-column-end: header;
}
.header p {
font-size: 1.271rem;
}
.body {
grid-column-start: body;
grid-column-end: body;
height: 700px;
}
.body_grid {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, 1fr);
}
.sidebar {
background: url("./Source/Images/discord.jpg");
background-repeat: no-repeat;
background-position: 50%;
grid-column-start: sidebar;
grid-column-end: sidebar;
border-radius: 15px;
font-size: 50px;
display: flex;
justify-content: center;
align-items: flex-start;
}
.footer {
grid-column-start: footer;
grid-column-end: footer;
}
/*--------------Final de la GRID-----------------------*/
/*
* Todos los estilos apartir de aqui estan siendo creados en cascada.
*/
.banner {
max-width: 235px;
}
.header h1 {
text-align: center;
}
.header p {
text-align: center;
}
.image_cursos {
height: 150px;
width: 140px;
}
.image_cursos_dos {
height: 150px;
width: 110px;
}
.grid_item {
background: #131313;
box-shadow: 2px 2px 18px rgba(105, 94, 94, 0.25);
border-radius: 13px;
display: flex;
align-items: end;
justify-content: space-between;
}
.grid_item:hover {
background: #302f2f;
box-shadow: 2px 2px 18px;
}
.grid_item a {
font-size: 20px;
text-decoration: none;
color: rgb(255, 255, 255);
text-shadow: 1.1px 0.1px rgb(255 255 255);
}
.grid_item a:hover {
text-shadow: 2px 2px 2px black;
}
/*---------------------Inicio del RESPONSIVE-------------------*/
/*
* El responsive esta adaptado solamente a 2 resoluciones, para agregar mas, usar: grid-template-areas sobre el .container
* para evitar problemas de compatibilidad.
*/
@media screen and (max-width: 1000px) {
.container {
grid-template-areas:
"header header header"
"body body body"
"sidebar sidebar sidebar"
"footer footer footer";
grid-auto-flow: dense;
}
.body_grid {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(12, 1fr);
}
}
@media screen and (max-width: 500px) {
.container {
grid-template-areas:
"header header header"
"body body body"
"sidebar sidebar sidebar"
"footer footer footer";
grid-auto-flow: dense;
}
.body_grid {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(1, auto);
grid-template-rows: repeat(12, 1fr);
}
}