MediaWiki: Tweeki.css
From Eccles Physiotherapy
(74 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
@font-face { | @font-face { | ||
− | font-family: ' | + | font-family: 'Agenda-Light'; |
− | src: | + | src: local('Agenda-Light'), url('https://www.ecclesphysio.com/fonts/agenda-light.woff') format('woff'); |
− | + | } | |
− | + | ||
− | + | @font-face { | |
− | + | font-family: 'Oswald-Regular'; | |
− | + | src: local('Oswald-Regular'), url('https://www.ecclesphysio.com/fonts/oswald-webfont.woff') format('woff'); | |
− | + | } | |
+ | |||
+ | .img-left-pad { | ||
+ | float: left; | ||
+ | padding-right: 15px; | ||
+ | padding-bottom: 15px; | ||
+ | } | ||
+ | |||
+ | #contentwrapper{ | ||
+ | min-height: 800px; | ||
+ | } | ||
+ | |||
+ | .header-img-title { | ||
+ | position: absolute; | ||
+ | bottom: 10px; | ||
+ | left: 5px; | ||
+ | background-color: rgba(255,255,240,0.8); | ||
+ | } | ||
+ | |||
+ | .header-img { | ||
+ | position: relative; | ||
+ | background-size: cover; | ||
+ | background-repeat: no-repeat; | ||
+ | width:100%; | ||
+ | height: 180px; | ||
+ | background-position: right top; | ||
+ | } | ||
+ | |||
+ | .contact-us { | ||
+ | background-image: url('/images/2/21/Contact2.jpg'); | ||
} | } | ||
+ | |||
+ | .sports-injuries { | ||
+ | background-image: url('/images/0/02/Sports-Injuries-emily.jpg'); | ||
+ | } | ||
+ | |||
+ | .home-visits { | ||
+ | background-image: url('/images/c/c6/Home_visits.jpg'); | ||
+ | } | ||
+ | |||
+ | .neurological { | ||
+ | background-image: url('/images/5/5f/Neuro.jpg'); | ||
+ | background-position: right center; | ||
+ | } | ||
+ | |||
+ | .pilates { | ||
+ | background-image: url('/images/d/d1/Pilates_big.png'); | ||
+ | } | ||
+ | |||
+ | .carousel-title { | ||
+ | color: #72a3d6; | ||
+ | text-align:left; | ||
+ | background: rgba(0,0,0,.7); | ||
+ | margin-top: auto; | ||
+ | margin-bottom: auto; | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | color: #12ac00; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | font-family: Agenda-Light; | ||
+ | font-size: 160%; | ||
+ | line-height: 160%; | ||
+ | } | ||
+ | |||
+ | .nav .dropdown-toggle { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | #ca-edit { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | |||
.emergency { | .emergency { | ||
− | border: 1px solid black; | + | border-top: 1px solid black; |
− | background: rgb(255, | + | border-bottom: 1px solid black; |
− | + | background: rgb(255,255,240) 50%; | |
− | margin: | + | margin-top: 7px; |
− | padding: 10px; | + | margin-bottom: 7px; |
+ | padding: 10px; | ||
} | } | ||
Line 26: | Line 101: | ||
.navbar-default { | .navbar-default { | ||
− | background-image: linear-gradient( | + | /* background: rgb(57,89,126); */ |
+ | /* background: rgb(255, 255, 240); */ | ||
+ | /* background-image: linear-gradient(0deg, rgb(232 232 232), rgb(199, 255, 196) 50%); */ | ||
+ | } | ||
+ | |||
+ | .dropdown-menu { | ||
+ | /* background: transparent; rgb(255, 255, 240); */ | ||
+ | } | ||
+ | |||
+ | .dropdown-menu .active a { | ||
+ | background: rgb(240, 240, 240) | ||
+ | } | ||
+ | |||
+ | .dropdown-menu li a, | ||
+ | .navbar-default .navbar-nav .open a, | ||
+ | .navbar-default .navbar-nav li a { | ||
+ | color: rgb(57,89,126); | ||
+ | font-size:110%; | ||
+ | background-color: transparent; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | .navbar-default .navbar-nav li:focus { | ||
+ | color: rgb(220,220,220); | ||
+ | background-image: none; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu li a:hover, | ||
+ | .navbar-default .navbar-nav li a:hover, | ||
+ | .navbar-default .navbar-nav li a:focus, | ||
+ | .navbar-default .navbar-nav .open a:focus, | ||
+ | .navbar-default .navbar-nav .open a:hover | ||
+ | { | ||
+ | color: rgb(78,140,201); | ||
+ | background-color: rgb(220,220,220); | ||
+ | background-image: none; | ||
+ | } | ||
+ | |||
+ | @media (min-width: 992px){ | ||
+ | .sidebar-wrapper { | ||
+ | position: absolute; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media (min-width: 535px){ | ||
+ | |||
+ | |||
+ | .carousel-title { | ||
+ | font-size: 24px; | ||
} | } | ||
− | |||
.navbar-brand { | .navbar-brand { | ||
height: 110px; | height: 110px; | ||
Line 51: | Line 173: | ||
} | } | ||
− | @media (max-width: | + | @media (max-width: 535px){ |
+ | |||
+ | .carousel-title { | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | |||
+ | |||
.navbar-brand { | .navbar-brand { | ||
− | height: | + | height: 90px; |
} | } | ||
.navbar-brand img { | .navbar-brand img { | ||
− | height: | + | height: 50px; |
} | } | ||
.with-navbar.with-navbar-fixed { | .with-navbar.with-navbar-fixed { | ||
− | padding-top: | + | padding-top: 110px; |
} | } | ||
.panel-body img { | .panel-body img { | ||
− | width: | + | width: 100px; |
− | height: | + | height: 70px; |
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
Line 72: | Line 200: | ||
} | } | ||
+ | @media (min-width: 992px) | ||
+ | .navbar-nav>li>a { | ||
+ | padding-left: 30px | ||
+ | padding-right: 30px | ||
+ | } | ||
Line 79: | Line 212: | ||
.navbar-nav { | .navbar-nav { | ||
− | + | font-size:160%; | |
} | } | ||
Line 90: | Line 223: | ||
.h-funky h1, h2, h3, h4 { | .h-funky h1, h2, h3, h4 { | ||
− | font-family: ' | + | font-family: 'Oswald-Regular'; |
− | color:# | + | color:#3c527f; |
} | } | ||
.news-bulletin { | .news-bulletin { | ||
− | border: 1px solid black; | + | /*border: 1px solid black; |
− | background- | + | border-radius: 5px;*/ |
− | width: | + | background-image: linear-gradient(to bottom,#fff 0,#f8f8f8 100%); |
+ | box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 5px rgba(0,0,0,0.075); | ||
+ | width: 90%; | ||
min-height: 200px; | min-height: 200px; | ||
padding: 10px; | padding: 10px; | ||
margin: 10px; | margin: 10px; | ||
} | } |
Latest revision as of 20:49, 24 November 2020
/* CSS placed here will affect users of the Tweeki skin */ @font-face { font-family: 'Agenda-Light'; src: local('Agenda-Light'), url('https://www.ecclesphysio.com/fonts/agenda-light.woff') format('woff'); } @font-face { font-family: 'Oswald-Regular'; src: local('Oswald-Regular'), url('https://www.ecclesphysio.com/fonts/oswald-webfont.woff') format('woff'); } .img-left-pad { float: left; padding-right: 15px; padding-bottom: 15px; } #contentwrapper{ min-height: 800px; } .header-img-title { position: absolute; bottom: 10px; left: 5px; background-color: rgba(255,255,240,0.8); } .header-img { position: relative; background-size: cover; background-repeat: no-repeat; width:100%; height: 180px; background-position: right top; } .contact-us { background-image: url('/images/2/21/Contact2.jpg'); } .sports-injuries { background-image: url('/images/0/02/Sports-Injuries-emily.jpg'); } .home-visits { background-image: url('/images/c/c6/Home_visits.jpg'); } .neurological { background-image: url('/images/5/5f/Neuro.jpg'); background-position: right center; } .pilates { background-image: url('/images/d/d1/Pilates_big.png'); } .carousel-title { color: #72a3d6; text-align:left; background: rgba(0,0,0,.7); margin-top: auto; margin-bottom: auto; } a { color: #12ac00; } body { font-family: Agenda-Light; font-size: 160%; line-height: 160%; } .nav .dropdown-toggle { display: inline-block; } #ca-edit { display: inline-block; } .emergency { border-top: 1px solid black; border-bottom: 1px solid black; background: rgb(255,255,240) 50%; margin-top: 7px; margin-bottom: 7px; padding: 10px; } .panel-body a { margin-left: auto; margin-right: auto; } .navbar-default { /* background: rgb(57,89,126); */ /* background: rgb(255, 255, 240); */ /* background-image: linear-gradient(0deg, rgb(232 232 232), rgb(199, 255, 196) 50%); */ } .dropdown-menu { /* background: transparent; rgb(255, 255, 240); */ } .dropdown-menu .active a { background: rgb(240, 240, 240) } .dropdown-menu li a, .navbar-default .navbar-nav .open a, .navbar-default .navbar-nav li a { color: rgb(57,89,126); font-size:110%; background-color: transparent; font-weight: normal; } .navbar-default .navbar-nav li:focus { color: rgb(220,220,220); background-image: none; } .dropdown-menu li a:hover, .navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus, .navbar-default .navbar-nav .open a:focus, .navbar-default .navbar-nav .open a:hover { color: rgb(78,140,201); background-color: rgb(220,220,220); background-image: none; } @media (min-width: 992px){ .sidebar-wrapper { position: absolute; } } @media (min-width: 535px){ .carousel-title { font-size: 24px; } .navbar-brand { height: 110px; } .panel-body img { width: 200px; height: 141px; margin-left: auto; margin-right: auto; } .navbar-brand img { height: 100px; } .with-navbar.with-navbar-fixed { padding-top: 120px; } } @media (max-width: 535px){ .carousel-title { font-size: 12px; } .navbar-brand { height: 90px; } .navbar-brand img { height: 50px; } .with-navbar.with-navbar-fixed { padding-top: 110px; } .panel-body img { width: 100px; height: 70px; margin-left: auto; margin-right: auto; } } @media (min-width: 992px) .navbar-nav>li>a { padding-left: 30px padding-right: 30px } #firstHeading { display: none; } .navbar-nav { font-size:160%; } @media (min-width: 992px){ .navbar-nav { padding-top: 60px; font-size: 16px; } } .h-funky h1, h2, h3, h4 { font-family: 'Oswald-Regular'; color:#3c527f; } .news-bulletin { /*border: 1px solid black; border-radius: 5px;*/ background-image: linear-gradient(to bottom,#fff 0,#f8f8f8 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 5px rgba(0,0,0,0.075); width: 90%; min-height: 200px; padding: 10px; margin: 10px; }