From e8934da27be4c30a04cfdcc94081941cb30b4ef5 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 4 Feb 2017 16:38:34 +0100 Subject: [PATCH] carousel now take the text to choose his height --- Yavsc/Views/Home/Index.cshtml | 16 ++++++++++----- Yavsc/wwwroot/css/site.css | 37 +++++++++++++++++++++++++++++------ 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/Yavsc/Views/Home/Index.cshtml b/Yavsc/Views/Home/Index.cshtml index 7670fcad..a13186e1 100755 --- a/Yavsc/Views/Home/Index.cshtml +++ b/Yavsc/Views/Home/Index.cshtml @@ -22,19 +22,21 @@ i=0; foreach (var act in Model) { string cls = (i==0) ? "item active":"item"; -
- @act.Name - + +
+ +
diff --git a/Yavsc/wwwroot/css/site.css b/Yavsc/wwwroot/css/site.css index 8c3ee74f..bc539809 100755 --- a/Yavsc/wwwroot/css/site.css +++ b/Yavsc/wwwroot/css/site.css @@ -19,7 +19,7 @@ textarea { /* Carousel */ -.carousel-caption p { +.carousel-caption-s p { font-family: "jubilat"; font-weight: 600; font-size: large; @@ -33,6 +33,31 @@ textarea { padding:.5em; animation: mymove 3s infinite; } + +.carousel-caption-s { + right: 3em; + top: 1em; + left: 3em; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; + text-shadow: 0 2px 4px rgba(0, 0, 0, .6); +} +.carousel-caption-s .btn { + text-shadow: none; +} +.carousel-indicators { + position: absolute; + z-index: 15; + padding-left: 0; + text-align: center; + list-style: none; + top: .2em; + bottom: initial; +} + @-webkit-keyframes mymove { from {text-decoration-color: red;} 50% {text-decoration-color: blue;} @@ -54,10 +79,6 @@ ul.actiongroup li a:hover { color: red; } -input, select, textarea { - max-width: 100%; -} - footer { vertical-align: bottom; padding: 1.5em; @@ -108,4 +129,8 @@ footer { .blogphoto { float: left; margin: 1em; -} \ No newline at end of file +} + + + +