-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (68 loc) · 1.41 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
@charset "UTF-8";
/* SCSS Examples
Installed SASS using this guide:
https://replit.com/talk/learn/How-To-Use-SASSSCSS-In-REPLIT/129414
1. go to https://github.com/sass/dart-sass/releases and download dart-sass-1.32.8-linux-ia32.tar.gz
2. upload it to your REPL
3. in the shell type tar xvzf dart-sass-1.32.8-linux-ia32.tar.gz
4. type export PATH=“./dart-sass:$PATH”
5. now you can use sass with the sass command!
To compile SCSS files (in 'Shell' tab):
sass style.scss style.css
To watch and compile automatically(in 'Shell' tab):
sass --watch style.scss:style.css
*/
html,
body,
ul,
ol {
margin: 0;
padding: 0;
}
body {
font-family: Helvetica, sans-serif;
font-size: 18px;
color: red;
width: 100%;
}
#container {
width: 680px;
}
/* example of Nesting */
nav ul {
margin: 0;
padding: 0;
list-style: none;
}
nav li {
display: inline-block;
}
nav a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
/* mixin example */
.danger {
color: red;
font-size: 25px;
font-weight: bold;
border: 1px solid blue;
background-color: green;
}
/*extend Example-Inheritance!*/
.button-basic, .button-submit, .button-report {
border: none;
padding: 15px 30px;
text-align: center;
font-size: 16px;
cursor: pointer;
background-color: purple;
}
.button-report {
background-color: red;
}
.button-submit {
background-color: green;
color: white;
}/*# sourceMappingURL=style.css.map */