-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (87 loc) · 4.65 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- FONTAWESOME -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
<!-- ANIMATE -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
<!-- BULMA -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<!-- STYLE PROPIO -->
<link rel="stylesheet" href="style.css">
<!-- JS PROPIO -->
<script defer src="javascript.js"></script>
<title>Color by Frukost</title>
</head>
<body>
<h1 class="title is-1 has-text-centered my-5">Color Palette</h1>
<main>
<div class="container is-widescreen">
<div class="columns d-flex justify-content-around">
<div class="column is-one-fifth color">
<div id="color1" class="rectangulo">
<p class="subtitle is-5" id="textoColor1">COLOR 1</p>
<!-- <i class="fas fa-lock candado"></i> -->
</div>
<div class=" is-flex is-justify-content-center px-2 pt-4">
<button type="button" onclick="darColor(R1,T1);" class="button is-small is-info is-light is-outlined refresh ocultaBoton">
Refresh <i class="fas fa-redo"></i>
</button>
</div>
</div>
<div class="column is-one-fifth color">
<div id="color2" class="rectangulo">
<p class="subtitle is-5" id="textoColor2">COLOR 2</p>
</div>
<div class=" is-flex is-justify-content-center px-2 pt-4">
<button type="button" onclick="darColor(R2,T2);" class="button is-small is-info is-light is-outlined refresh ocultaBoton">
Refresh <i class="fas fa-redo"></i>
</button>
</div>
</div>
<div class="column is-one-fifth color">
<div id="color3" class="rectangulo">
<p class="subtitle is-5" id="textoColor3">COLOR 3</p>
</div>
<div class=" is-flex is-justify-content-center px-2 pt-4">
<button type="button" onclick="darColor(R3,T3);" class="button is-small is-info is-light is-outlined refresh ocultaBoton">
Refresh <i class="fas fa-redo"></i>
</button>
</div>
</div>
<div class="column is-one-fifth color">
<div id="color4" class="rectangulo">
<p class="subtitle is-5" id="textoColor4">COLOR 4</p>
</div>
<div class=" is-flex is-justify-content-center px-2 pt-4">
<button type="button" onclick="darColor(R4,T4);" class="button is-small is-info is-light is-outlined refresh ocultaBoton">
Refresh <i class="fas fa-redo"></i>
</button>
</div>
</div>
<div class="column is-one-fifth color">
<div id="color5" class="rectangulo">
<p class="subtitle is-5" id="textoColor5">COLOR 5</p>
</div>
<div class=" is-flex is-justify-content-center px-2 pt-4">
<button type="button" onclick="darColor(R5,T5);" class="button is-small is-info is-light is-outlined refresh ocultaBoton">
Refresh <i class="fas fa-redo"></i>
</button>
</div>
</div>
</div>
</div>
<div class="botonera mt-5">
<button onclick="darColorTodos()" class="button is-primary">
GENERATE RANDOM PALETTE
</button>
</div>
</main>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
</html>