Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body, p, a {
- margin: 0;
- }
- body {
- background-image: url(%%harta%%);
- background-repeat: no-repeat;
- width: 100%;
- height: 200px;
- overflow: hidden;
- }
- a:not(:last-of-type) {
- position: absolute;
- width: 15px;
- height: 15px;
- overflow: hidden;
- font-size: 0;
- transform: scale(0.31);
- border-radius: 100%;
- box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.4);
- transition: transform 0.25s ease;
- }
- a:not(:last-of-type)::before {
- content: "";
- display: block;
- background: blue;
- width: 15px;
- height: 15px;
- opacity: 1;
- transition: opacity 0.25s ease;
- }
- body:hover a:not(:last-of-type)::before {
- opacity: 100;
- }
- body:hover a:not(:last-of-type){
- transform: scale(0.5);
- }
- body a:not(:last-of-type):hover{
- transform: scale(0.7);
- z-index: 1;
- }
- a:last-of-type {
- font-family: Robonto, Arial, Helvetica, sans-serif;
- transition: opacity 0.25s ease;
- opacity: 0;
- position: absolute;
- top: 180px;
- left: 2px;
- font-size: 11px;
- color: white;
- padding: 3px 5px;
- background: rgba(0,0,0,0.7);
- z-index: 2;
- border-radius: 2px;
- color: white;
- margin: 0px !important;
- text-decoration: none;
- }
- body:hover a:last-of-type {
- opacity: 1;
- }
- a[href="/r/bucuresti"] {
- top: 150px;
- left: 170px;
- }
- a[href="/r/cluj"] {
- top: 55px;
- left: 100px;
- }
- a[href="/r/timisoara"] {
- top: 100px;
- left: 25px;
- }
- a[href="/r/iasi"] {
- top: 40px;
- left: 210px;
- }
- a[href="/r/brasov"] {
- top: 105px;
- left: 150px;
- }
- a[href="/r/constanta"] {
- top: 160px;
- left: 240px;
- }
- a[href="/r/Oradea"] {
- top: 45px;
- left: 50px;
- }
- a[href="/r/albaiulia"] {
- top: 85px;
- left: 95px;
- }
- a[href="/r/Suceava"] {
- top: 20px;
- left: 170px;
- }
- a[href="/r/bacau"] {
- top: 70px;
- left: 195px;
- }
- a[href="/r/pitesti"] {
- top: 135px;
- left: 135px;
- }
- a[href="/r/arad"] {
- top: 75px;
- left: 35px;
- }
- a[href="/r/craiova"] {
- top: 160px;
- left: 95px;
- }
- a[href="/r/sibiu"] {
- top: 95px;
- left: 115px;
- }
- a[href="/r/Botosani"] {
- top: 15px;
- left: 185px;
- }
- a[href="/r/TarguMures"] {
- top: 65px;
- left: 125px;
- }
- a[href="/r/Caransebes"] {
- top: 115px;
- left: 55px;
- }
- a[href="/r/Ploiesti"] {
- top: 130px;
- left: 170px;
- }
- a[href="/r/Tulcea"] {
- top: 130px;
- left: 250px;
- }
- a[href="/r/Galati"] {
- top: 105px;
- left: 220px;
- }
- a[href="/r/Braila"] {
- top: 125px;
- left: 220px;
- }
- a[href="/r/baiamare"] {
- top: 20px;
- left: 100px;
- }
- a[href="/r/Buzau"] {
- top: 125px;
- left: 190px;
- }
- a[href="/r/satumare"] {
- top: 15px;
- left: 80px;
- }
- a[href="/r/piatraNeamt"]{
- top: 50px;
- left: 175px;
- }
Advertisement
Add Comment
Please, Sign In to add comment