-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path08.text_formatting.css
157 lines (122 loc) · 2.16 KB
/
08.text_formatting.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
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
/* Formato de texto */
body {
background-color: beige;
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
.right {
direction: rtl;
unicode-bidi: embed;
}
.bdo {
direction: rtl;
unicode-bidi: bidi-override;
}
img.a {
vertical-align: baseline;
}
img.b {
vertical-align: text-top;
}
img.c {
vertical-align: text-bottom;
}
img.d {
vertical-align: sub;
}
img.e {
vertical-align: super;
}
.overline {
padding-top: 20px;
border-top: 3px dashed blue;
/* overline */
text-decoration: overline;
text-decoration-color: blue;
text-decoration-style: wavy;
text-decoration-line: overline;
text-decoration-thickness: 5px;
}
.line-through {
text-decoration: line-through;
text-decoration-style: wavy;
text-decoration-color: blue;
}
.underline {
text-decoration: underline;
text-decoration-color: blue;
/* text-decoration-style: wavy; */
text-underline-offset: 10px;
margin-bottom: 30px;
text-decoration-skip-ink: auto;
}
.underline-2 {
text-decoration: underline;
text-decoration-color: blue;
text-decoration-skip-ink: auto;
}
p.ex {
text-decoration: overline underline;
text-underline-offset: 3px;
border-top: 2px solid blue;
padding-top: 10px;
text-decoration-color: blue;
/* Ajustamos el ancho del elemento para que se ajuste el borde al contenido: */
width: fit-content;
}
p.uppercase {
text-transform: uppercase;
}
p.lowercase {
text-transform: lowercase;
}
p.capitalize {
text-transform: capitalize;
}
.indent {
text-indent: 20px;
}
.letter-spacing {
letter-spacing: 5px;
text-transform: uppercase;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
p.small {
line-height: 0.9;
}
p.big {
line-height: 2;
}
p.one {
word-spacing: 20px;
}
p.two {
word-spacing: -2px;
}
.nowrap {
white-space: nowrap;
}
.shadow-1 {
text-shadow: 1px 1px;
}
.shadow-2 {
text-shadow: 2px 2px red;
}
.shadow-3 {
text-shadow: 2px 2px 2px red;
}
.shadow-4 {
color: tomato;
text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}
/* Más info: https://www.codesdope.com/blog/article/25-creative-css3-text-shadow-effects-you-cant-miss/ */