Skip to content

Commit d09361d

Browse files
author
zzzprojects
committed
Revamp SCSS
Revamp SCSS
1 parent 3b72966 commit d09361d

File tree

16 files changed

+94
-101
lines changed

16 files changed

+94
-101
lines changed

docs/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
2222
/>
2323
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" />
24-
<link rel="stylesheet" type="text/css" href="{{ site.github.url }}/css/master.css?v=5">
24+
<link rel="stylesheet" type="text/css" href="{{ site.github.url }}/css/master.css?v=6">
2525
</head>
2626

2727
<body>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/_sass/_mixin.scss renamed to docs/_sass/mixin.scss

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
1-
$color-z: #c00;
2-
3-
$color-light: #fff;
4-
$color-dark: #000;
5-
6-
7-
$box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
8-
$box-shadow-dark: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
9-
$link-color: #c00;
10-
11-
$font-size-xl: 1.5rem;
12-
$font-size-lg: 1.25rem;
13-
$font-size-md: 1.125rem;
14-
$font-weight-light: 300;
15-
$margin-section: 60px;
16-
$padding-section: 60px;
17-
$margin-header-bottom: 20px;
18-
$margin-section-sm: 20px;
19-
$padding-md: 5px;
20-
21-
$font-size-home-h2: 3rem;
22-
$background-black-transparent: rgba(0, 0, 0, 0.7);
23-
$background-black-transparent-hover: rgba(0, 0, 0, 0.9);
24-
$border-dark: 1px solid #000;
25-
$box-shadow-dark: 10px 10px #333;
26-
$box-shadow-light: 10px 10px #999;
27-
$box-shadow-right: 10px 0 5px -2px #e8e8e8;
28-
$text-shadow-lg: 2px -1px rgba(0, 0, 0, 0.7);
29-
$text-shadow-xl: 2px -1px rgba(0, 0, 0, 0.7);
30-
$margin-bottom-header: 30px;
31-
321
@mixin background-toright-dark {
332
background: #222;
343
background: linear-gradient(to right, #333, #111);
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/_sass/section.scss renamed to docs/_sass/skeletons/article.scss

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
//
22
// section-nav
33
//
4-
.section-nav {
5-
@include background-toright-dark;
6-
7-
border-right: 3px solid $color-z;
8-
box-shadow: $box-shadow-right;
9-
padding: 0;
10-
11-
h3 {
12-
padding: 0 10px;
13-
}
14-
}
154

165
.section_trial {
176
color: #676565;
@@ -28,56 +17,10 @@
2817
font-size: 20px;
2918
}
3019
}
31-
32-
.section-nav .card {
33-
background: transparent;
34-
border: 0;
35-
color: #fff;
36-
}
37-
38-
.section-nav .card .card-body {
39-
padding-left: 0;
40-
padding-right: 0;
41-
}
42-
43-
.section-nav .card {
44-
ul {
45-
padding: 0;
46-
47-
li {
48-
padding: 5px 20px;
49-
50-
&:hover {
51-
background-color: $color-z;
52-
53-
a {
54-
color: white;
55-
}
56-
}
57-
58-
a {
59-
display: block;
60-
color: rgba(255, 255, 255, 0.5);
61-
62-
&.active {
63-
color: rgba(255, 255, 255, 1);
64-
font-weight: 700;
65-
}
66-
}
67-
}
68-
}
69-
}
70-
7120
//
7221
// section-aside
7322
//
74-
.section-aside {
75-
position: relative;
76-
}
7723

78-
.section-aside-inner {
79-
position: fixed;
80-
}
8124

8225
//
8326
//

0 commit comments

Comments
 (0)