Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cc2113

Browse files
committed
Upgrade packages
Improve design
1 parent7069605 commit2cc2113

File tree

5 files changed

+23
-14
lines changed

5 files changed

+23
-14
lines changed

‎package.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
"build:style-coder":"sass src/scss/coder.scss:static/compiled/coder.css --style compressed",
1616
"build:style-main":"sass src/scss/style.scss:static/compiled/style.css --style compressed",
1717
"watch:scripts":"nodemon -e js -w src/js -x 'npm run build:scripts'",
18-
"watch:style-coder":"nodemon -ecss -w src/scss -x 'npm run build:style-coder'",
19-
"watch:style-main":"nodemon -ecss -w src/scss -x 'npm run build:style-main'",
18+
"watch:style-coder":"nodemon -escss -w src/scss/coder.scss -x 'npm run build:style-coder'",
19+
"watch:style-main":"nodemon -escss -w src/scss -x 'npm run build:style-main'",
2020
"build":"run-p build:*",
2121
"watch":"run-p watch:*"
2222
},
2323
"license":"MIT",
2424
"devDependencies": {
25-
"@babel/cli":"^7.17.10",
26-
"@babel/core":"^7.18.5",
27-
"@babel/preset-env":"^7.18.2",
28-
"babel-loader":"^8.2.5",
29-
"nodemon":"^2.0.16",
25+
"@babel/cli":"^7.22.10",
26+
"@babel/core":"^7.22.11",
27+
"@babel/preset-env":"^7.22.10",
28+
"babel-loader":"^9.1.3",
29+
"nodemon":"^3.0.1",
3030
"npm-run-all":"^4.1.5",
31-
"sass":"^1.52.3"
31+
"sass":"^1.66.1"
3232
},
3333
"dependencies": {
3434
"@getbase/base":"^5.2.0"

‎src/scss/coder.scss‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
color:$color1;
77
font-size:.8em;
88
text-align:center;
9-
width:12em;
9+
flex:119em;
1010
}
1111

1212
.box-stath4 {
@@ -17,6 +17,9 @@
1717
.boxes {
1818
background-color:$color3;
1919
padding:1em0;
20+
display:flex;
21+
flex-wrap:wrap;
22+
max-width:100%;
2023
}
2124

2225
.boxes.box-stat:not(:last-child) {
@@ -56,11 +59,14 @@
5659
fill:rgb(128,177,211)
5760
}
5861

59-
.meta {
60-
background-color:$color4;
62+
// tabs
63+
.button {
64+
border-width:1px1px01px;
65+
border-style:ridge;
66+
border-color:$color5;
67+
padding:1em;
6168
}
6269

63-
// tabs
6470
.button.active {
6571
background-color:$color3;
6672
}

‎src/scss/nav.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ nav .button {
1717
margin:.2rem00.2rem;
1818
padding:.4rem1rem;
1919
display:inline;
20+
border-radius:.3em;
2021
}

‎src/scss/style.scss‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
$base-font-family: Roboto,Helvetica,sans-serif;
2-
$base-font-size:17;
2+
$base-font-size:18px;
3+
$base-line-height:26px;
34
$base-heading-font-family:ArialBlack;
45
$base-link-color:#0000ee;
56
$base-link-hover-color:#0000ff;
7+
$grid-gutter:0px;
68

79
/* Import Base*/
810
@import"../../node_modules/@getbase/base/scss/_mixins";

‎templates/coder/boxes.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% raw %}
2-
<divclass="flex flex-wrapboxes">
2+
<divclass="boxes">
33
<divclass="box-stat"title="The number of loaded repositories this user has pushed to.">
44
<iclass="fa fa-code"aria-hidden="true"></i> Pushed to repos
55
<h4>{{ repos_pushed.length }}</h4>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp