-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss_workflow.scss
66 lines (56 loc) · 1.08 KB
/
css_workflow.scss
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
// Variables
$primary-color: #3498db;
$secondary-color: #2ecc71;
$text-color: #333;
$font-stack: 'Helvetica Neue', sans-serif;
// Mixins
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
border-radius: $radius;
}
@mixin box-shadow($x, $y, $blur, $color) {
-webkit-box-shadow: $x $y $blur $color;
-moz-box-shadow: $x $y $blur $color;
box-shadow: $x $y $blur $color;
}
// Base Styles
body {
font-family: $font-stack;
color: $text-color;
margin: 0;
padding: 0;
}
// Header
.header {
background-color: $primary-color;
color: white;
padding: 20px;
@include border-radius(5px);
.logo {
font-size: 2em;
}
}
// Main Content
.main-content {
padding: 20px;
h1 {
color: $secondary-color;
}
.card {
background: white;
padding: 15px;
@include border-radius(10px);
@include box-shadow(0px, 4px, 6px, rgba(0, 0, 0, 0.1));
h2 {
margin-top: 0;
}
}
}
// Footer
.footer {
background-color: $primary-color;
color: white;
text-align: center;
padding: 10px;
}