-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (72 loc) · 2.44 KB
/
style.css
File metadata and controls
87 lines (72 loc) · 2.44 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
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
:root {
--bg-color: #282828;
--nav-bg: #9D86CD;
--card-bg: #8c98e3;
--accent: #98BFFF;
--secondary: #909ce8;
--text-white: #ffffff;
--text-dark: #282828;
}
* {
margin: 0; padding: 0; box-sizing: border-box;
font-family: 'Alfa Slab One', cursive;
}
body {
background-color: var(--bg-color);
color: var(--text-white);
line-height: 1.6;
}
/* NAVBAR */
.navbar {
background-color: var(--nav-bg);
padding: 1rem 5%;
display: flex; justify-content: space-between; align-items: center;
position: sticky; top: 0; z-index: 1000;
}
.navbar .logo { color: var(--text-dark); font-size: 1.5rem; }
.navbar .logo span { color: var(--text-white); }
.navbar ul { display: flex; list-style: none; gap: 20px; align-items: center; }
.navbar ul li a { text-decoration: none; color: var(--text-dark); font-size: 0.9rem; }
.btn-comunidade {
background-color: var(--accent);
padding: 8px 15px; border-radius: 8px;
}
/* HERO & CONTAINER */
.hero { text-align: center; padding: 60px 20px; background: linear-gradient(180deg, var(--nav-bg), transparent); }
.hero h1 { font-size: 2.5rem; color: var(--text-dark); }
.hero h1 span { color: var(--text-white); }
.container { max-width: 1000px; margin: 0 auto; padding: 20px; }
/* CARDS */
.card {
background-color: var(--card-bg);
color: var(--text-dark);
padding: 30px; border-radius: 20px;
border: 5px solid var(--accent);
margin-bottom: 25px;
}
/* BOTÕES DE AULA */
.grid-aulas {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px; margin-top: 20px;
}
.btn-lesson {
background-color: var(--bg-color);
color: var(--accent);
border: none; padding: 15px;
border-radius: 12px; cursor: pointer;
font-family: 'Alfa Slab One', cursive;
font-size: 0.8rem; transition: 0.3s;
}
.btn-lesson:hover { transform: scale(1.05); background-color: var(--text-dark); }
/* EDITOR */
#codigo-editor {
width: 100%; height: 200px; background: #000; color: #4ade80;
padding: 15px; font-family: monospace !important; border-radius: 10px;
margin-top: 15px; border: 3px solid var(--nav-bg);
}
#console-output {
background: #111; color: #fff; padding: 15px;
border-radius: 10px; margin-top: 10px; font-family: monospace !important;
}