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

Commit27dbee6

Browse files
committed
Minor css/js fixes
1 parent195f52b commit27dbee6

File tree

3 files changed

+109
-108
lines changed

3 files changed

+109
-108
lines changed
Lines changed: 106 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,115 @@
11
@{
2-
ViewData["Title"]="Home Page";
2+
ViewData["Title"]="Home Page";
33
}
44

5-
<divid="myCarousel"class="carousel slide"data-ride="carousel"data-interval="6000">
6-
<olclass="carousel-indicators">
7-
<lidata-target="#myCarousel"data-slide-to="0"class="active"></li>
8-
<lidata-target="#myCarousel"data-slide-to="1"></li>
9-
<lidata-target="#myCarousel"data-slide-to="2"></li>
10-
<lidata-target="#myCarousel"data-slide-to="3"></li>
11-
</ol>
12-
<divclass="carousel-inner">
13-
<divclass="carousel-item active">
14-
<imgsrc="~/images/banner1.svg"alt="ASP.NET"class="img-responsive" />
15-
<divclass="carousel-caption"role="option">
16-
<p>
17-
Learn how to build ASP.NET apps that can run anywhere.
18-
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525028&clcid=0x409">
19-
Learn More
20-
</a>
21-
</p>
22-
</div>
23-
</div>
24-
<divclass="carousel-item">
25-
<imgsrc="~/images/banner2.svg"alt="Visual Studio"class="img-responsive" />
26-
<divclass="carousel-caption"role="option">
27-
<p>
28-
There are powerful new features in Visual Studio for building modern web apps.
29-
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525030&clcid=0x409">
30-
Learn More
31-
</a>
32-
</p>
33-
</div>
34-
</div>
35-
<divclass="carousel-item">
36-
<imgsrc="~/images/banner3.svg"alt="Package Management"class="img-responsive" />
37-
<divclass="carousel-caption"role="option">
38-
<p>
39-
Bring in libraries from NuGet and npm, and automate tasks using Grunt or Gulp.
40-
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525029&clcid=0x409">
41-
Learn More
42-
</a>
43-
</p>
44-
</div>
45-
</div>
46-
<divclass="carousel-item">
47-
<imgsrc="~/images/banner4.svg"alt="Microsoft Azure"class="img-responsive" />
48-
<divclass="carousel-caption"role="option">
49-
<p>
50-
Learn how Microsoft's Azure cloud platform allows you to build, deploy, and scale web apps.
51-
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525027&clcid=0x409">
52-
Learn More
53-
</a>
54-
</p>
55-
</div>
56-
</div>
57-
</div>
58-
<aclass="carousel-control-prev"href="#myCarousel"role="button"data-slide="prev">
59-
<spanclass="carousel-control-prev-icon"aria-hidden="true"></span>
60-
<spanclass="sr-only">Previous</span>
61-
</a>
62-
<aclass="carousel-control-next"href="#myCarousel"role="button"data-slide="next">
63-
<spanclass="carousel-control-next-icon"aria-hidden="true"></span>
64-
<spanclass="sr-only">Next</span>
65-
</a>
66-
</div>
5+
@section Styles{
6+
<style>
7+
h1,.h1,h2,.h2,h3,.h3 {
8+
margin-top:20px;
9+
margin-bottom:10px;
10+
}
11+
</style>
12+
}
6713

68-
<divclass="row">
69-
<divclass="col-md-3">
70-
<h2>Application uses</h2>
71-
<ul>
72-
<li>Sample pages using ASP.NET Core MVC</li>
73-
<li>Theming using <ahref="https://go.microsoft.com/fwlink/?LinkID=398939">Bootstrap</a></li>
74-
</ul>
14+
<divid="myCarousel"class="carousel slide"data-ride="carousel"data-interval="6000">
15+
<olclass="carousel-indicators">
16+
<lidata-target="#myCarousel"data-slide-to="0"class="active"></li>
17+
<lidata-target="#myCarousel"data-slide-to="1"></li>
18+
<lidata-target="#myCarousel"data-slide-to="2"></li>
19+
<lidata-target="#myCarousel"data-slide-to="3"></li>
20+
</ol>
21+
<divclass="carousel-inner">
22+
<divclass="carousel-item active">
23+
<imgsrc="~/images/banner1.svg"alt="ASP.NET"class="img-responsive" />
24+
<divclass="carousel-caption"role="option">
25+
<p>
26+
Learn how to build ASP.NET apps that can run anywhere.
27+
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525028&clcid=0x409">
28+
Learn More
29+
</a>
30+
</p>
31+
</div>
7532
</div>
76-
<divclass="col-md-3">
77-
<h2>How to</h2>
78-
<ul>
79-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=398600">Add a Controller and View</a></li>
80-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699315">Manage User Secrets using Secret Manager.</a></li>
81-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699316">Use logging to log a message.</a></li>
82-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699317">Add packages using NuGet.</a></li>
83-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699319">Target development, staging or production environment.</a></li>
84-
</ul>
33+
<divclass="carousel-item">
34+
<imgsrc="~/images/banner2.svg"alt="Visual Studio"class="img-responsive" />
35+
<divclass="carousel-caption"role="option">
36+
<p>
37+
There are powerful new features in Visual Studio for building modern web apps.
38+
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525030&clcid=0x409">
39+
Learn More
40+
</a>
41+
</p>
42+
</div>
8543
</div>
86-
<divclass="col-md-3">
87-
<h2>Overview</h2>
88-
<ul>
89-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=518008">Conceptual overview of what is ASP.NET Core</a></li>
90-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699320">Fundamentals of ASP.NET Core such as Startup and middleware.</a></li>
91-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=398602">Working with Data</a></li>
92-
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=398603">Security</a></li>
93-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699321">Client side development</a></li>
94-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699322">Develop on different platforms</a></li>
95-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699323">Read more on the documentation site</a></li>
96-
</ul>
44+
<divclass="carousel-item">
45+
<imgsrc="~/images/banner3.svg"alt="Package Management"class="img-responsive" />
46+
<divclass="carousel-caption"role="option">
47+
<p>
48+
Bring in libraries from NuGet and npm, and automate tasks using Grunt or Gulp.
49+
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525029&clcid=0x409">
50+
Learn More
51+
</a>
52+
</p>
53+
</div>
9754
</div>
98-
<divclass="col-md-3">
99-
<h2>Run&amp; Deploy</h2>
100-
<ul>
101-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=517851">Run your app</a></li>
102-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=517853">Run tools such as EF migrations and more</a></li>
103-
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=398609">Publish to Microsoft Azure Web Apps</a></li>
104-
</ul>
55+
<divclass="carousel-item">
56+
<imgsrc="~/images/banner4.svg"alt="Microsoft Azure"class="img-responsive" />
57+
<divclass="carousel-caption"role="option">
58+
<p>
59+
Learn how Microsoft's Azure cloud platform allows you to build, deploy, and scale web apps.
60+
<aclass="btn btn-default"href="https://go.microsoft.com/fwlink/?LinkID=525027&clcid=0x409">
61+
Learn More
62+
</a>
63+
</p>
64+
</div>
10565
</div>
66+
</div>
67+
<aclass="carousel-control-prev"href="#myCarousel"role="button"data-slide="prev">
68+
<spanclass="carousel-control-prev-icon"aria-hidden="true"></span>
69+
<spanclass="sr-only">Previous</span>
70+
</a>
71+
<aclass="carousel-control-next"href="#myCarousel"role="button"data-slide="next">
72+
<spanclass="carousel-control-next-icon"aria-hidden="true"></span>
73+
<spanclass="sr-only">Next</span>
74+
</a>
75+
</div>
76+
77+
<divclass="row">
78+
<divclass="col-md-3">
79+
<h2>Application uses</h2>
80+
<ul>
81+
<li>Sample pages using ASP.NET Core MVC</li>
82+
<li>Theming using <ahref="https://go.microsoft.com/fwlink/?LinkID=398939">Bootstrap</a></li>
83+
</ul>
84+
</div>
85+
<divclass="col-md-3">
86+
<h2>How to</h2>
87+
<ul>
88+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=398600">Add a Controller and View</a></li>
89+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699315">Manage User Secrets using Secret Manager.</a></li>
90+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699316">Use logging to log a message.</a></li>
91+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699317">Add packages using NuGet.</a></li>
92+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699319">Target development, staging or production environment.</a></li>
93+
</ul>
94+
</div>
95+
<divclass="col-md-3">
96+
<h2>Overview</h2>
97+
<ul>
98+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=518008">Conceptual overview of what is ASP.NET Core</a></li>
99+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=699320">Fundamentals of ASP.NET Core such as Startup and middleware.</a></li>
100+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=398602">Working with Data</a></li>
101+
<li><ahref="https://go.microsoft.com/fwlink/?LinkId=398603">Security</a></li>
102+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699321">Client side development</a></li>
103+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699322">Develop on different platforms</a></li>
104+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=699323">Read more on the documentation site</a></li>
105+
</ul>
106+
</div>
107+
<divclass="col-md-3">
108+
<h2>Run&amp; Deploy</h2>
109+
<ul>
110+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=517851">Run your app</a></li>
111+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=517853">Run tools such as EF migrations and more</a></li>
112+
<li><ahref="https://go.microsoft.com/fwlink/?LinkID=398609">Publish to Microsoft Azure Web Apps</a></li>
113+
</ul>
114+
</div>
106115
</div>

‎src/CoreUI.Mvc/Views/Shared/_Layout.cshtml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@
115115
</script>
116116
</environment>
117117

118-
<scriptsrc="~/lib/bootstrap/dist/js/bootstrap.min.js"></script>
119118
<scriptsrc="~/lib/popper.js/dist/umd/popper.min.js"></script>
119+
<scriptsrc="~/lib/bootstrap/dist/js/bootstrap.min.js"></script>
120120
<scriptsrc="~/lib/pace-progress/pace.min.js"></script>
121121
<scriptsrc="~/lib/perfect-scrollbar/dist/perfect-scrollbar.min.js"></script>
122122
<scriptsrc="~/lib/@@coreui/coreui/dist/js/coreui.min.js"></script>

‎src/CoreUI.Mvc/wwwroot/css/site.css‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
22
3-
/* Carousel */
4-
.carousel-captionp {
5-
font-size:20px;
6-
line-height:1.4;
7-
}
83
94
/* Make .svg files in the carousel display properly in older browsers */
105
.carousel-inner .itemimg[src$=".svg"] {
@@ -24,10 +19,7 @@
2419
}
2520
}
2621

27-
.container-fluid {
28-
padding-top:24px!important;
22+
.container-fluid> .animated{
23+
margin-top:24px!important;
2924
}
3025

31-
.breadcrumb {
32-
margin-bottom:0;
33-
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp