-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (119 loc) · 2.51 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
118
119
120
121
122
123
124
125
126
127
:root{
--colorFondo: #f2f2f2;
--colorFondo2: #1f1e1e;
--colorButton: #4f4f4f;
--colorButtonI: #8590b4;
--colorButtonI2: #4050a8;
}
body{
background-color: var(--colorFondo);
font-family: Roboto;
transition: background-color 0.4s;
}
.contenedor{
margin-top: 50px;
}
.contenedor, .contenedor-principal{
display: flex;
justify-content: center;
}
.contenedor-principal{
flex-direction: column;
width: 300px;
gap: 10px;
h1{
margin-bottom: 5px;
text-align: center;
font-size: 36px;
}
textarea{
border-radius: 16px;
padding: 16px;
border: 2px solid var(--colorButton);
font-family: Roboto;
resize: none;
font-size: 18px;
}
textarea::placeholder{
color: var(--colorButton);
}
button{
background-color: var(--colorButton);
color: white;
padding: 5px;
border-radius: 16px;
font-size: 14px;
letter-spacing: 2px;
border: none;
box-shadow: 4px 6px 3px 0px rgba(14, 14, 14, 0.945);
cursor: pointer;
font-family: Roboto;
margin-bottom: 10px;
}
button:active{
transform: scale(0.9);
transition: all 0.1s;
}
}
/* nuevas tarjetas */
.tarjetas, .tarjeta{
display: flex;
flex-direction: column;
gap: 10px;
}
.tarjeta{
border: 2px solid var(--colorButton);
border-radius: 16px;
padding: 8px;
background-color: white;
h3{
line-break: anywhere;
font-weight: 500;
}
button{
align-self: flex-end;
margin-bottom: 2px;
box-shadow: none;
padding: 8px;
background-color: var(--colorButtonI);
}
}
/* toggles */
.toggle-contenedor{
position: fixed;
top: 20px;
right: 50px;
.toggle{
border: 2px solid var(--colorButton);
border-radius: 15px;
overflow: hidden;
font-size: 0;
background-color: var(--colorButtonI);
}
i{
font-size: 16px;
padding: 6px;
cursor: pointer;
}
.oscuro{
background-color: var(--colorFondo);
transition: background-color 0.2s;
}
}
.fondo-oscuro{
background-color: var(--colorFondo2);
h1, i{
color: white;
}
.toggle{
background-color: var(--colorFondo2);
.oscuro{
background-color: var(--colorButtonI2);
}
}
.tarjeta {
button{
background-color: var(--colorButtonI2);
}
}
}