-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
117 lines (106 loc) · 1.73 KB
/
style.css
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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
* {
margin: 0;
}
body {
font-family: "Open Sans", sans-serif;
color: white;
background-color: #2C2F33;
}
body a {
color: white;
text-decoration: none;
}
nav {
display: flex;
background-color: #202225;
padding: 10px;
}
.nav-branding {
flex: 1 1 auto;
font-size: 25px;
color: #7289da;
font-weight: 600;
padding-top: 5px;
}
.nav-branding i {
font-weight: 100;
}
.nav-branding:hover {
cursor: pointer;
color: white;
transition: 0.3s;
}
.nav-item {
flex: 0 1 auto;
}
.nav-item ul {
list-style-type: none;
display: flex;
}
.nav-item ul li {
padding: 10px;
cursor: pointer;
font-weight: 700;
}
.nav-item ul li:hover {
color: #7289da;
transition: 0.3s;
}
.container {
max-width: 80%;
margin: 0 auto;
}
.body-home {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 20px;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
background-color: #202225;
padding: 20px;
flex-basis: 33.33%;
border-radius: 10px;
text-align: center;
margin-top: 10px;
margin-left: 5px;
}
.card:nth-child(3) {
/* La tercera tarjeta */
margin-top: 10px;
margin-left: 5px;
padding: 20px;
border-radius: 10px;
text-align: center;
}
.card .btn {
background-color: #7289da;
border-radius: 3px;
width: 50%;
margin-top: 20px;
}
.card .btn:hover {
background-color: #36393f;
transition: 0.2s;
}
@media screen and (max-width: 600px) {
/* Vista para moviles */
.container {
max-width: 100%;
}
.card {
min-width: 70%;
margin-top: 10px;
margin-right: 0 !important;
}
.nav-branding {
font-size: 20px;
}
.pie {
color: aqua;
}
}