Advertisement
Guest User

Untitled

a guest
Aug 21st, 2015
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. _Layout.cshtml:
  2.  
  3. @{
  4. Layout = null;
  5. }
  6.  
  7. <!DOCTYPE html>
  8. <html lang="en">
  9. <head>
  10. <title>Home</title>
  11. <meta charset="utf-8">
  12. <meta name="format-detection" content="telephone=no">
  13. <link rel="stylesheet" href=@Url.Content("~/Content/css/style.css")>
  14.  
  15. </head>
  16. <body>
  17. <div class="page">
  18. <!--
  19. ========================================================
  20. HEADER
  21. ========================================================
  22.  
  23.  
  24. -->
  25. <header>
  26. <div class="container">
  27. <div class="brand">
  28. <h1 class="brand_name"><a href="./">JAMIA-HAMM-00-</a></h1>
  29. <p class="brand_slogan">Institute</p>
  30. </div><a href="callto:#" class="fa-phone">000-00000</a>
  31. </div>
  32. <div id="stuck_container" class="stuck_container">
  33. <div class="container">
  34. <nav class="nav">
  35. <ul data-type="navbar" class="sf-menu">
  36. <li class="active">
  37. @Html.ActionLink("Home", "Index", new { controller = "Home" }, new { @class = "a" })
  38. </li>
  39. <li>
  40. <a href="#">
  41. Introduction
  42. <ul>
  43. <li>
  44. <a href="#">
  45. College
  46. <ul>
  47. <li>@Html.ActionLink("Darse Nizami Banat", "DarseNizamiBanat", new { controller = "College" }, new { @class = "a" })</li>
  48. <li>@Html.ActionLink("Darse Nizami Baneen", "DarseNizamiBaneen", new { controller = "College" }, new { @class = "a" })</li>
  49. <li>@Html.ActionLink("Hifz Banat", "HifzBanat", new { controller = "College" }, new { @class = "a" })</li>
  50. <li>@Html.ActionLink("Hifz Baneen", "HifzBaneen", new { controller = "College" }, new { @class = "a" })</li>
  51. </ul>
  52. </a>
  53. </li>
  54. <li>
  55. <a href="#">
  56. Departments
  57. <ul>
  58. <li></li>
  59. <li></li>
  60. <li></li>
  61. </ul>
  62. </a>
  63. </li>
  64. </ul>
  65. </a>
  66.  
  67. </li>
  68. <li>
  69. @Html.ActionLink("Online Darul Iftah", "DarulIftah", new { controller = "DarulIftah" }, new { @class = "a" })
  70. </li>
  71. <li>
  72. @Html.ActionLink("Maktabah Hamadia", "", "")
  73. </li>
  74. <li>
  75. @Html.ActionLink("Contact Us", "", "")
  76. </li>
  77. <li>
  78. @Html.ActionLink("News", "", "")
  79. </li>
  80. <li>
  81. @Html.ActionLink("History & Mission", "", "")
  82. </li>
  83. </ul>
  84. </nav>
  85. </div>
  86. </div>
  87. </header>
  88. <script src='@Url.Content("Content/js/jquery.js")' type="text/javascript"></script>
  89. <script src='@Url.Content("Content/js/script.js")' type="text/javascript"></script>
  90. </body>
  91. </html>
  92.  
  93. function include(scriptUrl) {
  94. document.write('<script src="' + scriptUrl + '"></script>');
  95. }
  96.  
  97. function isIE() {
  98. var myNav = navigator.userAgent.toLowerCase();
  99. return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false;
  100. };
  101.  
  102. /* cookie.JS
  103. ========================================================*/
  104. include('js/jquery.cookie.js');
  105.  
  106. /* Easing library
  107. ========================================================*/
  108. include('js/jquery.easing.1.3.js');
  109.  
  110.  
  111.  
  112. ///* Superfish menus
  113. // ========================================================*/
  114. ;
  115. (function ($) {
  116. include('js/superfish.js');
  117. })(jQuery);
  118.  
  119. /* Navbar
  120. ========================================================*/
  121. ;
  122. (function ($) {
  123. include('js/jquery.rd-navbar.js');
  124. })(jQuery);
  125.  
  126. @charset "UTF-8";
  127. @import url(animate.css);
  128. @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
  129. @import url(//fonts.googleapis.com/css?family=Roboto:400,500,700);
  130.  
  131. /*======================== Menu ==========================*/
  132. .sf-menu {
  133. display: inline-block;
  134. }
  135. .sf-menu:before, .sf-menu:after {
  136. display: table;
  137. content: "";
  138. line-height: 0;
  139. }
  140. .sf-menu:after {
  141. clear: both;
  142. }
  143. .sf-menu > li {
  144. position: relative;
  145. float: left;
  146. }
  147. .sf-menu a {
  148. display: block;
  149. }
  150.  
  151. .sf-menu > li > a {
  152. padding: 22px 25px;
  153. color: #fff;
  154. font-size: 12px;
  155. line-height: 1;
  156. font-weight: 500;
  157. text-transform: uppercase;
  158. border-right: 1px solid #56585a;
  159. }
  160. .sf-menu > li.sfHover > a, .sf-menu > li > a:hover {
  161. color: #fff;
  162. background: #5ab7de;
  163. border-right: 1px solid #4bb0db;
  164. }
  165. .sf-menu > li.active > a {
  166. color: #fff;
  167. background: #5ab7de;
  168. border-right: 1px solid #4bb0db;
  169. }
  170.  
  171. .sf-menu ul {
  172. display: none;
  173. position: absolute;
  174. top: 100%;
  175. width: 235px;
  176. background: #f5f5f5;
  177. z-index: 2;
  178. -moz-box-sizing: border-box;
  179. -webkit-box-sizing: border-box;
  180. box-sizing: border-box;
  181. }
  182.  
  183. .sf-menu ul > li {
  184. position: relative;
  185. }
  186. .sf-menu ul > li > a {
  187. font-size: 16px;
  188. padding: 11px 31px;
  189. color: #62bfe6;
  190. background: #f5f5f5;
  191. }
  192. .sf-menu ul > li + li {
  193. border-top: 1px solid #e5e5e5;
  194. }
  195. .sf-menu ul > li.sfHover > a, .sf-menu ul > li > a:hover {
  196. color: #777777;
  197. }
  198.  
  199. .sf-menu ul ul {
  200. position: absolute;
  201. top: 0;
  202. left: 100%;
  203. width: 235px;
  204. margin-top: 0;
  205. margin-left: 10px;
  206. padding: 0;
  207. z-index: 4;
  208. }
  209.  
  210. .sf-menu > li > ul > li > .sf-with-ul {
  211. position: relative;
  212. }
  213. .sf-menu > li > ul > li > .sf-with-ul:before {
  214. position: absolute;
  215. right: 19px;
  216. top: 0;
  217. margin-left: -6px;
  218. content: "";
  219. font: 400 16px/50px "FontAwesome";
  220. color: #62bfe6;
  221. }
  222.  
  223. @media (max-width: 767px) {
  224. .sf-menu {
  225. display: none;
  226. }
  227. }
  228.  
  229. /*================== Stuck menu ======================*/
  230. .stuck_container {
  231. margin-top: 22px;
  232. background: #434547;
  233. }
  234.  
  235. .isStuck {
  236. margin-top: 0;
  237. z-index: 9999;
  238. border-bottom: 1px solid #888;
  239. }
  240.  
  241. @media only screen and (max-width: 979px) {
  242. .isStuck {
  243. display: none !important;
  244. }
  245. }
  246.  
  247. @media only screen and (max-width: 1399px) {
  248. .toTop {
  249. display: none !important;
  250. }
  251. }
  252. .primary {
  253. color: #62bfe6;
  254. }
  255.  
  256. /*========================================================
  257. HEADER Section
  258. =========================================================*/
  259. header {
  260. padding-top: 24px;
  261. background: #fff;
  262. }
  263. header .brand {
  264. float: left;
  265. }
  266. header a[href^="callto:"],
  267. header .container > p {
  268. clear: right;
  269. float: right;
  270. }
  271. header a[href^="callto:"] {
  272. margin-top: 7px;
  273. position: relative;
  274. font-size: 24px;
  275. color: #777777;
  276. }
  277. header a[href^="callto:"]:before {
  278. position: absolute;
  279. top: -4px;
  280. left: -44px;
  281. font-size: 34px;
  282. color: #6bc7ed;
  283. }
  284. header a[href^="callto:"]:hover {
  285. color: map;
  286. }
  287. header a[href^="callto:"] + p {
  288. margin-top: 7px;
  289. }
  290. @media (max-width: 979px) {
  291. header {
  292. text-align: center;
  293. }
  294. header .brand, header a[href^="callto:"], header .container > p {
  295. float: none;
  296. }
  297. header .brand {
  298. display: block;
  299. }
  300. header .brand_slogan {
  301. padding-left: 0;
  302. }
  303. header a[href^="callto:"] {
  304. display: inline-block;
  305. margin-top: 20px;
  306. }
  307. }
  308. @media (max-width: 767px) {
  309. header {
  310. text-align: center;
  311. }
  312. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement